Re: What is wrong with my `nmcli device status`?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 17, 2020 at 9:50 PM ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On 2020-08-17 07:25, Tom H wrote:
>> On Mon, Aug 17, 2020 at 11:38 AM ToddAndMargo via users
>> <users@xxxxxxxxxxxxxxxxxxxxxxx> 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.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux