How to configure an Ad-Hoc wifi connection

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s