View previous topic :: View next topic |
Author |
Message |
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Tue Jan 30, 2007 3:09 pm Post subject: [gelöst]eth0 Autostart |
|
|
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 |
|
|
Hypfvieh Tux's lil' helper
Joined: 18 Apr 2005 Posts: 82
|
Posted: Tue Jan 30, 2007 3:13 pm Post subject: |
|
|
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 |
|
|
Louisdor Veteran
Joined: 14 Dec 2003 Posts: 1231 Location: im Brandenburgischen
|
Posted: Tue Jan 30, 2007 3:22 pm Post subject: |
|
|
Wurde es "aus Versehen" vielleicht mal noch in einen anderen Runlevel eingefügt? Boot vielleicht?
Ciao,
aleX! _________________ "Ich bin ich." |
|
Back to top |
|
|
slick Bodhisattva
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Tue Jan 30, 2007 3:25 pm Post subject: |
|
|
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 |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5175
|
Posted: Tue Jan 30, 2007 4:05 pm Post subject: |
|
|
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 |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Tue Jan 30, 2007 5:19 pm Post subject: |
|
|
In welchem Script? |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Tue Jan 30, 2007 5:22 pm Post subject: |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue Jan 30, 2007 7:36 pm Post subject: |
|
|
/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 |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Wed Jan 31, 2007 6:53 am Post subject: |
|
|
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 |
|
|
Necoro Veteran
Joined: 18 Dec 2005 Posts: 1912 Location: Germany
|
Posted: Wed Jan 31, 2007 9:01 am Post subject: |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Jan 31, 2007 5:22 pm Post subject: |
|
|
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 |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Sat Feb 03, 2007 1:08 pm Post subject: |
|
|
Danke
MfG |
|
Back to top |
|
|
|