Hi. A new Debian user here.
I have installed Debian 12 stable on my laptop which previously ran Windows 10 without any problems. Now I'm having trouble with wired network connection. I use Connman network manager as it came with LXQT. There was network-manager package installed but I removed it to avoid interference.
The problem is that when I boot up my laptop wired connection works for a while and then stops working, pinging doesn't work. I could then go to Connman UI and restart the connection and It would work again for a while. Now this doesn't work anymore. Now I have to reboot pc to get wired connection to work for, again for just a while (4-5 mins).
If I try sudo ifdown eno1 and then sudo ifup eno1 I get:
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eno1/c4:65:16:a4:71:67
Sending on LPF/eno1/c4:65:16:a4:71:67
Sending on Socket/fallback
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 7
My /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eno1
allow-hotplug eno1
iface eno1 inet dhcp
systemctl --failed outputs:
UNIT LOAD ACTIVE SUB DESCRIPTION
● networking.service loaded failed failed Raise network interfaces
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
When I try sudo systemctl restart networking.service It takes a while and when I check sudo systemctl status networking.service I get:
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Sat 2024-02-24 13:19:00 CET; 16s ago
Docs: man:interfaces(5)
Process: 113529 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
Process: 115398 ExecStart=/bin/sh -c if [ -f /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment --allow=hotplug; fi (code=exited, status=0/SUCCESS)
Main PID: 115398 (code=exited, status=0/SUCCESS)
Tasks: 3 (limit: 9152)
Memory: 1.3M
CPU: 140ms
CGroup: /system.slice/networking.service
├─113552 dhclient -4 -v -i -pf /run/dhclient.eno1.pid -lf /var/lib/dhcp/dhclient.eno1.leases -I -df /var/lib/dhcp/dhclient6.eno1.leases eno1
├─115378 "avahi-autoipd: [eno1] sleeping"
└─115379 "avahi-autoipd: [eno1] callout dispatcher"
Feb 24 13:19:00 Debian dhclient[113552]: No DHCPOFFERS received.
Feb 24 13:19:00 Debian ifup[113552]: No DHCPOFFERS received.
Feb 24 13:19:00 Debian ifup[113552]: No working leases in persistent database - sleeping.
Feb 24 13:19:00 Debian dhclient[113552]: No working leases in persistent database - sleeping.
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Found user 'avahi-autoipd' (UID 101) and group 'avahi-autoipd' (GID 110).
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Successfully called chroot().
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Successfully dropped root privileges.
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Starting with address 169.254.10.0
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Routable address already assigned, sleeping.
Feb 24 13:19:00 Debian systemd[1]: Finished networking.service - Raise network interfaces.
At least wifi still works. Though sometimes I have to reconfigure /etc/resolve.conf to add DNS back in since for some reason the lines get removed. I also had some trouble with networking.service with regards to wpasupplicant.
I should mention that this is a second installation. First installation had GNOME and came with NetworkManager and had same connection issues.
I would be very grateful for any help. I really want to make linux my daily driver.
Thank you for your time.
I have installed Debian 12 stable on my laptop which previously ran Windows 10 without any problems. Now I'm having trouble with wired network connection. I use Connman network manager as it came with LXQT. There was network-manager package installed but I removed it to avoid interference.
The problem is that when I boot up my laptop wired connection works for a while and then stops working, pinging doesn't work. I could then go to Connman UI and restart the connection and It would work again for a while. Now this doesn't work anymore. Now I have to reboot pc to get wired connection to work for, again for just a while (4-5 mins).
If I try sudo ifdown eno1 and then sudo ifup eno1 I get:
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eno1/c4:65:16:a4:71:67
Sending on LPF/eno1/c4:65:16:a4:71:67
Sending on Socket/fallback
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 7
My /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eno1
allow-hotplug eno1
iface eno1 inet dhcp
systemctl --failed outputs:
UNIT LOAD ACTIVE SUB DESCRIPTION
● networking.service loaded failed failed Raise network interfaces
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
When I try sudo systemctl restart networking.service It takes a while and when I check sudo systemctl status networking.service I get:
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Sat 2024-02-24 13:19:00 CET; 16s ago
Docs: man:interfaces(5)
Process: 113529 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
Process: 115398 ExecStart=/bin/sh -c if [ -f /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment --allow=hotplug; fi (code=exited, status=0/SUCCESS)
Main PID: 115398 (code=exited, status=0/SUCCESS)
Tasks: 3 (limit: 9152)
Memory: 1.3M
CPU: 140ms
CGroup: /system.slice/networking.service
├─113552 dhclient -4 -v -i -pf /run/dhclient.eno1.pid -lf /var/lib/dhcp/dhclient.eno1.leases -I -df /var/lib/dhcp/dhclient6.eno1.leases eno1
├─115378 "avahi-autoipd: [eno1] sleeping"
└─115379 "avahi-autoipd: [eno1] callout dispatcher"
Feb 24 13:19:00 Debian dhclient[113552]: No DHCPOFFERS received.
Feb 24 13:19:00 Debian ifup[113552]: No DHCPOFFERS received.
Feb 24 13:19:00 Debian ifup[113552]: No working leases in persistent database - sleeping.
Feb 24 13:19:00 Debian dhclient[113552]: No working leases in persistent database - sleeping.
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Found user 'avahi-autoipd' (UID 101) and group 'avahi-autoipd' (GID 110).
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Successfully called chroot().
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Successfully dropped root privileges.
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Starting with address 169.254.10.0
Feb 24 13:19:00 Debian avahi-autoipd(eno1)[115378]: Routable address already assigned, sleeping.
Feb 24 13:19:00 Debian systemd[1]: Finished networking.service - Raise network interfaces.
At least wifi still works. Though sometimes I have to reconfigure /etc/resolve.conf to add DNS back in since for some reason the lines get removed. I also had some trouble with networking.service with regards to wpasupplicant.
I should mention that this is a second installation. First installation had GNOME and came with NetworkManager and had same connection issues.
I would be very grateful for any help. I really want to make linux my daily driver.
Thank you for your time.
Statistics: Posted by ouroboros — 2024-02-24 12:36 — Replies 0 — Views 26