* [B.A.T.M.A.N.] wpa-none through openwrt config
@ 2013-01-06 22:29 Ray Gibson
2013-01-07 6:42 ` Simon Wunderlich
0 siblings, 1 reply; 3+ messages in thread
From: Ray Gibson @ 2013-01-06 22:29 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
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.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [B.A.T.M.A.N.] wpa-none through openwrt config
2013-01-06 22:29 [B.A.T.M.A.N.] wpa-none through openwrt config Ray Gibson
@ 2013-01-07 6:42 ` Simon Wunderlich
2013-01-07 17:43 ` Ray Gibson
0 siblings, 1 reply; 3+ messages in thread
From: Simon Wunderlich @ 2013-01-07 6:42 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [B.A.T.M.A.N.] wpa-none through openwrt config
2013-01-07 6:42 ` Simon Wunderlich
@ 2013-01-07 17:43 ` Ray Gibson
0 siblings, 0 replies; 3+ messages in thread
From: Ray Gibson @ 2013-01-07 17:43 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On 1/6/2013 10:42 PM, Simon Wunderlich wrote:
> 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.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-07 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-06 22:29 [B.A.T.M.A.N.] wpa-none through openwrt config Ray Gibson
2013-01-07 6:42 ` Simon Wunderlich
2013-01-07 17:43 ` Ray Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox