PDA

View Full Version : [all variants] Connect To Unprotected HotSpot Using Only Command Line



nythacker
March 4th, 2009, 05:18 PM
Hi,

Can anybody show me how to search and connect to an unprotected/open wifi hotspot (e.g. Internet Cafe, hotels, airports, etc.) using only the command line?

Any help would be greatly appreciated. Thanks!

nythacker
April 18th, 2009, 06:37 PM
Anyone... please???

prshah
April 18th, 2009, 09:31 PM
Can anybody show me how to search and connect to an unprotected/open wifi hotspot (e.g. Internet Cafe, hotels, airports, etc.) using only the command line?



sudo iwlist wlan0 scanGive the list of Access Points and Ad-Hoc cells in range,


sudo iwconfig wlan0 essid "ACCESSPOINT" to connect to "ACCESSPOINT"

..and, since these _usually_ use dhcp
sudo dhclient wlan0 If all these three work without errors, you should now be connected.

Replace wlan0 with the actual name for your wireless interface.

Use responsibly.

nythacker
April 19th, 2009, 05:56 AM
Thank you so much, prshah! You just made my day...