Sunday 4 November 2007

command-line activate wireless

1.
ndiswrapper -i XXXXX
ndiswrapper -ma
modprobe ndiswrapper
2.
iwconfig
3.
iwlist wlan0 scan
4.
sudo iwconfig wlan0 essid XXXXXXXXXX
sudo iwconfig wlan0 key XXXXXXXXXXX(for normal wep:64bit,open mode security, otherwise s:XXXXX for ansi code)
dhclient [wlan0] (to activate the wireless card)

5.
ifconfig (to check whether get the IP properly or not)
ping somewhere to test
P.S. Note: the networkmanager looks do not change at all. Because it did nothing, and not reflect the status of the network.

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter