a quick wireless mesh blinding table howto
Andrey Yurovsky
andrey at cozybit.com
Thu Apr 5 03:24:20 EDT 2007
Hi Rafael. Don't use a random number to list the BT's contents, the BT is a
table that grows from index 0 and up. So the first entry in an empty BT
will be placed at 0 and seen by:
# iwpriv msh0 bt_list 0
The first time you see a NULL enty is an indication that this entry and
higher are empty. Typically you just loop through the table (starting at 0)
and check each entry until you hit the first NULL one, and it's the same for
the FWT.
The bt_add syntax is correct, a typical line may look like:
# iwpriv msh0 bt_add 00:17:C4:00:CB:3C
That is, the MAC address needs to be formatted as above.
On 4/5/07, Rafael Enrique Ortiz Guerrero <dirakx at gmail.com> wrote:
>
> Hi everyone,
>
> i have been testing the procedure that Andrey wrote and these are some
> experiences and questions:
>
>
> > # ethtool -i msh0
> > driver: libertas
> > version: COMM-USB8388-321.p0-dbg
> > firmware-version: 5.220.10.p5
> > bus-info:
> >
> >
> > 1) to reset (clear) the BT:
> > # iwpriv msh0 bt_reset
>
>
> until here all went ok. but doing
>
>
> > # iwpriv msh0 bt_list $i
> > where $i is a number between 0 and 127 representing an entry.
>
>
> chossing a random number show this:
> msh0 bt_list:number: (null) is this ok..?
>
>
> and also
>
> # iwpriv msh0 bt_add $olpc1_mac_address (obviously changing this for a
> real mac address)
>
> show me this error
> interface doesn not accept private ioctl...
> bt_add (8BF9): invalid argument how can i correct that ?
>
> although the last command did not work, just doing
>
>
> >
> > # iwpriv msh0 bt_set_invert 1
> >
> > in two B2, seams to get up the mesh and in the neighborhood view a new
> > AP triangle show up with the name OLPC-mesh.
>
> is this the expected behavior..?
>
>
> Thank you and i wait for your comments
>
>
> Cheers.
>
>
> --
> Rafael Enrique Ortiz Guerrero
> OLPC Colombia
> http://wiki.laptop.org/go/OLPC_Colombia
> Grupo de robotica libre DROZ
> http://www.el-directorio.org/DrozConfluence
> http://el-directorio.org
> El sitio de software Libre en Colombia
--
Andrey Yurovsky
cozybit Inc.
p 415 974 6770 x14
f 415 974 6771
e andrey at cozybit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20070405/6fb0219c/attachment.html>
More information about the Devel
mailing list