Lost wired connectivity but WIFI OK (for Ubuntu PC and Ubuntu Live CD but Windows is OK)
https://askubuntu.com/questions/1565051/lost-wired-connectivity-but-wifi-ok-for-ubuntu-pc-and-ubuntu-live-cd-but-windowThis morning when I booted my Ubuntu 24.04, I saw a small popup on top of screen, at the middle, saying it is trying to connect to a network that I ignore. Then I saw the wired connection status icon was showing there is no Ethernet connection. I checked the WIFI and it can connect without issue.
My setup is to connect to Ethernet automatically. I never use the WIFI with my PC. I use it for our cells, tablette and laptop.
I restarted it and booted in Windows-11 (dual boot). I had no issues connecting on the Ehternet.
So I restarted but booted with the Ubuntu 24.04 Live CD and was surprised to see it also could not connect to the Ehternet. I could connect to WIFI.
I rebooted again but into my PC Ubuntu and looked at the configuration of my wired connection. Following instructions found on the net, I tried restarting the Network manager but nothing changed. I installed the essential package but nothing changed.
Right now I am writing this using the WIFI. I had updates done on my Ubuntu for the past 3 days.
Is there anyone else having this same issue since 3 days ago?
But bottom line, how do I fix this?
Where are the instructions to do this?
Why is this happening? Its the first time in 2 years since I installed it.
In the mean time, I will check the logs for any meaningful messages ...
Here outputs of a few things I tried. (don't know why format is messed up)
browserice:~$ sudo lshw -c network *-network description: Ethernet interface product: Ethernet Controller I225-V vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: enp3s0 version: 03 serial: d8:5e:d3:87:9a:2d capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.17.0-19-generic duplex=full firmware=1082:8770 ip=10.0.0.35 latency=0 link=yes multicast=yes port=twisted pair resources: irq:16 memory:53200000-532fffff memory:53300000-53303fff *-network description: Wireless interface product: Wi-Fi 6 AX200 vendor: Intel Corporation physical id: 0 bus info: pci@0000:04:00.0 logical name: wlp4s0 version: 1a serial: 68:54:5a:ff:6e:b9 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=6.17.0-19-generic firmware=77.b405f9d4.0 cc-a0-77.ucode ip=10.0.0.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:19 memory:53400000-53403fff
browserice:~$ ifconfig Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools
browserice:~$ route Command 'route' not found, but can be installed with: sudo apt install net-tools
browserice:~$ sudo nano /etc/NetworkManager/NetworkManager.conf browserice:~$ sudo nano /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf
browserice:~$ sudo service network-manager restart Failed to restart network-manager.service: Unit network-manager.service not found.
browserice:~$ ls /etc/NetworkManager conf.d dispatcher.d dnsmasq.d dnsmasq-shared.d NetworkManager.conf system-connections VPN
browserice:~$ netstat -rn Command 'netstat' not found, but can be installed with: sudo apt install net-tools
browserice:~$ lspci -nn | grep -i ethernet 03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
browserice:~$ lspci -knn | grep Eth -A3; ifconfig 03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03) Subsystem: Gigabyte Technology Co., Ltd Ethernet Controller I225-V [1458:e000] Kernel driver in use: igc Kernel modules: igc 04:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools
browserice:~$ cat /etc/netplan/01-network-manager-all.yaml network: version: 2 renderer: NetworkManager
browserice:~$ sudo netplan generate [sudo] password for browserice:
** (generate:12108): WARNING **: 16:07:58.093: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
browserice:~$ sudo netplan apply
** (generate:12254): WARNING **: 16:08:11.986: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:12252): WARNING **: 16:08:12.690: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:12252): WARNING **: 16:08:12.845: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others. systemd-networkd is not running, output might be incomplete. Failed to reload network settings: Unit dbus-org.freedesktop.network1.service not found. Falling back to a hard restart of systemd-networkd.service
browserice:~$ cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile
[ifupdown] managed=true <<===== was false before
[device] wifi.scan-rand-mac-address=no
browserice:~$ cat /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf [keyfile] unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:ethernet <<==== I added the "except:tpe:ethernet"
I rebooted without the ethernet cable than plugged it in. It still cannot connect.







