LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 11-06-2009, 04:21 PM   #1
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
How to turn off eth2 and eth3


Hi,

I know that ifdown can turn it off, but how to completely disable eth?

Last edited by Stephan_Craft; 11-06-2009 at 04:29 PM.
 
Old 11-06-2009, 04:25 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
How many ethernet cards do you have?
 
Old 11-06-2009, 04:27 PM   #3
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
one
 
Old 11-06-2009, 04:33 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
Check in /etc/udev/rules.d/70-persistent-net.rules
 
Old 11-06-2009, 04:38 PM   #5
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
no. only those:

Code:
5-udev-early.rules  50-udev.rules     60-net.rules     60-raw.rules         90-dm.rules   95-pam-console.rules
40-multipath.rules   51-hotplug.rules  60-pcmcia.rules  85-pcscd_ccid.rules  90-hal.rules  bluetooth.rules
 
Old 11-06-2009, 04:45 PM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
Search for something like this, should be somewhere:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:a5:c6:79:dc", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0f:b0:cb:32:a0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Or ask in forum about Centos 5.2, I use OpenSuse.
 
Old 11-06-2009, 04:51 PM   #7
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
no... nothing like this
 
Old 11-06-2009, 04:55 PM   #8
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
http://www.linuxquestions.org/questi...d-eth0-638252/
 
Old 11-06-2009, 05:58 PM   #9
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
tnx but this is a different topic. I just want to disable eth2 and eth3.
 
Old 11-06-2009, 06:24 PM   #10
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554

Rep: Reputation: 89
I know that.
Can just look into /lib/udev/rename_device and /etc/sysconfig/network-scripts/net.hotplug - those are scripts which I think give the namas - eth2 and eth3
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC7: eth2 & eth3 come up as __tmp# 60% of the time jjinno Linux - Networking 12 12-06-2009 10:35 PM
My CnMBook Manual page 5 shows how to turn off on desk top, but how do I turn on? salmagundi Linux - Newbie 2 04-04-2009 03:46 PM
How to determine which physical interface corresonds to eth0, eth1, eth2, and eth3 karrj Linux - Newbie 5 05-01-2008 08:44 AM
error message: In=eth3 OUT=eth3 SRc=10.0.0.... yourfriend Linux - Networking 3 04-06-2008 09:18 PM
how to reset eth2 eth3 on SUSE ??? achulxp Linux - Hardware 2 12-31-2006 02:30 AM


All times are GMT -5. The time now is 03:07 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
Open Source Consulting | Domain Registration