首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu14.04以太网连接问题

Ubuntu14.04以太网连接问题
EN

Ask Ubuntu用户
提问于 2014-10-11 18:49:40
回答 1查看 662关注 0票数 2

我刚刚从12.04升级到14.04,当我断开以太网电缆或挂起时,网络管理器继续尝试4-5次连接失败,然后最终成功。如果重新启动连接,则连接正常,但如果再次断开连接,问题将再次出现。

这是dmesg的输出:

代码语言:javascript
复制
[ 1234.523258] PM: Syncing filesystems ... done.
[ 1234.743865] PM: Preparing system for mem sleep
[ 1234.744109] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 1234.746257] Freezing remaining freezable tasks ... (elapsed 1.504 seconds) done.
[ 1236.250482] PM: Entering mem sleep
[ 1236.250514] Suspending console(s) (use no_console_suspend to debug)
[ 1236.251018] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1236.251343] sd 0:0:0:0: [sda] Stopping disk
[ 1236.812155] PM: suspend of devices complete after 561.290 msecs
[ 1236.812530] PM: late suspend of devices complete after 0.371 msecs
[ 1236.828483] ehci-pci 0000:00:04.1: System wakeup enabled by ACPI
[ 1236.844052] ohci-pci 0000:00:04.0: System wakeup enabled by ACPI
[ 1236.860284] PM: noirq suspend of devices complete after 47.750 msecs
[ 1236.860415] ACPI: Preparing to enter system sleep state S3
[ 1236.861876] PM: Saving platform NVS memory
[ 1236.862162] Disabling non-boot CPUs ...
[ 1236.964057] smpboot: CPU 1 is now offline
[ 1236.964265] ACPI: Low-level resume complete
[ 1236.964265] PM: Restoring platform NVS memory
[ 1236.964265] Enabling non-boot CPUs ...
[ 1236.964265] x86: Booting SMP configuration:
[ 1236.964265] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 1236.863533] Initializing CPU#1
[ 1236.976181] CPU1 is up
[ 1236.977216] ACPI: Waking up from system sleep state S3
[ 1237.556134] ohci-pci 0000:00:04.0: System wakeup disabled by ACPI
[ 1237.572108] ehci-pci 0000:00:04.1: System wakeup disabled by ACPI
[ 1237.620274] PM: noirq resume of devices complete after 79.948 msecs
[ 1237.620451] PM: early resume of devices complete after 0.147 msecs
[ 1237.940033] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 1238.012503] ata2.00: configured for UDMA/100
[ 1239.452092] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1239.456315] ata1.00: configured for UDMA/133
[ 1239.456825] sd 0:0:0:0: [sda] Starting disk
[ 1239.486112] PM: resume of devices complete after 1865.656 msecs
[ 1239.486478] PM: Finishing wakeup.
[ 1239.486481] Restarting tasks ... done.
[ 1239.503830] video LNXVIDEO:00: Restoring backlight state
[ 1239.691997] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1239.692095] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 1239.692359] r8169 0000:03:00.0: irq 41 for MSI/MSI-X
[ 1239.735826] r8169 0000:03:00.0 eth0: RTL8168b/8111b at 0xf842a000, e0:cb:4e:2f:c4:f7, XID 18000000 IRQ 41
[ 1239.735831] r8169 0000:03:00.0 eth0: jumbo features [frames: 4080 bytes, tx checksumming: ko]
[ 1241.841344] r8169 0000:03:00.0 eth0: link down
[ 1241.841364] r8169 0000:03:00.0 eth0: link down
[ 1241.841639] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1243.636825] r8169 0000:03:00.0 eth0: link up
[ 1243.636843] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1244.281364] r8169 0000:03:00.0 eth0: link down
[ 1244.281395] r8169 0000:03:00.0 eth0: link down
[ 1244.281616] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1244.561344] r8169 0000:03:00.0 eth0: link down
[ 1244.561442] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1246.377956] r8169 0000:03:00.0 eth0: link up
[ 1246.377971] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1251.433358] r8169 0000:03:00.0 eth0: link down
[ 1251.433411] r8169 0000:03:00.0 eth0: link down
[ 1251.433481] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1253.072957] r8169 0000:03:00.0 eth0: link up
[ 1253.072974] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3498.716445] r8169 0000:03:00.0 eth0: link down
[ 3501.273340] r8169 0000:03:00.0 eth0: link down
[ 3501.273452] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3501.673354] r8169 0000:03:00.0 eth0: link down
[ 3501.673419] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3503.203193] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3523.370577] r8169 0000:03:00.0 eth0: link up
[ 3523.370595] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
EN

回答 1

Ask Ubuntu用户

发布于 2016-02-18 18:34:11

来自:http://www.techytalk.info/ubuntu-fix-network-stopped-working-after-resume-from-sleep/

我有一个Realtek14.04不喜欢挂起/恢复进程的realtek r8169 NIC。

代码语言:javascript
复制
sudo gedit /etc/pm/config.d/unload_modules

(如果不存在,则创建它),然后添加:

代码语言:javascript
复制
SUSPEND_MODULES="$SUSPEND_MODULES r8169"

重新启动你的机器。

从下一次引导开始,当您挂起然后回到您的会话时,只需在右上角的下拉列表中选择要从network激活的连接。

干杯!

MM

顺便说一下,我有这个

代码语言:javascript
复制
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)

我的戴尔Inspiron 7559 (7000系列).

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/534905

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档