我是 Linux 新手,所以我不熟悉所有命令和设置。我已经安装了 LinuxCNC 的新副本,它捆绑在 Debian Wheezy 中。安装没有问题。我的有线局域网连接显示断开连接。我的路由器似乎可以从控制面板识别该设备,但 Linux 没有互联网连接。连接电缆后,LAN 端口上的指示灯会亮起并闪烁。
我遵循了一些编辑配置文件的指南,但没有运气。然后,我开始阅读本指南: RTL8111 Linux 驱动指南 但我无法将这台机器连接到互联网上以正确遵循说明。
- 1)如何诊断实际问题?(什么命令?)
- 2)我该如何修复它?
每条评论:这是输出:
me@debian:~$ lspci -knn
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Root Complex [1022:1536]
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Device [1002:9830]
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Device [1002:9840]
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: snd_hda_intel
00:02.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 0 [1022:1538]
00:02.3 PCI bridge [0604]: Advanced Micro Devices [AMD] Family 16h Processor Functions 5:1 [1022:1439]
Kernel driver in use: pcieport
00:10.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB XHCI Controller [1022:7814] (rev 01)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (rev 40)
Subsystem: Elitegroup Computer Systems Device [1019:7801]
Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: ohci_hcd
00:12.2 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: ehci_hcd
00:13.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: ohci_hcd
00:13.2 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: ehci_hcd
00:14.0 SMBus [0c05]: Advanced Micro Devices [AMD] FCH SMBus Controller [1022:780b] (rev 3a)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: piix4_smbus
00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] FCH Azalia Controller [1022:780d] (rev 02)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices [AMD] FCH LPC Bridge [1022:780e] (rev 11)
Subsystem: Elitegroup Computer Systems Device [1019:9a3a]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 0 [1022:1530]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 1 [1022:1531]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 2 [1022:1532]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 3 [1022:1533]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 4 [1022:1534]
Kernel driver in use: fam15h_power
00:18.5 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 5 [1022:1535]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0c)
Subsystem: Elitegroup Computer Systems Device [1019:8116]
Kernel driver in use: r8169
me@debian:~$ lspci | egrep -i 'network|ethernet'
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0c)
me@debian:~$
更新:我已经从这里下载了驱动程序:RTL驱动程序阅读自述文件,解压 tar 并运行 autorun.sh 文件。我没有收到任何错误。我重新启动了机器,我似乎取得了一些进展,我现在看到网络的连接图标,但我似乎并没有真正连接到网络。
我尝试过静态和 DHCP,但没有成功。奇怪的是,当我尝试静态 IP 时,“debian”出现在我的路由器的已连接设备列表中。我认为我已经有了正确的驱动程序设置,但仍然无法连接。