LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   NIC not shutting down completely after upgrade to Wheezy (https://www.linuxquestions.org/questions/debian-26/nic-not-shutting-down-completely-after-upgrade-to-wheezy-4175461489/)

edwardp 05-10-2013 08:50 PM

NIC not shutting down completely after upgrade to Wheezy
 
On one of my desktops upgraded from Squeeze to Wheezy, I noticed the on-board NIC is not shutting down completely when the PC is powered off. I had this same problem under Squeeze and added
Code:

post-up ethtool -s eth0 wol d
to /etc/network/interfaces, which took care of this problem.

After the upgrade to Wheezy, that line was still present in /etc/network/interfaces, but the NIC is still in Wake On Lan (wol) mode, even though it's disabled in this file, as well as in the PC's BIOS.

This is the current /etc/network/interfaces on that PC:

Code:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
post-up ethtool -s eth0 wol d

Is there something that will correct that NIC's behavior now, which will cause it to properly shut down when the PC is powered off? Please note that I have tried replacing 'post-up' with 'post-down' and that did not work.

The on-board NIC is a Realtek 8101E/8102E (from lspci -v)

Code:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 2ab7
        Flags: bus master, fast devsel, latency 0, IRQ 41
        I/O ports at e800 [size=256]
        Memory at febff000 (64-bit, non-prefetchable) [size=4K]
        Memory at fdffc000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169

Thanks in advance.


All times are GMT -5. The time now is 08:52 PM.