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
시도했지만 sudo apt-get update
문제 sudo apt-get upgrade
가 해결되지 않았습니다.
이더넷 컨트롤러: Intel Corporation 이더넷 연결 I217-LM(rev 04)
답변1
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)).
속성 ethernet.mac-address
이 잘못된 것 같습니다.
nmcli connection show "$PROFILE"
또는 를 사용하여 프로필 내용을 확인하세요 nmcli -o connection show "$PROFILE"
. 여기서 "$PROFILE"은 입니다 'Wired connection 1'
.
ethernet.mac-address
그런 다음 적절한 값으로 조정합니다 . 아마도 설정을 해제하고 connection.interface-name
대신 설정하면 됩니다.
nmcli connection modify "Wired connection 1" ethernet.mac-address '' connection.interface-name eno1
.
그런 다음 를 사용하여 프로필을 다시 활성화하십시오 nmcli connection up Wired\ connection\ 1
.
man nm-settings
연결 프로필 속성의 의미는 을 참조하세요 .