View Single Post

   
  #4 (permalink)  
Old 01-18-2008, 09:09 AM
Martin Gerken
 
Posts: n/a
Default Re: lan and wlan setup

On Sat, 26 Nov 2005 14:19:05 -0600, ibuprofin@painkiller.example.tld
(Moe Trin) wrote:

>You mention having two network devices - you aren't trying to run them
>both on the same network, are you?
>
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 95017 eth0
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 420 lo
>
>That one isn't going to work unless you play with the Adv-Routing-HOWTO,
>because the kernel sees two routes going to the same place, and will
>ignore one of them.


Is there an (easy) way to make linux prefer the eth0 interface if it is
connected and otherwise use the wlan0 interface?



cu, Martin
--
Ubi bene ibi Colonia!
ROT13 for email: znegva.trexra@jro.qr
Reply With Quote