Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
have "net" reported to be started
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
cerb
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 89

PostPosted: Thu Jan 02, 2003 8:34 pm    Post subject: have "net" reported to be started Reply with quote

can i somehow trick gentoo into reporting "net" as started (for depending services), even if only one of the two nics is started?

explanation:

i have a laptop with a wired and a wireless nic. now i have both (configured to use dhcp) added to runlevel default. but i am never using them at the same time. the drawback is: if either of them doesn't come up, gentoo doesn't start depending services such as cups and others.

now i want gentoo to believe "net" was started if either interface is active. how do i accomplish this? is there any configuration for this or do i have to hack the init-scripts? where?

thanks in advance,

-c
_________________
Linux is a wigwam - no Windows, no Gates, Apache inside :-)
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Thu Jan 02, 2003 8:51 pm    Post subject: Re: have "net" reported to be started Reply with quote

cerb wrote:
can i somehow trick gentoo into reporting "net" as started (for depending services), even if only one of the two nics is started?

see RC_NET_STRICT_CHECKING in /etc/conf.d/rc
but i'm not sure if that helps, because the situation you'd like to accomplish should be the default behaviour of a gentoo system... please keep me up to date if you find out something interesting. thx.
Back to top
View user's profile Send private message
cerb
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 89

PostPosted: Fri Jan 03, 2003 12:27 pm    Post subject: Reply with quote

this variable is not in my /etc/rc.conf - is there any documentation about what can be in /etc/rc.conf ?
_________________
Linux is a wigwam - no Windows, no Gates, Apache inside :-)
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Fri Jan 03, 2003 2:04 pm    Post subject: Reply with quote

no, the /etc/conf.d/rc not /etc/rc.conf
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