Looking on the net I get from connect two laptops using wifi:
http://ubuntuforums.org/showthread.php?t=205501
from ad-hoc wifi command :
http://ubuntuforums.org/showthread.php?t=188482
Here is what I did using Ad-Hoc key s:****************** (the *** are nos ascii code but letters) :
Code: Select all
bash-4.1# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:"Cherrier"
Mode:Managed Frequency:2.462 GHz Access Point: E0:91:F5:A0:AC:B1
Bit Rate=12 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=33/70 Signal level=-77 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:6 Invalid misc:1414 Missed beacon:0
bash-4.1# iwconfig wlan0 essid francois mode Ad-Hoc key s:******************
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
bash-4.1#
Thanks.