Changes between Version 27 and Version 28 of wireless/wifi


Ignore:
Timestamp:
05/17/2018 03:32:08 PM (3 months ago)
Author:
Cale Collins
Comment:

fixed IBSS (adhoc) example to better reflect real world usage scenario.

Legend:

Unmodified
Added
Removed
Modified
  • wireless/wifi

    v27 v28  
    10081008When using adhoc mode, you do not need hostapd or wpa_supplicant and the iw tool can be used to join/leave adhoc network:
    10091009{{{
    1010 iw phy phy0 interface add wlan0 type ibss # create an interface on phy0 called wlan0 configured for adhoc mode
     1010iw dev wlan0 set type ibss # change an existing wlan0 device to ibss mode (if must be down)
    10111011iw dev wlan0 ibss join myssid 5180 # join the 'myssid' network, on 5180MHz (20MHz) and rely on IBSS discovery and merging
    10121012iw dev wlan0 ibss leave # leave the adhoc network
     
    10151015Some other useful commands for adhoc nodes:
    10161016{{{
    1017 iw dev wlan0 set type ibss # change an existing wlan0 device to ibss mode (if must be down)
     1017iw phy phy0 interface add wlan1 type ibss # create an interface on phy0 called wlan1 configured for adhoc mode
    10181018iw dev wlan0 ibss join myssid 5180 0a:0b:0c:0d:0e:0f # join the 'myssid' network, on 5180MHz (20MHz) with fixed bssid
    10191019iw dev wlan0 ibss join myssid 5180 HT40- 0a:0b:0c:0d:0e:0f # join the 'myssid' network, on 5180MHz (40MHz using 5180 and the ch below) with fixed bssid