[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nslu2: two devices: one by default



On Mon, Nov 02, 2009 at 08:46:00PM +0100, Xan wrote:
> Yes, I think so. If you unplugged eth0 or ifdown eth0, screen hangs.
> If ifdown wlan0, nothing happens.
> I think it's the problem Lennart commented out.
>
> Lennart, could it be solved if we have this route table?
>
>
> Destination     Gateway         Genmask         Flags Metric Ref    Use  
> Iface  localnet        *               255.255.255.0   U     0      0     
>    0 wlan0
> localnet        *               255.255.255.0   U     0      0        0  
> eth0default         Fasteddy.local  0.0.0.0         UG    0      0        
> 0 wlan0
> default         Fasteddy.local  0.0.0.0         UG    0      0        0  
> eth0
>
> With that we swap the behaviour of wlan0 and eth0?

In that case all traffic will use the wlan interface, and if it fails,
you get nothing.

There is no way to make the linux kernel do what you want without external
help or patching.  It can't be done as far as I know.

-- 
Len Sorensen


Reply to: