2009-09-27 13:51:48

by Simon Raffeiner

[permalink] [raw]
Subject: Unable to create an 802.11s mesh using compat-wireless-2009-09-27

Hello List,

I built todays compat-wireless (compat-wireless-2009-09-27) on two different
Ubuntu machines:

- kernel 2.6.28-15-generic i686 using rt73usb
- kernel 2.6.31-11-generic x86_64 using ath5k (AR2425)

and tried to create an 802.11s Mesh following the HOWTO - unsuccessfully:

root@ion:/home/sturmflut# export MESH_IFACE=mesh
root@ion:/home/sturmflut# export MESH_ID=test
root@ion:/home/sturmflut# iw dev wlan0 interface add $MESH_IFACE type mp
mesh_id $MESH_ID

root@ion:/home/sturmflut# ifconfig -a | grep mesh
mesh Link encap:Ethernet HWaddr 00:22:75:50:13:c2

root@ion:/home/sturmflut# ifconfig $MESH_IFACE up
SIOCSIFFLAGS: Name not unique on network

if I remove wlan0 the mesh device can be brought up through ifconfig:

root@ion:/home/sturmflut# iw dev wlan0 del
root@ion:/home/sturmflut# ifconfig $MESH_IFACE up

The strange thing is that iwconfig lists the interface as Mode "Auto"
immediately after it is added:

root@ion:/home/sturmflut# iwconfig mesh
mesh IEEE 802.11bg Mode:Auto Tx-Power=11 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

and falls back to "Managed" after about five seconds:

root@ion:/home/sturmflut# iwconfig mesh
mesh IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=11 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

Symptoms are identical on both machines. I remember this working some weeks
ago, at least using the ath5k driver, and without any "Name not unique on
network" errors.

I could try with a full wireless-testing.git checkout but I doubt anything
will change, Ubuntus 2.6.31-11-generic is quite recent and all relevant
modules should have been overwritten by those in compat-wireless.

regards,
Simon Raffeiner

University of Applied Sciences Offenburg


2009-09-28 20:28:53

by Andrey Yurovsky

[permalink] [raw]
Subject: Re: Unable to create an 802.11s mesh using compat-wireless-2009-09-27

On Sun, Sep 27, 2009 at 6:41 AM, Simon Raffeiner
<[email protected]> wrote:
> and falls back to "Managed" after about five seconds:

Is there an application like NetworkManager running? If so, please
kill it before proceeding. Also it's not useful/needed to run
"iwconfig", it doesn't understand mesh interfaces. Please only use
iw.

-Andrey