[Bologna] Fwd: [lime-dev] Ground routing branch

ThEgAmEr xthegamerx a gmail.com
Ven 26 Dic 2014 12:15:41 CET


---------- Forwarded message ----------
From: "Gioacchino Mazzurco" <gio a eigenlab.org>
Date: Dec 25, 2014 10:49 PM
Subject: [lime-dev] Ground routing branch
To: <dev a lists.libre-mesh.org>
Cc:

Hi all!

I have just pushed the feature/ground-routing branch to our git repo, the
good
news is that it is already usable and working, the bad news is that it seems
that openwrt doesn't offer a way to know who switch%d is so it could
arbitrary
be eth0 or eth1 depending on the model and seems there is no way to
determine
it from software side -_-

what I have done now is assume in the code that swtich$i will be mapped to
eth$i and although it is not true it works on all device i have and on
device
we use the most like tl-wdr3x00

what openwrt do is ship a spefic confing for each different device, this
config is
manually written by the person who write the support for that device so
plain
old boring manual human work...

what we can do is
1) leave stuff as is, so users with "unusual" devices have do do some adjust
after lime-config
2) Introduce some kind of very very hardware specific module like the
unpopular
lime-hwd-tl-wdr3600 we had this summer for each device with a "switch map"
readeable by a program
3) Push openwrt developers to implement some kind of mechanism to make
switch
map readeable from software side

_______________________________________________
Dev mailing list
Dev a lists.libre-mesh.org
https://lists.libre-mesh.org/mailman/listinfo/dev
-------------- parte successiva --------------
Un allegato HTML รจ stato rimosso...
URL: <http://ml.ninux.org/pipermail/bologna/attachments/20141226/8d0d3635/attachment-0001.html>


Maggiori informazioni sulla lista Bologna