How to start IBSS on Linux
I have two Linux stations.
I type the following command on one station.
1. ifconfig wlan0 down
2. iwconfig wlan0 mode Ad-Hoc
3. iwconfig wlan0 channel 1
4. iwconfig wlan0 essid "myAdhoc"
Then I can capture beacon frames sent by this station.
So, how let the second station connect to "myAdhoc"? Thanks.
By the way, how to set authentication mode and encryption cipher?
I use the following command, it seems NOT OK.
iwpriv wlan0 set AuthMode=WPA2PSK
iwpriv wlan0 set Encrypt=AES
Is there anyone who can give me some advice?
Thank you very much.
[解决办法]
两个LINUX设备?