15 January, 2013

...connect to a Wireless Network from Terminal...

How do I connect to a Wireless Network from Terminal-only?


View available wireless networks:
Code:
iwlist  scan
(Replacing with your wireless interface [for example mine is eth2)
If you don't get any networks listed:

Code:
ifconfig  up
To turn on your wireless interface.
If your wireless network is WPA encrypted:

Code:
iwconfig  essid  key s:
(Note: I use "s:" so that I can enter my key in ASCII form e.g. "Kll4Wx"
If your network isn't secured:

Code:
iwconfig  essid 
I hope this helps, if you want more help just let me know!

No comments: