On Mon, Aug 17, 2020 at 9:50 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
On 2020-08-17 07:25, Tom H wrote:
On Mon, Aug 17, 2020 at 11:38 AM ToddAndMargo via users users@lists.fedoraproject.org wrote:
What am I doing wrong here? nmcli says eno2 is disconnected but is working as if it was connected.
eno2 is my (only) Internet connection.
$ nmcli device status | grep -i eno2 eno2 ethernet disconnected --
$ ping -c 1 -I eno2 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 192.168.250.135 eno2: 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=12.0 ms
Without more information, the above must mean that eno2 isn't configured by NM.
The error is random.
$ /usr/bin/nmcli c up eno2 clears the error
It'd be worrying if bringing the "eno2" connection up didn't make the "eno2" nic connected.
$ cat /etc/sysconfig/network-scripts/ifcfg-eno2 TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no # NAME=enp7s0 NAME=eno2 UUID=a056777e-8a75-4da5-9585-6aacf150b862 DEVICE=eno2 ONBOOT=yes # PEERDNS=yes PEERDNS=no PEERROUTES=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes DNS1=127.0.0.1 USERCTL=yes
Do you need any other information.
Thanks. It looks OK. What would be interesting would be "nmcli d sh eno2" and "nmcli c sh eno2" when you get that error.