[WMN] Trying to set up a mesh network
Cristian Nasuti
nasuti.cristian at gmail.com
Mon Nov 30 06:06:53 EST 2009
Hi Joana!
I use Ubuntu with the kernel 2.6.32-rc5.
I followed the instructions to recompile the kernel in Ubuntu (
http://o11s.org/trac/wiki/Ubuntu) (read and follow all)
I use atheros wlan card, so ath5k is driver for my card; you must use the
driever for yours.
After this procedure you have 2 package with your compiled kernel. If your
machine have the same wlan card, you can use directly this 2 package in all
without recompiling on each machine.
Then I get the last wersion of iw:
sudo apt-get install build-essential libnl-dev
wget http://wireless.kernel.org/download/iw/iw-0.9.17.tar.bz2
tar -xf iw-0.9.17.tar.bz2
cd iw-0.9.17
./configure
make
sudo make install
Make this in all your machine and then you can configure the mesh network.
To create a mesh, I follow this instruction (note: I work logged as root):
killall NetworkManager
modprobe -r ath5k
modprobe ath5k
iwconfig
in the outup I see that the interface of my PC is wlan2, so I put down the
interface and delete it:
ifconfig wlan2 down
iw dev wlan2 del
Now I find the physical:
dmesg | grep ath5k
I have seen in the output message like this:
ath5k phy0: Atheros AR5212 chip found ... etc.
so I make a mesh interface on phy0:
iw phy phy0 interface add Mesh_Point_1 type mp mesh_id MY_MESH
ifconfig Mesh_Point_1 up
ifconfig Mesh_Point_1 10.0.0.1
Mesh_Point_1 is the name of the interface, MY_MESH is the name of the mesh
network.
Make this for all your node, whit the same mesh id "MY_MESH" and ip in the
same range.
After this try to ping:
ping -c 4 -I Mesh_Point_1 10.0.0.2
ping -c 4 -I Mesh_Point_1 10.0.0.3
...
(this instruction ping the 10.0.0.2 from the interface Mesh_Point_1)
And finally check the mesh link:
iw dev Mesh_Point_1 station dump
arp
iw dev Mesh_Point_1 mpath dump
If is all ok you ave an output like the one in HOWTO
I hope everything work,
ciao!
Cristian
Hi,
>
> I'm trying to set up a wireless mesh network between 3 Asus Eee Pcs 900A
> with atheros driver (ath5k) and 2.6.32 kernel version. I was following
> open80211s but it didn't work, since then I've seen so many things that
>
> right now I'm really confused. Can someone tell me what do I really need to
> set up a wmn on 2.6.32, please tell me every package I need and
> configurations.
>
> Thank you,
> Joana C.
>
>
>
>
Cristian Nasuti
_____________________________________________________________
nasuti.cristian at gmail.com [Mail, GTalk, Live Messenger]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://open80211s.com/pipermail/devel/attachments/20091130/6d79f4db/attachment.html
More information about the Devel
mailing list