Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Vorgang entruempeln - Initscripte
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
Asante
n00b
n00b


Joined: 11 Jun 2007
Posts: 34
Location: Bochum (NRW-DE)

PostPosted: Wed Jan 05, 2011 11:07 am    Post subject: Boot Vorgang entruempeln - Initscripte Reply with quote

Hey,
ich hab mein gentoo aufm laptop laufen, mit dem ich oefters mal unterwegs bin und deswegen vorzugsweise das wlan benutze.. nur startet aber beim booten immer eth0 zuerst und blockiert damit die route..
da ich eth0 egntl nur in ausnahmen brauche, moechte ich es gerne aus dem default runlevel haben und nur bei bedarf per hand starten.
also hab ich eth0 aus dem default runlevel ausgetragen, es wird aber immer noch gestartet?

hab hier im forum nen vorschlag gefunden, der ein aehnliches problem beschreibt:
firefly wrote:
eventuell liegt es an diesen beiden einstellungen, dass net.eth0 nicht bedacht wird, als passende Voraussetzung für "need net"
Code:
hotplug_eth0="no"
hotplug_wlan0="yes"


hmm kann es sein das net.wlan0 über den default oder einem anderen runlevel gestartet wird?
Wenn ja dann schau dir mal folgende Option, bzw. Ihrer Beschreibung an:

Code:
# Do we allow any started service in the runlevel to satisfy the depedency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
#rc_depend_strict="YES"

allerdings glaube ich nich, dass mir das hilft?

meine runlevels sehen zur zeit so aus:
Code:
# rc-update show
               acpid | battery      default                 
           alsasound |         boot                         
            bootmisc |         boot                         
             checkfs |         boot                         
           checkroot |         boot                         
               clock |         boot                         
         consolefont |         boot                         
               cupsd | battery      default                 
                dbus | battery      default                 
                 gpm | battery      default                 
                hald | battery      default                 
            hostname |         boot                         
             keymaps |         boot                         
         laptop_mode | battery      default                 
               local | battery      default nonetwork       
          localmount |         boot                         
             modules |         boot                         
              net.lo |         boot                         
           net.wlan0 | battery      default                 
                 nfs |         boot                         
           rmnologin |         boot                         
           syslog-ng | battery      default                 
      udev-postmount |              default                 
             urandom |         boot                         
          vixie-cron | battery      default


außerdem brauch ich nfs doch egntl auch nur, wenn ich festplatten o.ae. uebers netzwerk mounten moechte, oder?
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Wed Jan 05, 2011 11:40 am    Post subject: Re: Boot Vorgang entruempeln - Initscripte Reply with quote

Asante wrote:

da ich eth0 egntl nur in ausnahmen brauche, moechte ich es gerne aus dem default runlevel haben und nur bei bedarf per hand starten.
also hab ich eth0 aus dem default runlevel ausgetragen, es wird aber immer noch gestartet?


Wenn eth0 per Hotplug gestartet wird, steht das ganz zu Beginn der Boot Meldungen (sowas wie "Hotplugging devices eth0"). Das Hotplugging von eth0 kannst du verhindern in /etc/conf.d/rc
Code:

RC_PLUG_SERVICES="!net.eth0"


oder für OpenRC in /etc/rc.conf
Code:

rc_hotplug="!net.eth0"

_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
Asante
n00b
n00b


Joined: 11 Jun 2007
Posts: 34
Location: Bochum (NRW-DE)

PostPosted: Wed Jan 05, 2011 12:12 pm    Post subject: Re: Boot Vorgang entruempeln - Initscripte Reply with quote

forrestfunk81 wrote:

Wenn eth0 per Hotplug gestartet wird, steht das ganz zu Beginn der Boot Meldungen (sowas wie "Hotplugging devices eth0"). Das Hotplugging von eth0 kannst du verhindern in /etc/conf.d/rc
Code:

RC_PLUG_SERVICES="!net.eth0"



das wars. danke!

kann mir dann noch jemand sagen, wofuer ich nfs im runlevel brauche?
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Wed Jan 05, 2011 12:37 pm    Post subject: Re: Boot Vorgang entruempeln - Initscripte Reply with quote

Asante wrote:
kann mir dann noch jemand sagen, wofuer ich nfs im runlevel brauche?

Auszug aus der Kernel-Doku:
"If you don't know what it is, probably you don't need it."

Sofern du kein Netzwerk mit nfs-Freigaben in Betrieb hast, brauchst du's auch nicht.
Back to top
View user's profile Send private message
Asante
n00b
n00b


Joined: 11 Jun 2007
Posts: 34
Location: Bochum (NRW-DE)

PostPosted: Wed Jan 05, 2011 3:53 pm    Post subject: Reply with quote

ja.. das hab ich mir auch gedacht, aber als ichs dann ausm runlevel genommen hab, ist der laptop beim booten haengen geblieben.. leider weiß ich nich mehr, wobei genau und hab keine livecd hier, mit der ich nach dem testen chrooten kann.
hat sonst jemand ne idee im kopf?
ansonsten muesst ichs am wochenende nochmal ausprobieren und die fehlermeldung hier posten..
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