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

Re: multiple interfaces: eth0 & wlan0

On Mon, Sep 6, 2010 at 10:46 PM, Bob Proulx <bob@proulx.com> wrote:
> Mathieu Malaterre wrote:
>>   I was not able to find an answer to the following question. So here
>> it is: how do I know which interfaces is being used by default (wget,
>> apt-get...) in debian ? Right now both eth0 and wlan0 are up (as
>> reported by ifconfig)
> What is your default route?  Any of these:
>  $ netstat -nr
>  $ route -n
>  $ ip route show

Hum... this is bad, it looks like I am using wlan0

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 wlan0         UG        0 0          0 wlan0 dev wlan0  proto kernel  scope link  src
default via dev wlan0

Is there a way to change the default. Otherwise I'll comment out the
wlan0 section in etc/network/interfaces

thanks again,

Reply to: