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

Re: preferring wired over wireless

Am Samstag, 5. November 2005 21:50 schrieb Luca Pireddu:
> When both my wireless and wired networking devices are connected, how can I
> get my laptop to use the wired device and ignore the wireless one?  I tried
> specifying a higher metric for my wired device (via ifconfig metric), but
> it doesn't seem to have an effect.

Use a different metric (man interfaces):

default via dev eth0
default via dev ath0  metric 10

Here you can see two default routes, but the one with the lower metric is 


Reply to: