Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp client beim booten "backgrounden"?
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
meinereinerseiner
n00b
n00b


Joined: 13 Feb 2004
Posts: 14

PostPosted: Sat Feb 14, 2004 6:27 pm    Post subject: dhcp client beim booten "backgrounden"? Reply with quote

hi,

mal eine frage und zwar wenn ich dhcp nutze und meinen schleppi
mal offline booten will, dauert es ewig bis der dhcp mit einem
timeout abbricht. .... kann mann sowas nicht wie bei suse oder
knoppix backgrounden?

thx

der tom
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Sat Feb 14, 2004 6:39 pm    Post subject: Reply with quote

hi,
du kannst hinter den dhcp aufruf ein
Code:

&

setzen, der prozess rutscht dann in den hintergrund...
falls das so nicht geht, kannst du dir auch einen wrapper schreiben:
Code:

#/bin/sh
/pfad/zum/dhcp/client --optionen

abspeichern und das script als
Code:

/sbin/[scriptname] &

aufrufen

sollte so funktionieren...
gruss
rootshell
_________________
"The compiler has tried twice to abort and cannot do so; therefore, compilation will now terminate."
-- IBM PL/I (F) error manual
Back to top
View user's profile Send private message
MrTom
l33t
l33t


Joined: 20 Jan 2003
Posts: 608

PostPosted: Sun Feb 15, 2004 4:27 pm    Post subject: Reply with quote

Da mein Notebook zu 90% DHCP macht, hab ich es noch nicht im Hintergrund laufen lassen bzw. getestet.
Hab bei mir in net.eth0 beim dhcp einfach einen kleineren Timeout eingegeben.
Als Standard steht da nix bei und somit ist er seeeehhhrr lang (glaub eine Minute oder so).
Der Timeout wird mit -t xx angegeben. Bei mir sind (glaub ich) 10 Sekunden drin.
Back to top
View user's profile Send private message
lolli78
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 162
Location: Europe

PostPosted: Sun Feb 15, 2004 4:55 pm    Post subject: Reply with quote

hallo,
der dhcp-client müsste sich eigentlich auch beim starten mit strg-c abbrechen lassen. das habe ich mal instinktiv gemacht, als irgendwas hing - und es hat funktioniert, zumindest bei mir damals...
lorenz.
_________________
frag' doch deinadmin.de
Back to top
View user's profile Send private message
meinereinerseiner
n00b
n00b


Joined: 13 Feb 2004
Posts: 14

PostPosted: Sun Feb 15, 2004 5:46 pm    Post subject: Reply with quote

@MrTom
thx - das mit dem timeout war ein guter vorschlag, das tut und damit
kann ich leben


@lolli78
also strg-c greift bei mir in diesem stadium noch nicht.


der tom
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Sun Feb 15, 2004 5:52 pm    Post subject: Reply with quote

Hier http://loki.ram.rwth-aachen.de/viewcvs.cgi/gentoo/rc-scripts/net.ethX/ gibts nen neues rc.script für dhcp als background. Brauchst aber mii-diag für.
Funzt gut bei mir.
Back to top
View user's profile Send private message
meinereinerseiner
n00b
n00b


Joined: 13 Feb 2004
Posts: 14

PostPosted: Sun Feb 15, 2004 7:09 pm    Post subject: Reply with quote

hmm, sieht net aus - rennt aber bei mir auf dem schleppi nicht.
selbst wenn ich mit kabel boote ist mii-diag der meinung das kein
kabel angeschlossen ist :-((
tausche ich das script gegen das orginale net.eth0 und rufe
/etc/init.d/net.eth0 restart
auf, ist die karte aktiv und das netz geht.



schade eigentlich, währe die non-plus-ultra lösung gewesen.

der tom
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