kernel[2.6.23] config: ---------------------------------------------------------------------------- Networking ---> <*> Generic IEEE 802.11 Networking Stack [*] Enable full debugging output <*> IEEE 802.11 WEP encryption (802.1x) <*> IEEE 802.11i CCMP support <*> IEEE 802.11i TKIP encryption <M> Software MAC add-on to the IEEE 802.11 networking stack
Device Drivers ---> Networking Device Support ---> Wireless LAN (non-hamradio) ---> <M> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) [*] Support downloading firmware images with Host AP driver [*] Support for non-volatile firmware download <M> Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors <M> Host AP driver for Prism2.5 PCI adaptors <M> Broadcom BCM43xx wireless support [*] Broadcom BCM43xx debugging (RECOMMENDED) BCM43xx data transfer mode (DMA + PIO) --->
Cryptographic options --> [*] Cryptographic API <*> AES cipher algorithms <*> ARC4 cipher algorithm <*> Michael MIC keyed digest algorithm <*> CRC32c CRC algorithm ----------------------------------------------------------------------------
#start network at boot: rc-update add net.eth1 default
#to shut down the default Ethernet.我直接放到gnome桌面的启动命令里了 #重要,否则无线网卡正常启动了,但拔下网线后,还会通过原来的网卡上网,也就上不了网 ifconfig eth0 down
配置文件/etc/conf.d/net: #/etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( "192.168.1.28/24" ) routes_eth0=( "default via 192.168.1.1" ) #modules=( "wpa_supplicant" ) #wpa_supplicant_eth1="-Dmadwifi" modules=( "iwconfig" ) key_ShangHaiTide="[1] s:dachaogps key [1] enc open" preferred_aps=( "ShangHaiTide" )