Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst]eth0 Autostart
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3009
Location: Berlin

PostPosted: Tue Jan 30, 2007 3:09 pm    Post subject: [gelöst]eth0 Autostart Reply with quote

Hallo
Ich habe eth0 aus dem standard runlevel mittels rc-update herausgenommen. Wird aber trotzdem gestartet. Wo muß ich das noch deaktivieren?


Last edited by flammenflitzer on Sat Feb 03, 2007 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hypfvieh
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 82

PostPosted: Tue Jan 30, 2007 3:13 pm    Post subject: Reply with quote

das is ne gute frage.. da such ich auch schon ewig nach.. hab mir bisher damit ausgeholfen und einfach das net.eth0 umbenannt in net.myll...
aber die variante is nicht die schönste :(
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Tue Jan 30, 2007 3:22 pm    Post subject: Reply with quote

Wurde es "aus Versehen" vielleicht mal noch in einen anderen Runlevel eingefügt? Boot vielleicht?

Ciao,
aleX!

_________________
"Jeder arbeitet mit der Software, die er verdient."
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3485

PostPosted: Tue Jan 30, 2007 3:25 pm    Post subject: Reply with quote

Wahrscheinlich ziehen das andere Initscripte als Abhängigkeit. need net sollte das wahrscheinlichste sein. sshd benutzt z.B. sowas.

Code:
depend() {
   need net
}
Back to top
View user's profile Send private message
firefly
Advocate
Advocate


Joined: 31 Oct 2002
Posts: 4114

PostPosted: Tue Jan 30, 2007 4:05 pm    Post subject: Reply with quote

Code:
# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
# The following values are allowed:
#  none  - The 'net' service is always considered up.
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.
#  yes   - For this ALL network interfaces MUST be up for the 'net' service to
#          be considered up.

RC_NET_STRICT_CHECKING="no"

Setz mal diese variable auf "!net.*"
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3009
Location: Berlin

PostPosted: Tue Jan 30, 2007 5:19 pm    Post subject: Reply with quote

In welchem Script?
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Tue Jan 30, 2007 5:22 pm    Post subject: Reply with quote

flammenflitzer wrote:
In welchem Script?

/etc/conf.d/rc
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Jan 30, 2007 7:36 pm    Post subject: Reply with quote

/etc/conf.d/rc wrote:
RC_COLDPLUG="yes"
RC_PLUG_SERVICES="!net.eth0"

Sorgt dafür das net.eth0 beim coldpluggen während des Bootens nicht gestartet wird - aber alles andere was per coldplug startet wird auch weiterhin gestartet.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3009
Location: Berlin

PostPosted: Wed Jan 31, 2007 6:53 am    Post subject: Reply with quote

Habe ich gerade noach einmal durchgelesen. Probiere ich. Laut rc.conf ist die Syntax aber etwas anders.
Code:
RC_PLUG_SERVICES="net.eth0 !net.*"
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: München (Germany)

PostPosted: Wed Jan 31, 2007 9:01 am    Post subject: Reply with quote

flammenflitzer wrote:
Habe ich gerade noach einmal durchgelesen. Probiere ich. Laut rc.conf ist die Syntax aber etwas anders.
Code:
RC_PLUG_SERVICES="net.eth0 !net.*"


das startet net.eth0 immer und keine anderen net-devices

/edit: da es diese Frage häufig gibt - kann man die nicht mal in die "Häufigste Fragen" und so aufnehmen?
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Jan 31, 2007 5:22 pm    Post subject: Reply with quote

Necoro wrote:
da es diese Frage häufig gibt - kann man die nicht mal in die "Häufigste Fragen" und so aufnehmen?

Erledigt; es wird auf diesen Thread verwiesen

thx Necoro :)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3009
Location: Berlin

PostPosted: Sat Feb 03, 2007 1:08 pm    Post subject: Reply with quote

Danke
MfG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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