Changes between Version 27 and Version 28 of wireless/wifi
- Timestamp:
- 05/17/2018 10:32:08 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wireless/wifi
v27 v28 1008 1008 When using adhoc mode, you do not need hostapd or wpa_supplicant and the iw tool can be used to join/leave adhoc network: 1009 1009 {{{ 1010 iw phy phy0 interface add wlan0 type ibss # create an interface on phy0 called wlan0 configured for adhoc mode1010 iw dev wlan0 set type ibss # change an existing wlan0 device to ibss mode (if must be down) 1011 1011 iw dev wlan0 ibss join myssid 5180 # join the 'myssid' network, on 5180MHz (20MHz) and rely on IBSS discovery and merging 1012 1012 iw dev wlan0 ibss leave # leave the adhoc network … … 1015 1015 Some other useful commands for adhoc nodes: 1016 1016 {{{ 1017 iw dev wlan0 set type ibss # change an existing wlan0 device to ibss mode (if must be down)1017 iw phy phy0 interface add wlan1 type ibss # create an interface on phy0 called wlan1 configured for adhoc mode 1018 1018 iw dev wlan0 ibss join myssid 5180 0a:0b:0c:0d:0e:0f # join the 'myssid' network, on 5180MHz (20MHz) with fixed bssid 1019 1019 iw 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