wpa-none through openwrt config
Hello,
I'm trying to get wpa-none happy on my bullet m5's running batman-adv (aa-rc1 with batman-adv 2012.3.0). I can make it work by running wpa_supplicant manually with the correct options but am interested in having it work through the uci config files. Is this possible? The wpa_supplicant.sh script seems to want to force wpa-psk with any options that force wpa_supplicant, which generate a relatively useless supplicant config file for ibss. This also makes wlan0 get the default 1500 MTU.
Here's my "semi-working" wpa_supplicant.conf file, after I increase the MTU then batman talks properly and sees the other node. semi-working because even though batctl o sees the other node it can't ping it unless the psk is commented out.. :-\
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
#IBSS/ad-hoc mode with WPA2/AES encryption
network={
ssid="batmesh"
bssid=20:aa:bb:cc:dd:ee
mode=1
scan_ssid=1
frequency=5765
fixed_freq=1
mcast_rate=18
htmode=HT20
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=CCMP
psk="xxxxxxxx"
}Thanks for any ideas.
Signature · 8 lines
Ray Gibson Future Concepts IS Inc. 909-593-6705 x2096 This communication constitutes an electronic communication within the meaning of the Electronic Communications Privacy Act, 18 USC 2510, and its disclosure is strictly limited to the recipient intended by the sender of this message. This e-mail and any files transmitted with it are proprietary and intended for the sole use of the individual or entity to whom they are addressed. They are not to be viewed, shared, copied or forwarded, regardless to whom, without the expressed permission of Future Concepts I.S., Inc. If you have received this e-mail in error, please notify the sender and immediately delete it from your system. Thank you.
Hello Ray,
Quoted 22 lines · Ray Gibson
Hello,
I'm trying to get wpa-none happy on my bullet m5's running batman-adv (aa-rc1 with batman-adv 2012.3.0). I can make it work by running
wpa_supplicantmanually with the correct options but am interested in having it work through the uci config files. Is this possible? Thewpa_supplicant.shscript seems to want to force wpa-psk with any options that forcewpa_supplicant, which generate a relatively useless supplicant config file for ibss. This also makes wlan0 get the default 1500 MTU.Here's my "semi-working" wpa_supplicant.conf file, after I increase the MTU then batman talks properly and sees the other node. semi-working because even though batctl o sees the other node it can't ping it unless the psk is commented out.. :-\
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
#IBSS/ad-hoc mode with WPA2/AES encryption
Quoted 15 lines
network={
ssid="batmesh"
bssid=20:aa:bb:cc:dd:ee
mode=1
scan_ssid=1
frequency=5765
fixed_freq=1
mcast_rate=18
htmode=HT20
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=CCMP
psk="xxxxxxxx"
}Have you made sure that WPA-NONE works without batman-adv? It appears that openwrt currently doesn't support WPA-NONE at all driver-wise, at least this bug report suggests it (don't know if its a problem in wpa_supplicant, madwifi, or any other driver):
https://dev.openwrt.org/ticket/9190
You can try running WPA-NONE, set some IPs and let the nodes ping each other. If this works, batman-adv should[tm] work too.
Cheers,
Simon
Quoted 1 line · Simon Wunderlich
Have you made sure that WPA-NONE works without batman-adv? It appears that openwrt currently doesn't support WPA-NONE at all driver-wise, at least this bug report suggests it (don't know if its a problem in
wpa_supplicant, madwifi, or any other driver): https://dev.openwrt.org/ticket/9190 You can try running WPA-NONE, set some IPs and let the nodes ping each other. If this works, batman-adv should[tm] work too. Cheers, Simon
Thank you Simon, I will do some experimenting and report back any results.
Signature · 8 lines
Ray Gibson Future Concepts IS Inc. 909-593-6705 x2096 This communication constitutes an electronic communication within the meaning of the Electronic Communications Privacy Act, 18 USC 2510, and its disclosure is strictly limited to the recipient intended by the sender of this message. This e-mail and any files transmitted with it are proprietary and intended for the sole use of the individual or entity to whom they are addressed. They are not to be viewed, shared, copied or forwarded, regardless to whom, without the expressed permission of Future Concepts I.S., Inc. If you have received this e-mail in error, please notify the sender and immediately delete it from your system. Thank you.