Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permanently disable eth1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aspasia
n00b
n00b


Joined: 22 Apr 2008
Posts: 24

PostPosted: Fri May 02, 2008 11:03 pm    Post subject: permanently disable eth1 Reply with quote

Hello all,

I am noob to Debian (Gentoo and Ubuntu) .. and trying to build an iscsi root image; I'd like to build a single image that I can bundle and copy over to each host's respective directory ... so I would like the build to be generic.

My servers have 2 nics - eth0 and eth1 - and i'd only like to use eth0 as active .. and eth1 disabled when booting ....

I have noticed these /etc/udev/rules.d ... which is new to me ... I deleted the 70-persistent-net and the auto-generate ... but I'd also like to permanently disable the eth1 when booting, how can I do this via the commandline?

thanks in advance,

aspasia.
Back to top
View user's profile Send private message
lonrot_m
Apprentice
Apprentice


Joined: 18 Jun 2005
Posts: 274
Location: Mexico

PostPosted: Fri May 02, 2008 11:30 pm    Post subject: Reply with quote

If i understand correctly, eth0 and eth1 start at boot time and you only want eth0, is this correct?

If i am right then just look for the line that starts with

RC_PLUG_SERVICES

and change it to

RC_PLUG_SERVICES="!net.*"

on the file /etc/conf.d/rc
_________________
The only fool bigger than the person who knows it all is the person who argues with him.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum