Hello Ray,
On Sun, Jan 06, 2013 at 02:29:36PM -0800, Ray Gibson wrote:
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" }
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