debugging 802.11s

Andrey Yurovsky andrey at cozybit.com
Fri Nov 7 17:10:21 EST 2008


Hi Keir.  With NetworkManager not running, can you try things again
from the top?

1) reload the driver
# modprobe -r ath5k
# modprobe ath5k

2) bring up your mesh interfaces, ex:
# iw dev wlan0 interface add mesh0 type mp mesh_id mymesh
# ifconfig mesh0 up
# ifconfig mesh0 10.0.0.1
(etc)

...and then ping again?
# ping -c 2 -I mesh0 10.0.0.2

Also, what's the git tag for your kernel (see Luis' instructions on
how to obtain this via git-describe).  Thanks,

  -Andrey

On Fri, Nov 7, 2008 at 5:35 AM, Keir <keirlawson at gmail.com> wrote:
> Ah ha! NetworkManager seems to have been the problem, I can now see
> the other mesh box when I do a station dump.  However, I cannot ping
> the other box as shown in the howto:
>
> root at dave:/home/keir/Desktop/Code/iw-0.9.6# ping -c 2 10.0.0.2
> PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
> ping: sendmsg: Operation not permitted
> ping: sendmsg: Operation not permitted
>
> --- 10.0.0.2 ping statistics ---
> 2 packets transmitted, 0 received, 100% packet loss, time 1006ms
>
> when I try to ping this mesh point from the other one i get
> destination unreachable errors instead.
>
> I am using revision v2.6.28-rc2-4151-g43288a0 (from git describe) of
> wireless-testing.
>
> Any ideas?
>
> Cheers
>
> Keir
>
> 2008/11/6 Andrey Yurovsky <andrey at cozybit.com>:
>> Hi Keir.  The default is channel 1.  Do you have a user-space WiFi
>> manager such as NetworkManager running?  If so, you should stop or
>> kill it before using mesh.  For example:
>>
>> # killall NetworkManager
>> # iw dev wlan0 interface add mesh type mp mesh_id mymesh
>> # ifconfig mesh 10.0.0.1 up
>>
>>  -Andrey
>>
>> 2008/11/6 Keir <keirlawson at gmail.com>:
>>> Hello,
>>>
>>> I've been trying to set up an 802.11s network (between just two nodes
>>> initially), I have followed the howto at
>>> http://www.open80211s.org/trac/wiki/HOWTO-0.2.1 however when I run "iw dev
>>> mesh station dump" nothing is listed, I've set my machine's IPs to be
>>> 10.0.0.1 and 10.0.0.2 and they both have the same mesh id and on the default
>>> channel (ie I havent specified one).  I'm wondering how I would start
>>> finding out what the problem is? I'm using an ath5k card with
>>> wireless-testing (quite a recent revsion, havent worked out how to get git
>>> to tell me which one exactly!)
>>>
>>> Cheers
>>>
>>> Keir
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.open80211s.org
>>> http://open80211s.com/mailman/listinfo/devel
>>>
>>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.open80211s.org
>> http://open80211s.com/mailman/listinfo/devel
>>
>


More information about the Devel mailing list