Im running 22.04 and just changed motherboard and cannot access my router any more. It did work for a brief moment when I swapped the device, to the current one, in the /etc/netplan/50-cloud-init.yaml
. But after a reboot it did not work any longer. I should add that during the same time,I swapped the IP to the same as the previous machine used in my router settings. The router settings for this machine should now be restored to non-static ip.
Some strange things is this
# ip a
..
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_code1 state UP group default qlen 1000
link/ether 4c:cc:6a:67:XX:XX.XX.XX brd ff:ff:ff:ff...
Shouldnt there be any inet
entries?
This is my /etc/netplan/50-cloud-init.yaml
network:
ethernets:
enp0s31f6:
dhcp4: true
match:
macaddress: 4c:cc:6a:67:XX:XX.XX.XX
set-name: enp0s31f6
routes:
- on-link: true
to: default
via: 192.168.0.1
version: 2
I added routes because there was no default route otherwise and it was impossible to even try to ping anything.
#: nmcli device status
enp0s31f6 ethernet disconnected
Im lost and I dont know how to continue. Some other things I've tried is to manually upgrade the old network drivers for e1000e, which I've found to be a problematic driver for others aswell. But I could not install either of the two latest releases, compilation error..
#: ethtool -i enp0s31f6
driver: e1000e
version: 5.15.0.75-generic
firmware-version: 0.8-4
expansion-rom-version:
bus-info: 0000:00:1f.6
supports-statistics: yues
supports-test: yes
supports-eeprom-access: yes
supports.....