내 오래된 컴퓨터는 이중 운영 체제(win10 및 debian)가 설치된 H81M 마더보드를 8년 동안 사용해 왔습니다. 오늘 새 M81H 마더보드(동일한 H81M 보드, 다른 브랜드)를 구입하고 이전 마더보드를 교체했습니다.
네트워크 구조: 모뎀 + 라우터.
컴퓨터를 다시 시작하고 win10을 입력하면 정상적으로 인터넷에 접속할 수 있습니다.
컴퓨터를 다시 시작하고 debian을 입력했지만 인터넷에 연결할 수 없습니다.
lspci |grep -i Ethernet
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
Flags: bus master, fast devsel, latency 0, IRQ 25
I/O ports at e000 [size=256]
Memory at f7c04000 (64-bit, non-prefetchable) [size=4K]
Memory at f7c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8168
Kernel modules: r8168
sudo systemctl status wicd
#It is in good status.
lsmod |grep 816
r8168
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
어떻게 고치나요?
sudo dmesg |grep 8168
[ 0.220354] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[ 1.225031] r8168: loading out-of-tree module taints kernel.
[ 1.225284] r8168: module verification failed: signature and/or required key missing - tainting kernel
[ 1.226698] r8168 Gigabit Ethernet driver 8.048.03-NAPI loaded
[ 1.284376] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 1.286372] r8168 Copyright (C) 2020 Realtek NIC software team <[email protected]>
[ 1.293220] r8168 0000:01:00.0 enp1s0: renamed from eth0
ip address
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: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 48:f3:17:00:36:2d brd ff:ff:ff:ff:ff:ff
답변1
enp1s0
내 네트워크 카드는 "대체" 라고 불립니다 eth0
.
ip address
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: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 48:f3:17:00:36:2d brd ff:ff:ff:ff:ff:ff
구성 파일에서 이것을 eth0
다음으로 대체했습니다.enp1s0
sudo vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto enp1s0
iface enp1s0 inet dhcp
다시 시작하고 인터넷에 성공적으로 연결했습니다.