nmcli con up Wired\ connection\ 1
Error: Connection activation failed: No suitable device found for this connection
(device eno1 not available because profile is not compatible with device (permanent MAC address doesn't match)).
$ ping google.com
PING google.com (142.251.33.14) 56(84) bytes of data.
64 bytes from dfw25s44-in-f14.1e100.net (142.251.33.14): icmp_seq=1 ttl=58 time=28.9 ms
64 bytes from dfw25s44-in-f14.1e100.net (142.251.33.14): icmp_seq=2 ttl=58 time=32.9 ms
$ ping -c4 archive.canonical.com
PING archive.canonical.com (185.125.188.12) 56(84) bytes of data.
64 bytes from canonical-archive-0.canonical.com (185.125.188.12): icmp_seq=1 ttl=47 time=121 ms
64 bytes from canonical-archive-0.canonical.com (185.125.188.12): icmp_seq=2 ttl=47 time=122 ms
$ ping6 -c4 archive.canonical.com
$ ping6: connect: Network is unreachable
Eu tentei sudo apt-get update
e sudo apt-get upgrade
mas não resolveu o problema.
Controlador Ethernet: Conexão Ethernet Intel Corporation I217-LM (rev 04)
Responder1
nmcli con up Wired\ connection\ 1
Error: Connection activation failed: No suitable device found for this connection
(device eno1 not available because profile is not compatible with device (permanent MAC address doesn't match)).
A ethernet.mac-address
propriedade parece errada.
Verifique o conteúdo do perfil com nmcli connection show "$PROFILE"
ou nmcli -o connection show "$PROFILE"
- onde "$PROFILE" está 'Wired connection 1'
.
Em seguida, ajuste ethernet.mac-address
para um valor adequado. Possivelmente, apenas desative-o e configure-o connection.interface-name
.
nmcli connection modify "Wired connection 1" ethernet.mac-address '' connection.interface-name eno1
.
Em seguida, reative o perfil com nmcli connection up Wired\ connection\ 1
.
Consulte man nm-settings
o significado das propriedades do perfil de conexão.