Ubuntu 12.04 不显示有线连接,Windows 7 显示

Ubuntu 12.04 不显示有线连接,Windows 7 显示

我的学生宿舍里有有线连接,但在 12.04 版的网络管理器中没有显示。不过,它确实适用于 Windows 7,所以我认为这与硬件无关。

在我的 HD 上的备用分区上,我尝试安装另一个 12.04,只是为了确保不是我的某些配置错误:结果,它也不起作用。

有趣的是,直到昨天 NM 才会识别该连接,所以我认为必须进行一些更新,但日志中似乎没有任何内容可以破坏与网络相关的某些东西。

我的/etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false

我的/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp

我不知道为什么最后一行被注释了,但我尝试取消注释,但不起作用,更糟糕的是它会显示“设备未管理”。然后我尝试设置,managed=true但它又无法识别连接,所以我只能将所有内容回滚。

如果配置 eth0:

eth0      Link encap:Ethernet  HWaddr 00:26:9e:0a:2a:e3  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:47 Base address:0xc000 

lshw -C 网络:

*-network
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 02
       serial: 00:26:9e:0a:2a:e3
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=N/A latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:47 ioport:5000(size=256) memory:d1010000-d1010fff memory:d1000000-d100ffff memory:d1020000-d102ffff

lspci:

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

/var/log/dpkg.log(仅显示昨天的部分,因为昨天的连接正常):

2012-05-26 12:56:56 startup archives unpack
2012-05-26 12:57:11 upgrade libgnome-control-center1 1:3.4.1-0ubuntu2 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:11 status half-configured libgnome-control-center1 1:3.4.1-0ubuntu2
2012-05-26 12:57:12 status unpacked libgnome-control-center1 1:3.4.1-0ubuntu2
2012-05-26 12:57:12 status half-installed libgnome-control-center1 1:3.4.1-0ubuntu2
2012-05-26 12:57:12 status half-installed libgnome-control-center1 1:3.4.1-0ubuntu2
2012-05-26 12:57:12 status unpacked libgnome-control-center1 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:12 status unpacked libgnome-control-center1 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:12 upgrade gnome-control-center-data 1:3.4.1-0ubuntu2 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:12 status half-configured gnome-control-center-data 1:3.4.1-0ubuntu2
2012-05-26 12:57:12 status unpacked gnome-control-center-data 1:3.4.1-0ubuntu2
2012-05-26 12:57:13 status half-installed gnome-control-center-data 1:3.4.1-0ubuntu2
2012-05-26 12:57:13 status triggers-pending hicolor-icon-theme 0.12-1ubuntu2
2012-05-26 12:57:13 status half-installed gnome-control-center-data 1:3.4.1-0ubuntu2
2012-05-26 12:57:13 status half-installed gnome-control-center-data 1:3.4.1-0ubuntu2
2012-05-26 12:57:13 status unpacked gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:14 status unpacked gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:14 upgrade gnome-control-center 1:3.4.1-0ubuntu2 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:14 status half-configured gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:14 status unpacked gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:14 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:14 status triggers-pending man-db 2.6.1-2
2012-05-26 12:57:14 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:14 status triggers-pending bamfdaemon 0.2.118-0ubuntu0.1
2012-05-26 12:57:14 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:14 status triggers-pending desktop-file-utils 0.20-0ubuntu2
2012-05-26 12:57:14 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:15 status triggers-pending gnome-menus 3.4.0-0ubuntu1
2012-05-26 12:57:15 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:15 status half-installed gnome-control-center 1:3.4.1-0ubuntu2
2012-05-26 12:57:15 status unpacked gnome-control-center 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:15 status unpacked gnome-control-center 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:15 upgrade linux-libc-dev 3.2.0-24.39 3.2.0-25.40
2012-05-26 12:57:15 status half-configured linux-libc-dev 3.2.0-24.39
2012-05-26 12:57:16 status unpacked linux-libc-dev 3.2.0-24.39
2012-05-26 12:57:16 status half-installed linux-libc-dev 3.2.0-24.39
2012-05-26 12:57:17 status half-installed linux-libc-dev 3.2.0-24.39
2012-05-26 12:57:17 status unpacked linux-libc-dev 3.2.0-25.40
2012-05-26 12:57:18 status unpacked linux-libc-dev 3.2.0-25.40
2012-05-26 12:57:18 trigproc hicolor-icon-theme 0.12-1ubuntu2 0.12-1ubuntu2
2012-05-26 12:57:18 status half-configured hicolor-icon-theme 0.12-1ubuntu2
2012-05-26 12:57:26 status installed hicolor-icon-theme 0.12-1ubuntu2
2012-05-26 12:57:26 trigproc man-db 2.6.1-2 2.6.1-2
2012-05-26 12:57:26 status half-configured man-db 2.6.1-2
2012-05-26 12:57:28 status installed man-db 2.6.1-2
2012-05-26 12:57:28 trigproc bamfdaemon 0.2.118-0ubuntu0.1 0.2.118-0ubuntu0.1
2012-05-26 12:57:28 status half-configured bamfdaemon 0.2.118-0ubuntu0.1
2012-05-26 12:57:28 status installed bamfdaemon 0.2.118-0ubuntu0.1
2012-05-26 12:57:28 trigproc desktop-file-utils 0.20-0ubuntu2 0.20-0ubuntu2
2012-05-26 12:57:28 status half-configured desktop-file-utils 0.20-0ubuntu2
2012-05-26 12:57:28 status installed desktop-file-utils 0.20-0ubuntu2
2012-05-26 12:57:29 trigproc gnome-menus 3.4.0-0ubuntu1 3.4.0-0ubuntu1
2012-05-26 12:57:29 status half-configured gnome-menus 3.4.0-0ubuntu1
2012-05-26 12:57:29 status installed gnome-menus 3.4.0-0ubuntu1
2012-05-26 12:57:29 startup packages configure
2012-05-26 12:57:29 configure libgnome-control-center1 1:3.4.2-0ubuntu0.2 <none>
2012-05-26 12:57:29 status unpacked libgnome-control-center1 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status half-configured libgnome-control-center1 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status installed libgnome-control-center1 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status triggers-pending libc-bin 2.15-0ubuntu10
2012-05-26 12:57:30 configure gnome-control-center-data 1:3.4.2-0ubuntu0.2 <none>
2012-05-26 12:57:30 status unpacked gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status unpacked gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status unpacked gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status half-configured gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:30 status installed gnome-control-center-data 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:31 configure gnome-control-center 1:3.4.2-0ubuntu0.2 <none>
2012-05-26 12:57:31 status unpacked gnome-control-center 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:31 status half-configured gnome-control-center 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:31 status installed gnome-control-center 1:3.4.2-0ubuntu0.2
2012-05-26 12:57:31 configure linux-libc-dev 3.2.0-25.40 <none>
2012-05-26 12:57:31 status unpacked linux-libc-dev 3.2.0-25.40
2012-05-26 12:57:31 status half-configured linux-libc-dev 3.2.0-25.40
2012-05-26 12:57:31 status installed linux-libc-dev 3.2.0-25.40
2012-05-26 12:57:31 trigproc libc-bin 2.15-0ubuntu10 <none>
2012-05-26 12:57:31 status half-configured libc-bin 2.15-0ubuntu10
2012-05-26 12:57:32 status installed libc-bin 2.15-0ubuntu10
2012-05-26 15:15:55 startup archives unpack
2012-05-26 15:15:56 install linux-image-3.2.0-25-generic <none> 3.2.0-25.40
2012-05-26 15:15:56 status half-installed linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:06 status unpacked linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:06 status unpacked linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:06 upgrade linux-generic 3.2.0.24.26 3.2.0.25.27
2012-05-26 15:16:06 status half-configured linux-generic 3.2.0.24.26
2012-05-26 15:16:06 status unpacked linux-generic 3.2.0.24.26
2012-05-26 15:16:06 status half-installed linux-generic 3.2.0.24.26
2012-05-26 15:16:07 status half-installed linux-generic 3.2.0.24.26
2012-05-26 15:16:07 status unpacked linux-generic 3.2.0.25.27
2012-05-26 15:16:07 status unpacked linux-generic 3.2.0.25.27
2012-05-26 15:16:07 upgrade linux-image-generic 3.2.0.24.26 3.2.0.25.27
2012-05-26 15:16:07 status half-configured linux-image-generic 3.2.0.24.26
2012-05-26 15:16:07 status unpacked linux-image-generic 3.2.0.24.26
2012-05-26 15:16:07 status half-installed linux-image-generic 3.2.0.24.26
2012-05-26 15:16:07 status half-installed linux-image-generic 3.2.0.24.26
2012-05-26 15:16:07 status unpacked linux-image-generic 3.2.0.25.27
2012-05-26 15:16:08 status unpacked linux-image-generic 3.2.0.25.27
2012-05-26 15:16:08 install linux-headers-3.2.0-25 <none> 3.2.0-25.40
2012-05-26 15:16:08 status half-installed linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:16:18 status unpacked linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:16:18 status unpacked linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:16:18 install linux-headers-3.2.0-25-generic <none> 3.2.0-25.40
2012-05-26 15:16:18 status half-installed linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:21 status unpacked linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:21 status unpacked linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:21 upgrade linux-headers-generic 3.2.0.24.26 3.2.0.25.27
2012-05-26 15:16:21 status half-configured linux-headers-generic 3.2.0.24.26
2012-05-26 15:16:21 status unpacked linux-headers-generic 3.2.0.24.26
2012-05-26 15:16:21 status half-installed linux-headers-generic 3.2.0.24.26
2012-05-26 15:16:21 status half-installed linux-headers-generic 3.2.0.24.26
2012-05-26 15:16:21 status unpacked linux-headers-generic 3.2.0.25.27
2012-05-26 15:16:21 status unpacked linux-headers-generic 3.2.0.25.27
2012-05-26 15:16:22 startup packages configure
2012-05-26 15:16:22 configure linux-image-3.2.0-25-generic 3.2.0-25.40 <none>
2012-05-26 15:16:22 status unpacked linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:16:22 status half-configured linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:17:02 status installed linux-image-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:17:02 configure linux-image-generic 3.2.0.25.27 <none>
2012-05-26 15:17:02 status unpacked linux-image-generic 3.2.0.25.27
2012-05-26 15:17:02 status half-configured linux-image-generic 3.2.0.25.27
2012-05-26 15:17:02 status installed linux-image-generic 3.2.0.25.27
2012-05-26 15:17:02 configure linux-generic 3.2.0.25.27 <none>
2012-05-26 15:17:02 status unpacked linux-generic 3.2.0.25.27
2012-05-26 15:17:02 status half-configured linux-generic 3.2.0.25.27
2012-05-26 15:17:03 status installed linux-generic 3.2.0.25.27
2012-05-26 15:17:03 configure linux-headers-3.2.0-25 3.2.0-25.40 <none>
2012-05-26 15:17:03 status unpacked linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:17:03 status half-configured linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:17:03 status installed linux-headers-3.2.0-25 3.2.0-25.40
2012-05-26 15:17:03 configure linux-headers-3.2.0-25-generic 3.2.0-25.40 <none>
2012-05-26 15:17:03 status unpacked linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:17:03 status half-configured linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:17:03 status installed linux-headers-3.2.0-25-generic 3.2.0-25.40
2012-05-26 15:17:04 configure linux-headers-generic 3.2.0.25.27 <none>
2012-05-26 15:17:04 status unpacked linux-headers-generic 3.2.0.25.27
2012-05-26 15:17:04 status half-configured linux-headers-generic 3.2.0.25.27
2012-05-26 15:17:04 status installed linux-headers-generic 3.2.0.25.27
2012-05-26 17:51:12 startup archives unpack
2012-05-26 17:51:12 install gir1.2-gucharmap-2.90 <none> 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:12 status half-installed gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:12 status unpacked gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:12 status unpacked gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:13 install gedit-plugins <none> 3.3.4-0ubuntu1
2012-05-26 17:51:13 status half-installed gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:13 status triggers-pending libglib2.0-0:i386 2.32.1-0ubuntu2
2012-05-26 17:51:14 status half-installed gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:14 status triggers-pending libglib2.0-0 2.32.1-0ubuntu2
2012-05-26 17:51:14 status half-installed gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:14 status unpacked gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:14 status unpacked gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:14 trigproc libglib2.0-0:i386 2.32.1-0ubuntu2 2.32.1-0ubuntu2
2012-05-26 17:51:14 status half-configured libglib2.0-0:i386 2.32.1-0ubuntu2
2012-05-26 17:51:16 status installed libglib2.0-0:i386 2.32.1-0ubuntu2
2012-05-26 17:51:16 trigproc libglib2.0-0 2.32.1-0ubuntu2 2.32.1-0ubuntu2
2012-05-26 17:51:16 status half-configured libglib2.0-0 2.32.1-0ubuntu2
2012-05-26 17:51:16 status installed libglib2.0-0 2.32.1-0ubuntu2
2012-05-26 17:51:17 startup packages configure
2012-05-26 17:51:17 configure gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1 <none>
2012-05-26 17:51:17 status unpacked gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:17 status half-configured gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:17 status installed gir1.2-gucharmap-2.90 1:3.4.1.1-0ubuntu1
2012-05-26 17:51:17 configure gedit-plugins 3.3.4-0ubuntu1 <none>
2012-05-26 17:51:17 status unpacked gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:17 status half-configured gedit-plugins 3.3.4-0ubuntu1
2012-05-26 17:51:17 status installed gedit-plugins 3.3.4-0ubuntu1

任何想法?

答案1

原来是一些电缆和开关出了问题。所以这不是 Ubuntu 的错!

相关内容