參考:
http://smalldd.pixnet.net/blog/post/18217358-ubuntu-8.04-%E4%BD%BF%E7%94%A8-command-line-%E9%80%A3%E4%B8%8A-wpa2%E5%8A%A0%E5%AF%86-%E7%9A%84-%E7%84%A1%E7%B7%9A
http://chinghanyu.twbbs.org/redmine/projects/open-duckbox-project-on-sh4-platform/wiki
手動掛載模組
modprobe /lib/modules/2.6.32.61_stm24_0215/kernel/drivers/net/wireles
s/rtl871x/8192cu.ko
新增設定檔
開機自動執行
cd /etc/init.d
vi rcS
修改
echo "Initializing network interface..."
modprobe /lib/modules/2.6.32.61_stm24_0215/kernel/drivers/net/wireless/rtl871x/8
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
ifconfig eth0 up
ifdown wlan0
ifup wlan0
http://smalldd.pixnet.net/blog/post/18217358-ubuntu-8.04-%E4%BD%BF%E7%94%A8-command-line-%E9%80%A3%E4%B8%8A-wpa2%E5%8A%A0%E5%AF%86-%E7%9A%84-%E7%84%A1%E7%B7%9A
http://chinghanyu.twbbs.org/redmine/projects/open-duckbox-project-on-sh4-platform/wiki
手動掛載模組
modprobe /lib/modules/2.6.32.61_stm24_0215/kernel/drivers/net/wireles
s/rtl871x/8192cu.ko
新增設定檔
vi /etc/wpa_supplicant.conf
檔案內容
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
ssid="名稱"
psk="密碼"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
auth_alg=OPEN
}
啟動設定檔
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
啟動網路介面
ifup wlan0
開機自動執行
cd /etc/init.d
vi rcS
修改
echo "Initializing network interface..."
modprobe /lib/modules/2.6.32.61_stm24_0215/kernel/drivers/net/wireless/rtl871x/8
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
ifconfig eth0 up
ifdown wlan0
ifup wlan0
留言
張貼留言