LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-06-2009, 04:21 PM   #1
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 138
Thanked: 0
How to turn off eth2 and eth3


[Log in to get rid of this advertisement]
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..
windows_98_nt_2000 Stephan_Craft is offline     Reply With Quote
Old 11-06-2009, 04:25 PM   #2
nimnull22
Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1
Posts: 300
Thanked: 15
How many ethernet cards do you have?
linux nimnull22 is online now     Reply With Quote
Old 11-06-2009, 04:27 PM   #3
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 138
Thanked: 0

Original Poster
one
windows_98_nt_2000 Stephan_Craft is offline     Reply With Quote
Old 11-06-2009, 04:33 PM   #4
nimnull22
Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1
Posts: 300
Thanked: 15
Check in /etc/udev/rules.d/70-persistent-net.rules
linux nimnull22 is online now     Reply With Quote
Old 11-06-2009, 04:38 PM   #5
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 138
Thanked: 0

Original Poster
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
windows_98_nt_2000 Stephan_Craft is offline     Reply With Quote
Old 11-06-2009, 04:45 PM   #6
nimnull22
Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1
Posts: 300
Thanked: 15
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.
linux nimnull22 is online now     Reply With Quote
Old 11-06-2009, 04:51 PM   #7
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 138
Thanked: 0

Original Poster
no... nothing like this
windows_98_nt_2000 Stephan_Craft is offline     Reply With Quote
Old 11-06-2009, 04:55 PM   #8
nimnull22
Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1
Posts: 300
Thanked: 15
http://www.linuxquestions.org/questi...d-eth0-638252/
linux nimnull22 is online now     Reply With Quote
Old 11-06-2009, 05:58 PM   #9
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 138
Thanked: 0

Original Poster
tnx but this is a different topic. I just want to disable eth2 and eth3.
windows_98_nt_2000 Stephan_Craft is offline     Reply With Quote
Old 11-06-2009, 06:24 PM   #10
nimnull22
Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1
Posts: 300
Thanked: 15
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
linux nimnull22 is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

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
FC7: eth2 & eth3 come up as __tmp# 60% of the time jjinno Linux - Networking 11 09-04-2009 04:21 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 11:04 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration