即使已连接,也显示“有线网络已断开”——无法连接以太网

即使已连接,也显示“有线网络已断开”——无法连接以太网

我无法通过以太网或 WiFi 连接到互联网。让我们解决以太网问题,好吗?我刚刚在 HP Mini 1000 上安装了 Ubuntu 12.04。之前它使用的是 11.04,那时以太网没有任何问题。我是 Linux 初学者,过去几天我一直在解决这个问题,但没有任何进展。

以下是一些输出:

$ sudo lshw -C network
*-network               
   description: Network controller
   product: BCM4312 802.11b/g LP-PHY
   vendor: Broadcom Corporation
   physical id: 0
   bus info: pci@0000:01:00.0
   version: 01
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list
   configuration: driver=b43-pci-bridge latency=0
   resources: irq:16 memory:feafc000-feafffff
*-network
   description: Ethernet interface
   product: 88E8040 PCI-E Fast Ethernet Controller
   vendor: Marvell Technology Group Ltd.
   physical id: 0
   bus info: pci@0000:02:00.0
   logical name: eth0
   version: 00
   serial: 00:25:b3:48:e7:60
   capacity: 100Mbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 latency=0 link=no multicast=yes port=twisted pair
   resources: irq:42 memory:febfc000-febfffff ioport:ec00(size=256)

串行通信

00:00.0 Host bridge: Intel Corporation Mobile 945GSE Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated     Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller

感谢您的帮助!

答案1

找到了解决方案:

/etc/NetworkManager/NetworkManager.conf,我改变了管理=false管理=真

然后运行:

sudo service network-manager restart

瞧!

答案2

我的问题已经解决了,从 100mbps lan4 端口改为 100/1000mbps lan1,这是最快的端口,希望这能有所帮助

答案3

有时NetworkManager可能会有点不自量力,开始弄乱你不想要的东西。尝试获取要连接的ifconfig wlan0无线设备或ifconfig eth0以太网设备的物理设备的 mac 地址。复制 HWaddr 之后的所有内容。然后编辑/etc/NetworkManager/NetworkManager.conf您需要使用超级用户权限进行编辑。添加

[keyfile]
unmanaged-devices=mac:<copied HWaddr>;

然后你可以手动连接,这是这里讨论的如何使用命令行连接到 WPA wifi 网络?

祝你好运!

答案4

我刚刚花了 2 个小时尝试使用网络管理器和终端恢复网络。猜猜是什么修复了它......关闭调制解调器,拔下它,重新插入并重新打开。如果您将其打开,您可以看到 IP 地址代码、dns 等重新出现在网络管理器窗口中。我想这是一个“静态锁定”问题,有时会发生在我的 Sky 电视盒上。希望这对某人有所帮助

相关内容