Dies schrieb Jo-Philipp Wich (x...@subsignal.org):
> I'd suggest to use "ip route list exact 0.0.0.0/0" to find the device
> and then the find_config() shell function to map the device to an uci
> interface name.
Just a remark: It is possible that this command does not return a default
route even
On 4/14/11 4:11 AM, Roberto Riggio wrote:
> Il 14/04/2011 12:03, Jo-Philipp Wich ha scritto:
>> I'd suggest to use "ip route list exact 0.0.0.0/0" to find the device
>> and then the find_config() shell function to map the device to an uci
>> interface name.
> Thanks very much for the quick answer.
Il 14/04/2011 16:19, ZioPRoTo (Saverio Proto) ha scritto:
in the OLSR routing protocol implementation, we have a dynamic gateway
plugin. It checks (with policy routing) if connectivity with the
Internet is actually working, before the router advertises a default
route.
this would be very useful
> I have however a designed issue. At the moment a bash daemon periodically
> checks if the wan interface is up. If the check is positive then the mesh
> daemon
> advertise this gateway, otherwise the mesh interface is set as default
> route.
in the OLSR routing protocol implementation, we have a
Il 14/04/2011 12:03, Jo-Philipp Wich ha scritto:
I'd suggest to use "ip route list exact 0.0.0.0/0" to find the device
and then the find_config() shell function to map the device to an uci
interface name.
Thanks very much for the quick answer. I did not know about the
find_config() function. How
I'd suggest to use "ip route list exact 0.0.0.0/0" to find the device
and then the find_config() shell function to map the device to an uci
interface name.
~ Jow
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mai
Il 14/04/2011 11:17, Jo-Philipp Wich ha scritto:
Hi,
hi
please do not do dirty hacks like relying on an interface called "wan"
in your scripts. You should develop a hotplug handler which is invoked
for "ifup" events on any interface. As soon as one interface appears
which carries as 0/0 route,
Hi,
please do not do dirty hacks like relying on an interface called "wan"
in your scripts. You should develop a hotplug handler which is invoked
for "ifup" events on any interface. As soon as one interface appears
which carries as 0/0 route, you have your "wan".
See the "6in4" and "6to4" package
Hi,
I've developed a routing daemon for wireless mesh networking. The package
for openwrt accordingly defines a new type of protocol so that the mesh
interface can be activate simply using
ifup mesh
(if of course a section with that name is available and properly configured
in /etc/config/netwo