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.

FREE DNS Is Back

Sign Up Now
> How Can I Physically Disable Eth0 Interface, how can I physically disable eth0
yandry
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?

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


Its GNU/Linuxhelp.net
*******

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



Yes, it is possible....

Most Linux distro's have a network startup script in /etc/init.d

some have seperate scripts for each NIC ... others don't.

what is your distro?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
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: 14th December 2017 - 05:18 AM