Hi.
I setup a PC Engines Alix box with a wired and wireless network
interface. Both are in dhcp mode and up by default.
In my test config both hook to a different network, so I get 2 default
routes. I managed giving the wired route a higher precedence using
iproute.
Now my problem is with the following scenario:
- start the box, both links come up
- disconnect physically eth0
- connect to squeezecenter wirelessly: "Connect timed out: Transport
endpoint is not connected" when requesting for internet resources
(radio, firmware...)
- I can solve the problem by issuing "ifdown eth0".  

So it looks like ip route doesn't catch the "kernel: eth0: link down"
events to change its default route preferences.

I'm not at all used to iproute2; Would you see a way to make it
conscious of the current situation, or for a script of mine to catch the
kernel event and issue a formal ifdown ?

I'm using debian lenny.

Thanks in advance for any hint !


-- 
epoch1970
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=63444

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to