I want to bridge a Mesh Point configured via wpa_supplicant, so I do the same
like bridging an Access Point configured via hostapd:
brctl addbr br0
brctl addif br0 eth0
ifconfig eth0 down
ifconfig eth0 0.0.0.0 up
ifconfig br0 up
ifconfig wlan0 down
/usr/sbin/iw dev wlan0 set type mp
ifconfig wlan0 0.0.0.0 up
brctl addif br0 wlan0
wpa_supplicant -i wlan0 -D nl80211 -c
/root/wpa_supplicant_mesh.conf -b br0 –dddd
And here is my wpa_supplicant_mesh.conf:
eapol_version=1
ap_scan=2
network={
ssid="LG-mesh2_4"
mode=5
frequency=2437
key_mgmt=SAE
psk="secretPSK"
}
When I start this setup wpa_supplicant is not able to start, I think this is
because I set the type of wlan0 to mp and bridge it to br0.
wpa_supplicant wants to set the interface to the station-mode (I don’t know
why) and I think this is not possible if the wlan0 interface is bridged.
Here is the log of wpa_supplicant:
wpa_supplicant v2.4
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/root/wpa_supplicant_mesh.conf' driver
'nl80211' ctrl_interface 'N/A' bridge 'br0'
Configuration file '/root/wpa_supplicant_mesh.conf' ->
'/root/wpa_supplicant_mesh.conf'
Reading configuration file '/root/wpa_supplicant_mesh.conf'
eapol_version=1
ap_scan=2
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=10):
4c 47 2d 6d 65 73 68 32 5f 34 LG-mesh2_4
mode=5 (0x5)
frequency=2437 (0x985)
key_mgmt: 0x400
PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='LG-mesh2_4'
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Interface mode change to 2 from 0 failed
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6
(IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy)
nl80211: Delaying mode set while interface going down
nl80211: Interface mode change to 2 from 0 failed
wlan0: Failed to initialize driver interface
Failed to add interface wlan0
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Thanks you,
Lukas Göstl
Don't think that we have this limitation using wpa_supplicant.
What's problem you are facing?
Chun-Yeow
Hi!
I successfully build up a secure mesh network (Mesh Portal bridged to Ethernet
and several Mesh Points) with authsae.
Now because wpa_supplicant 2.4 also supports Mesh, I wanted to test it. The
secure connection between Mesh Points
is possible, however a Mesh Portal bridged to Ethernet is not possible.
Has anyone experience with wpa_supplicant and a Mesh Point bridged to Ethernet?
Thanks,
Lukas Göstl
_______________________________________________
Devel mailing list
[email protected]<mailto:[email protected]>
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel