내가 시도한 것:
내 컴퓨터에 여분의 하드 드라이브가 있고 Linux Mint(20.2 cinnamon 64비트)가 설치되어 있습니다. 이제 Windows(주 OS) 또는 Mint로 부팅할 수 있습니다. 새로 설치한 후에는 쉽게 인터넷에 연결할 수 있고 시스템 업데이트를 완벽하게 다운로드하여 설치할 수 있습니다. 설정을 마치고 윈도우에서 잠시 게임을 해봤습니다. Mint를 다시 시작하면 인터넷에 접속할 수 없습니다. 저는 Google을 통해 전통적인 방식으로 이 문제를 해결하려고 시도했지만 성공하지 못했습니다. 새로 설치하는 동안 찍은 스냅샷에서 복원도 시도했습니다. 하지만 내가 시도한 어떤 것도 온라인에 접속할 수 없습니다.
현재 구성 및 유용한(희망적으로) 출력:
$> arp -a
_gateway (192.168.0.1) at <incomplete> on eno1
$> cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0 trust-ad
$> cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address 192.168.0.22
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
#post-up iptables-restore < /etc/iptables.up.rules
gateway 192.168.0.1
dns-nameservers 192.168.0.22 8.8.8.8
$> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether e0:3f:49:eb:23:b3 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.22/24 brd 192.168.0.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 2601:845:c100:940:4053:8cea:72a7:901c/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 345591sec preferred_lft 345591sec
inet6 fe80::c826:b952:2608:8ee2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
$> cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
[device]
wifi.scan-rand-mac-address=no
$> cat /etc/NetworkManager/NetworkManagerconf.d/10-globally-managed-devices
[keyfile]
unmanaged-devices=none
$> nmcli d
DEVICE TYPE STATE CONNECTION
eno1 ethernet connected Ifupdown (eno1)
lo loopback unmanaged --
$> cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group: files systemd
shadow: files
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
$> ping -c 10 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.22 icmp_seq=1 Destination Host Unreachable
From 192.168.0.22 icmp_seq=2 Destination Host Unreachable
From 192.168.0.22 icmp_seq=3 Destination Host Unreachable
From 192.168.0.22 icmp_seq=4 Destination Host Unreachable
From 192.168.0.22 icmp_seq=5 Destination Host Unreachable
From 192.168.0.22 icmp_seq=6 Destination Host Unreachable
From 192.168.0.22 icmp_seq=7 Destination Host Unreachable
From 192.168.0.22 icmp_seq=8 Destination Host Unreachable
From 192.168.0.22 icmp_seq=9 Destination Host Unreachable
From 192.168.0.22 icmp_seq=10 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 0 received, +10 errors, 100% packet loss, time 9207ms
pipe 3
$> ping -c 10 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.22 icmp_seq=1 Destination Host Unreachable
From 192.168.0.22 icmp_seq=2 Destination Host Unreachable
From 192.168.0.22 icmp_seq=3 Destination Host Unreachable
From 192.168.0.22 icmp_seq=4 Destination Host Unreachable
From 192.168.0.22 icmp_seq=5 Destination Host Unreachable
From 192.168.0.22 icmp_seq=8 Destination Host Unreachable
From 192.168.0.22 icmp_seq=9 Destination Host Unreachable
From 192.168.0.22 icmp_seq=10 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
10 packets transmitted, 0 received, +8 errors, 100% packet loss, time 9211ms
pipe 4
$> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eno1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eno1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eno1
답변1
대답은 다음과 같습니다 ...
BIOS로 부팅
Linux Mint의 HDD를 가장 높은 부팅 우선순위로 설정하세요
컴퓨터 전원을 끄세요
Linux로 직접 부팅
행복한 구성
(아마도 Windows 드라이버는 전원이 껐다 켜질 때까지 하드웨어 제어권을 완전히 포기하지 않기 때문에 Linux를 재부팅해도 작동하지 않을 것 같습니다.)
의견을 주신 @Murray Jensen에게 감사드립니다(: