Networking doesn't work unless ethernet plugged in on boot

Kernels & Hardware, configuring network, installing services

Networking doesn't work unless ethernet plugged in on boot

Postby mvanorder » 2018-03-14 12:22

This seems to be quite a bit of an odd problem. I recently reinstalled Debian 9.3.0 and it complained about iwlwifi firmware being missing form the ISO, so when it rebooted I connected to the internet via ethernet and installed the firmware from the repo. This happened with my 9.2.0 installation(which I read something about a broken popularity contest on the original version of that set of ISOs causing the missing firmware issue which was supposed to be fixed the next day). However on 9.2.0, after installing the firmware everything worked fine. With this new install I have the following 2 scenarios:

Works:
Ethernet plugged in on boot. I get ipv4 and ipv6 IPs on both wired and wireless. I have to disconnect one sometimes in order to keep sessions in things like steam from disconnecting. At this point I can safely disconnect from wired or wireless and not worry about losing the ability to connect to the network.

Doesn't work:
Ethernet unplugged on boot. When boot completes I can see both interfaces, but no IPs and the wifi interface appears to be down. I can bring it up but nothing happens. dhclient doesn't get an IP. If I plug in the wired interface the port appears dead(no lights on either end). Also restarting the networking service has no affect on this issue.

Has anyone seen anything like this? I'm not sure where to start since I have drivers and a config that's working, but the entire networking behaves differently based on weather or not my ethernet is plugged in on boot.
mvanorder
 
Posts: 2
Joined: 2018-03-14 12:07

Re: Networking doesn't work unless ethernet plugged in on bo

Postby debiman » 2018-03-14 16:18

strange.
let's start with some hard data.
output of
Code: Select all
uname -rv
lspci -k

(additionally lsusb if devices are usb device, and yes, also internal devices can be)
User avatar
debiman
 
Posts: 2127
Joined: 2013-03-12 07:18

Re: Networking doesn't work unless ethernet plugged in on bo

Postby mvanorder » 2018-03-15 01:21

Well... I'm unable to reproduce the issue after I got home from work. I've rebooted 4 times without ethernet connected including into the 4.9.0-4 kernel(which won't boot after installing the nvidia driver on 4.9.0-6) and the wifi connects on boot every time.

If you're curious here's the output you requested:

Code: Select all
root@mvanorde-w700:~# uname -rv
4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
root@mvanorde-w700:~# lspci -k|grep '\(Network\|Ethernet\) controller' -A3
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
        Subsystem: Lenovo 82567LM Gigabit Network Connection
        Kernel driver in use: e1000e
        Kernel modules: e1000e
--
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
        Subsystem: Intel Corporation Ultimate N WiFi Link 5300
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
root@mvanorde-w700:~# lsusb
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c07d Logitech, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 006: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 007 Device 005: ID 17ef:1008 Lenovo Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 002 Device 004: ID 0a5c:2145 Broadcom Corp. BCM2045B (BDC-2.1) [Bluetooth Controller]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@mvanorde-w700:~#
mvanorder
 
Posts: 2
Joined: 2018-03-14 12:07

Re: Networking doesn't work unless ethernet plugged in on bo

Postby debiman » 2018-03-17 08:15

mvanorder wrote:I'm unable to reproduce the issue after I got home from work. I've rebooted 4 times without ethernet connected including into the 4.9.0-4 kernel(which won't boot after installing the nvidia driver on 4.9.0-6) and the wifi connects on boot every time.

so it works as desired now?
User avatar
debiman
 
Posts: 2127
Joined: 2013-03-12 07:18


Return to System configuration

Who is online

Users browsing this forum: kendew and 6 guests

fashionable