Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-12-2007, 05:36 AM   #1
Registered: Nov 2003
Posts: 82

Rep: Reputation: 15
how can i shutdown the PHYSICAL interface of an ethernet interface

I would like to shutdown the physical interface of an ethernet interface, without disconnecting the cable that is connected to this interface.

Basically, I would like to shutdown the LED of the ethernet interface.

If I do

ifconfig eth2 down

then the IP address is removed from the routing table, but the LED is still blinking on the interface.

same for

ip link set eth3 off

how can I switch the interface off (so simulate a cable cut ?) without really disconnecting the cable ?
Old 04-12-2007, 07:42 AM   #2
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Mint (Cinnamon)
Posts: 276

Rep: Reputation: 30
You can't, as far as I know. Your led (activity or link light) is normally on, even if power is turned off at the machine. Newer computers often have the ability to wake on lan, meaning that the NIC must be able to be accessed, even with power off.
Old 04-12-2007, 03:29 PM   #3
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,219

Rep: Reputation: 54
If your ethernet device's driver is compiled as a module, as opposed to builtin, you could try unloading the driver with the modprobe -r command.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forwarding from physical to virtual interface? heltendk Linux - Networking 8 01-11-2007 12:22 PM
WPA support through 'ndiswrapper' interface is deprecated; use 'wext' interface lavie Linux - Wireless Networking 1 12-04-2006 12:13 PM
Ethernet interface starting but not getting IP swilliams2006 Linux - Networking 2 12-10-2005 07:51 PM
shutdown net interface spank Linux - Networking 2 09-27-2005 03:02 AM
Ip conflit - Shutdown interface tsimmons Linux - Networking 1 10-29-2003 10:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:48 PM.

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