我的网络连接有问题。一年多以来,我一直在同一台笔记本电脑上使用 Ubuntu 和相同的连接,但昨天突然连接停止工作(无线和有线)。我用另一台电脑测试过,连接很好(无线和有线)。
我一直在阅读类似的帖子,但我还没有找到解决方案。我尝试了一些我在这里发布的命令(我的系统是西班牙语,所以我将它翻译成英语,也许术语不准确):
grep -i eth /var/log/syslog | tail
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): now managed
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): bringing up device.
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): preparing device.
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.845743] forcedeth 0000:00:0a.0: irq 41 for MSI/MSI-X
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.845984] forcedeth 0000:00:0a.0: eth0: no link during initialization
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.847103] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): deactivating device (reason 'managed') [2]
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:0a.0/net/eth0
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.848817] ADDRCONF(NETDEV_UP): eth0: link is not ready
Run Code Online (Sandbox Code Playgroud)
ifconfig -a
eth0 Link encap:Ethernet addressHW 00:1b:24:fc:a8:d1
ACTIVE BROADCAST MULTICAST MTU:1500 Metric:1
Packages RX:0 errors:16 lost:0 overruns:0 frame:16
Packages TX:123 errors:0 lost:0 overruns:0 carrier:0
colissions:0 length.tailTX:1000
Bytes RX:0 (0.0 B) TX bytes:26335 (26.3 KB)
Interruption:41 Base address: 0x2000
lo Link encap:Local loop
Inet address:127.0.0.1 Mask:255.0.0.0
Inet6 address: ::1/128 Scope:Host
ACTIVE LOOP WORKING MTU:16436 Metrics:1
Packages RX:1550 errors:0 lost:0 overruns:0 frame:0
Packages TX:1550 errors:0 lost:0 overruns:0 carrier:0
colissions:0 long.tailTX:0
Bytes RX:125312 (125.3 KB) TX bytes:125312 (125.3 KB)
Run Code Online (Sandbox Code Playgroud)
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Run Code Online (Sandbox Code Playgroud)
sudo lshw -C network
*-network
description: Ethernet interface
product: MCP67 Ethernet
manufacturer: NVIDIA Corporation
Physical id: a
bus information: pci@0000:00:0a.0
logical name: eth0
version: a2
series: 00:1b:24:fc:a8:d1
capacity: 100Mbit/s
width: 32 bits
clock: 66MHz
capacities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 latency=0 link=no maxlatency=20 mingnt=1 multicast=yes port=MII
resources: irq:41 memoria:f6288000-f6288fff ioport:30f8(size=8) memoria:f6289c00-f6289cff memoria:f6289800-f628980f
Run Code Online (Sandbox Code Playgroud)
lsmod
Module Size Used by
usbhid 41906 0
hid 77367 1 usbhid
rfcomm 38139 0
parport_pc 32114 0
ppdev 12849 0
bnep 17830 2
bluetooth 158438 10 rfcomm,bnep
binfmt_misc 17292 1
joydev 17393 0
hp_wmi 13652 0
sparse_keymap 13658 1 hp_wmi
nouveau 708198 3
ttm 65344 1 nouveau
drm_kms_helper 45466 1 nouveau
drm 197692 5 nouveau,ttm,drm_kms_helper
i2c_algo_bit 13199 1 nouveau
psmouse 87213 0
mxm_wmi 12859 1 nouveau
serio_raw 13027 0
k8temp 12905 0
i2c_nforce2 12906 0
wmi 18744 2 hp_wmi,mxm_wmi
video 19068 1 nouveau
mac_hid 13077 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
forcedeth 58096 0
Run Code Online (Sandbox Code Playgroud)
如果我能提供更多信息,请告诉我。
小智 9
在升级到 Ubuntu 12 后设法让我的工作刚刚开始:
编辑/etc/network/interfaces
:
该行#iface eth0 inet dhcp
已被注释掉;我删除了“#”。
然后我跑了sudo ifup -a
,它打开了网络。
对不起,网络管理员,伙计们,但如果有一款软件应该在发布前 110% 准备就绪,那就是它了。
小智 0
我遇到了类似的问题:我有两台运行 12.04 的笔记本电脑,其中一台突然无法连接到互联网。
我通过 U 盘递归地将目录从工作笔记本电脑复制/etc/network/
到/etc/NetworkManager/
另一台笔记本电脑,然后重新启动。我仍然无法连接有线局域网,因此我将其关闭,打开无线,然后连接就成功了。我切换回有线,这也有效。
这不是最优雅的解决方案,它需要访问正在运行的 Ubuntu 机器,但它对我有用。
归档时间: |
|
查看次数: |
49911 次 |
最近记录: |