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

Re: Major bug with wired/wireless connections in Debian 7



 Hi.

On Mon, Jun 15, 2015 at 11:00:23PM +0100, linuxthefish wrote:
> Hello,
> 
> It looks like Debian will only connect to a wireless network when the
> ethernet cable has been plugged in and unplugged. Both the wired and
> wireless connections are set to automatically come up - but wireless
> will not come up and fails to respond to ping unless a ethernet cable
> has been plugged in.

Please post the output of 'ip a l' and 'ip ro l' once the system has
this 'failed wireless interface'.


> This even applies if the ethernet cable was plugged into a random
> network, or a switch with no other ports in use!

While it seems weird, I doubt it that the problem lies at L1 OSI (i.e.
physical one). See below.



> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet static
> address 172.16.0.4
> gateway 172.16.0.1
> netmask 255.255.0.0
> 
> allow-hotplug wlan0
> iface wlan0 inet static
> wpa-conf /etc/wpa_supplicant/wpa_supplicant0.conf
> address 172.16.0.5
> gateway 172.16.0.1
> netmask 255.255.0.0

You're configuring a default gateway for both network interfaces, which
is a big no-no, unless you know what you're doing. You also set IP
addresses from the same network, and that is one of the best ways to
have your host's IP routing going haywire.

Reco


Reply to: