LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-10-2013, 08:50 PM   #1
edwardp
Member
 
Registered: Jun 2003
Location: Massachusetts, U.S.A.
Distribution: Debian (unstable)
Posts: 106

Rep: Reputation: 28
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.

Last edited by edwardp; 05-11-2013 at 12:43 PM. Reason: Added info pertaining to on-board NIC.
 
  


Reply

Tags
debian, interface, nic, wol



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian wheezy: apt-get upgrade does not upgrade llvm to 2.8 odin_ago Linux - Software 2 11-12-2011 05:01 PM
The system completely stops while trying to shutting down maiden2 Ubuntu 10 01-13-2008 06:14 AM
computer not completely shutting down veritas Linux - Newbie 7 02-09-2004 04:17 PM
Shutdown not shutting down completely jrdioko Linux - Newbie 19 10-12-2003 11:47 AM
nic keeps shutting down rhstudent Linux - Networking 5 05-29-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration