I’m facing the issue mentioned here on a nixos box:
There is a interface name mismatch:
$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:c3:90:d4:2c txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp6s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 18:c0:4d:03:a5:fb txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfc600000-fc61ffff
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 280 bytes 25480 (24.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 280 bytes 25480 (24.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.43.126 netmask 255.255.255.0 broadcast 192.168.43.255
inet6 2401:4900:2eec:552b:f803:eb8d:e8a3:c4d8 prefixlen 64 scopeid 0x0<global>
inet6 fe80::b9d9:b39c:43e9:5367 prefixlen 64 scopeid 0x20<link>
inet6 2401:4900:2eec:552b:b526:c69e:d579:ee9e prefixlen 64 scopeid 0x0<global>
ether 6c:6a:77:a5:8b:97 txqueuelen 1000 (Ethernet)
RX packets 53626 bytes 63197250 (60.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26886 bytes 4706009 (4.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ cd /etc/systemd/system/multi-user.target.wants
$ rg enp --follow
network-setup.service
8:PartOf=network-addresses-enp5s0.service network-addresses-wlp4s0.service
$
I tried deleting all the stale connections using nmcli c delete
but the issue is still there. How do I reset all network configuration on my box?