MadWifi 'First Time User' HOWTO
http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo
How to build the ad-hoc network:
https://help.ubuntu.com/community/WifiDocs/Adhoc
https://help.ubuntu.com/community/WifiDocs/Driver/Madwifi
Specifically, for Atheros card, the restricted Madwifi driver supports adhoc mode through the creation of a new VAP.
1. remove the ath_pci module with modprobe
$ sudo modprobe -r ath_pci
2. Now re-insert the module with the option of creating it in ad-hoc mode:
$ sudo modprobe ath_pci autocreate=adhoc
3. then, build a ad-hoc network by assigning the different IP addresses for different host computer:
$ sudo iwconfig eth0 essid 'NAMEofAdhoc'
for example, for the first computer,
$ sudo ifconfig eth0 169.254.114.102 netmask 255.255.0.0
for the second computer,
$ sudo ifconfig eth0 169.254.114.103 netmask 255.255.0.0
Using the following command to change the frequency:
$ sudo iwconfig eth0 freq 2.462G
没有评论:
发表评论