WPA:
加载驱动设置IP地址:
insmod rt3090sta.ko;ifconfig ra0 192.168.1.11 netmask 255.255.255.0 up
搜索热点:
iwlist ra0 scanning //重点看下
生成账号密码文件:
//./wpa_passphrase WIFI503 57575777 >> wpa_supplicant.conf
./wpa_passphrase BigNoise 57575777 >> wpa_supplicant.conf
拨号:
//./wpa_supplicant -B -i ra0 -c wpa_supplicant.conf
./wpa_supplicant -B -i ra0 -c /etc/network/wpa_supplicant.conf
设置网关路由:
route del default; route add default gw 192.168.1.1
WEP:
加载驱动:
insmod /drivers/rt3090sta.ko
设置IP地址:
ifconfig ra0 192.168.1.10 netmask 255.255.255.0 up
拨号:
ASCII型:
iwconfig ra0 essid "WIFI503" key s:abcde restricted
十六进制型:
iwconfig ra0 essid "WIFI503" key abcde restricted
设置网关路由:
route del default; route add default gw 192.168.1.1
阅读(2812) | 评论(0) | 转发(0) |