ric*_*cky 13 networking 12.04 ethernet
我无法通过以太网或 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)
Run Code Online (Sandbox Code Playgroud)
lspci
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
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助!
ric*_*cky 27
找到了解决办法:
在 中/etc/NetworkManager/NetworkManager.conf,我将managed=false更改为managed=true。
然后运行:
sudo service network-manager restart
Run Code Online (Sandbox Code Playgroud)
瞧。
有时NetworkManager可能有点像天后,开始搞乱你不想要的事情。尝试获取您想要连接的ifconfig wlan0无线设备或ifconfig eth0以太网设备的物理设备的 MAC 地址。复制 HWaddr 之后的所有内容。然后编辑/etc/NetworkManager/NetworkManager.conf您将需要使用超级用户权限对其进行编辑。添加
[keyfile]
unmanaged-devices=mac:<copied HWaddr>;
Run Code Online (Sandbox Code Playgroud)
然后你可以手动连接,这里讨论如何使用命令行连接到 WPA wifi 网络?
祝你好运!
| 归档时间: |
|
| 查看次数: |
70445 次 |
| 最近记录: |