Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> How Can I Physically Disable Eth0 Interface, how can I physically disable eth0
post Mar 12 2004, 06:09 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 12-March 04
Member No.: 2,566

I need to create a Bash script that periodically disables and enables the eth0 interface in order to have the link going up and down. Using "ifconfig eth0 down", the eth0 is disabled but the physical link is still UP.
How can I physically disable eth0 interface using a Bash command? Is that possible?

Go to the top of the page
+Quote Post
Start new topic
post Mar 12 2004, 07:46 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

Actually, maybe no ...

do you mean is it possible to make the card be powered off (ie no lights on the hub and the card) ... make the card turn off. If that is the question, then the answer is no ... that is a function of power to the card.

If you mean can you make the interface not recieve traffic and dissappear from the ifconfig output, the answer is yes.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 26th April 2018 - 12:42 AM