The following steps are needed for setting up a wifi connection in ad-hoc mode:
- (# iwconfig wlan0 key aaccbbdd09) only if a WEP password is used
- # iwconfig wlan0 essid mynet
- # iwconfig wlan0 mode ad-hoc
- # ifconfig wlan0 up
- # ifconfig wlan0 192.168.100.x
The above instructions have to be executed on each computer which joins the ad-hoc network.