LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-16-2011, 06:57 AM   #1
rng
Member
 
Registered: Aug 2011
Posts: 747

Rep: Reputation: 23
How to switch off LED lights of LAN connection


I can see my LAN connection at the back of my computer box. They have 2 LED lights (one green and one yellow) which are on once network is connected. In windows, when I disable networking, these LED lights go off. But in linux (ubuntu, slax/slackware), they remain on all the time, even after giving the command 'ifconfig eth0 down'. Is there any way I can switch them off so that I can be sure that network has been disconnected.

Last edited by rng; 08-16-2011 at 06:58 AM.
 
Old 08-17-2011, 03:50 PM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Just switching off the lights wont make sure that your network is disconnected.
 
Old 08-17-2011, 06:47 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,590

Rep: Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419
Try ifdown and ifup instead.
 
Old 08-17-2011, 10:16 PM   #4
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
ifdown does not work; I get error messages such as:


$ sudo ifdown eth0
ifdown: interface eth0 not configured

$ sudo ifdown eth0
Ignoring unknown interface eth0=eth0.

$ sudo ifdown -a
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...done.
Ignoring unknown interface eth0=eth0.
 
Old 08-18-2011, 03:46 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,590

Rep: Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419
If firestarter bsd based or newer linux? What is ifconfig -a or what is the name of the device?
 
Old 08-19-2011, 10:58 PM   #6
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
This is an ubuntu system and firestarter I presume is for linux. The network device is eth0 and 'ifconfig -a' shows information regarding eth0 and lo.
 
Old 08-20-2011, 02:36 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,590

Rep: Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419
Wonder if ubuntu's network manager is messing with it? Might ask this on the ubuntu forums.
 
  


Reply


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
Standby and LED lights CrEsPo Linux - Laptop and Netbook 0 02-04-2007 05:15 PM
wireless LED lights up randomly Murdock1979 Linux - Wireless Networking 3 04-07-2006 06:39 AM
Presario LED lights stryka Linux - Laptop and Netbook 1 11-15-2005 10:04 PM
Flashing SL-5500 = LED lights flash endlessly Zeiph Linux - Laptop and Netbook 1 05-02-2005 06:15 AM
Silicon Image RAID - No HD LED lights atari05 Linux - Hardware 2 10-21-2004 09:42 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration