public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] wpa-none through openwrt config
Date: Mon, 7 Jan 2013 07:42:27 +0100	[thread overview]
Message-ID: <20130107064227.GA10699@pandem0nium> (raw)
In-Reply-To: <50E9FAD0.8000004@futurec.net>

[-- 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 --]

  reply	other threads:[~2013-01-07  6:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-01-07 17:43   ` Ray Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130107064227.GA10699@pandem0nium \
    --to=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox