Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Winziges Netzwerk Problem
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
Aproxx
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 272

PostPosted: Mon Sep 15, 2003 2:39 pm    Post subject: Winziges Netzwerk Problem Reply with quote

Hallo!
Ich geh mit meinem Laptop über den Stand PC (mit DHCP) ins Internet. Doch wenn mein Lappie mal nicht an einem Netzwerk ist (soll ja mal passieren, zb.: in der Schule), hängt er beim booten knapp 2 Minuten bei setting eth0 up. Wie kann ich das machen, dass wenn keine Verbindung da ist, dass es trotzdem gleich weitergeht?
Mfg,
Alex
Back to top
View user's profile Send private message
el*Loco
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 91
Location: Cologne, Germany

PostPosted: Mon Sep 15, 2003 2:43 pm    Post subject: Reply with quote

Folgendes steht in /etc/init.d/net.eth0
Code:
                # Check that eth0 was not brough up by the kernel ...
                if [ "${status_IFACE}" != "up" ]
                then
                        /sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} >/dev/null || {
                                retval=$?
                                eend ${retval} "Failed to bring ${IFACE} up"
                                return ${retval}
                        }
                fi


Du könntest versuchen, die eine Zeile so zu schreiben:

Code:
/sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} -t 10 >/dev/null || {


Damit setzt du den DHCP Timeout auf 10 Sekunden, siehe manpage zu dhcpcd
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