Code Sample |
modprobe ndiswrapper sleep 2 sudo iwconfig essid XXXX key open XXXX sudo ifconfig wlan0 XXXX netmask XXXX broadcast XXXX up sleep 2 sudo route add default gw XXXX |
Code Sample |
auto lo wlan0 iface lo init loopback iface wlan0 inet static address 192.168.1.3 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 <----my router, yours may be different wireless-key XXXXXX open <----it defaults to "Restricted security", which is the same as "Shared". I happen to use "Open". wireless-essid XXXXXX |
Code Sample |
ifup wlan0 |
Code Sample |
auto lo wlan0 iface lo init loopback iface wlan0 inet static pre-up modprobe ndsiwrapper <----added these two lines pre-up sleep 4 address 192.168.1.3 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 <----my router, yours may be different wireless-key XXXXXX open <----it defaults to "Restricted security" normally, which is the same as "Shared". I happen to use "Open". wireless-essid XXXXXX |
Code Sample |
ln -s /etc/init.d/networking S20networking |