AndrzejL

Wlan.sh

Mar 12th, 2011
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ifconfig eth0 down&&
  2. #ifconfig wmaster0 down&&
  3. ifconfig wlan0 up&&
  4. #iwlist scan&&
  5. iwconfig wlan0 essid I_WILL_SUE&&
  6. iwconfig wlan0 key 112233445566778899aabbccdd&&
  7. iwconfig wlan0 ap 00:18:39:A0:DB:3E&&
  8. ifconfig wlan0 192.168.0.100 netmask 255.255.255.0&&
  9. echo nameserver 192.168.0.1 > /etc/resolv.conf&&
  10. route add default gw 192.168.0.1 wlan0
Advertisement
Add Comment
Please, Sign In to add comment