Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Using Ad-Hoc Mode

New Code

Follow the instructions on UserDocs/AdHocInterface before proceeding with the instructions below.

Old Code

(optional) This iwpriv command locks the NIC in the 802.11g-only mode

iwpriv ath0 mode 3

Set the type of network to ad-hoc

iwconfig ath0 mode ad-hoc

Common Instructions

After you have your ad-hoc interface, set it up as normal:

Set the ESSID for the cell you want to connect to.

iwconfig ath0 essid yournetworkidhere

(optional) Set the network WEP key... Consult the iwconfig manpages to see other ways of setting a key. Here it is done using a string.

iwconfig ath0 key s:yourkeyhere

Set up your network using a static ip address.

ifconfig ath0