*********************************************************
主机开发环境:Centos6.5
交叉编译器:arm-linux-gcc
Linux内核版本:Linux-3.0
开发平台:FL2440开发板
作者:ZhengNice<shizhengzhu@126.com>
*********************************************************
开发说明:基于RT3070网卡实现softAP模式是在FL2440开发板已经成功移植Linux-3.0内核并且已经做好可读写ubifs文件系统的基础上,另外在进行此次开发之前开发板已经成功移植DM9000网卡和USB驱动的移植,这个可以参考的我之前的博客进行。另外感谢http://blog.csdn.net/u010944778/article/details/46969437和http://blog.csdn.net/hulu_arm/article/details/50739433两篇博客为本次开发提供的宝贵经验。
一、linux内核配置支持无线网卡softAP模式
[*] Networking support --->
Networking options --->
[*] Network packet filtering framework (Netfilter) ---> //主要的配置都在这里
[ ] Network packet filtering debugging
[*] Advanced netfilter configuration
[*] Bridged IP/ARP packets filtering
Core Netfilter Configuration ---> //出了下面列出的其他全选
< > Transparent proxying support (EXPERIMENTAL)
< > set target and match support
< > CHECKSUM target support
< > "CT" target support
< > "DSCP" and "TOS" target support
< > "NOTRACK" target support
< > "TCPOPTSTRIP" target support (EXPERIMENTAL)
< > "dscp" and "tos" match support
< > "ipvs" match support
<*> IP set support --->
(256) Maximum number of IP sets
<*> bitmap:ip set support
<*> bitmap:ip,mac set support
<*> bitmap:port set support
<*> list:set set support
<*> IP virtual server support --->