Fix Ubuntu 13.10 Ethernet after Suspend/Resume

Thanks to http://www.webupd8.org/2013/01/fix-wireless-or-wired-network-not.html
Find the network driver using the command


$ lshw -C network

which gives something like:

  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 06
       serial: 90:2b:34:12:e0:14
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list 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=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.20 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:46 ioport:d000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff

So in my case r8169
Then edit (or create as it might be empty) the unload_modules file

$ gksu gedit /etc/pm/config.d/unload_modules

to add


SUSPEND_MODULES="$SUSPEND_MODULES r8169"

The simply suspend and resume again, network should work again!

Popular posts from this blog

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu

Solving: insufficient permissions for device: user in plugdev group; are your udev rules wrong