Techno Point

April 8, 2008

Connecting to your windows ad-hoc wireless network With Linux

Filed under: Linux — rakeshinx @ 4:14 pm
Tags: , , ,

Do an iwlist to get all the info about your ad hoc network. In another console window, do this with your own information. You don’t need the quotes.
Code:

iwconfig “eth1″ essid “potato” mode “ad-hoc” channel “9″ key “s:12347″ ap any

The s: in the key is for ancii, if you use a hex key you won’t need that if you don’t use encryption at all you won’t need the key section at all. After you have that set up correctly do this.
Code:

ifconfig eth1 up

dhclient eth1

That should get your computer connected. It worked for me when nothing else would.

Blog at WordPress.com.