EDITED, see bottom.
this morning, after rebooting the computer, I started having a lot of connection issues on my computer. The machine is wired, but when I restarted it it couldn't set a network address, finally giving me the message eno1: IP configuration was unavailable
. I am able to connect with a wireless network adapter.
A bunch of info. In my router (at address 192.168.0.250), I assigned a fixed IP to the machine, 192.168.0.150. Here's the output of a bunch of commands (only content relative to the wired interface)
$ sudo lshw -C network
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 04
serial: 34:17:eb:ba:47:9b
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 latency=0 link=yes multicast=yes port=twisted pair speed=100
Mbit/s
resources: irq:30 memory:f7100000-f711ffff memory:f7139000-f7139fff ioport:f040(size=32)
$ inxi -Fz
Network: Device-1: Intel Ethernet I217-LM driver: e1000e
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 34:17:eb:ba:47:9b txqueuelen 1000 (Ethernet)
RX packets 271 bytes 39947 (39.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 257 bytes 50551 (50.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7100000-f7120000
$ more /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
$ route -n
(this one is not populated when trying to connect with wired interface, putting the results for wireless just for completeness)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.250 0.0.0.0 UG 600 0 0 wlx503eaaef0caf
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlx503eaaef0caf
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlx503eaaef0caf
Any suggestions on what could be the issue, and how to solve it?
EDIT: I feel that I probably need to add some details on the "static IP" thing. This is not something that I did on the local machine, but rather in the router configuration, and I did it for every device connected to that router and all the other devices work taking the local IP I assigned them. I did this, again, navigating to the address from which I am able to access the router configuration:
and then to the DHCP tab, where there is an "Address reservation" menu. From there, I reserved 192.168.0.150 to the MAC associated to my ethernet adapter:
As you can see from this second picture, during my troubleshooting I disabled the address reservation for the ethernet adapter, but that didn't solve the problem.