View previous topic :: View next topic |
Author |
Message |
Aproxx Apprentice
Joined: 25 Jul 2003 Posts: 272
|
Posted: Mon Sep 15, 2003 2:39 pm Post subject: Winziges Netzwerk Problem |
|
|
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 |
|
|
el*Loco Tux's lil' helper
Joined: 29 Jan 2003 Posts: 91 Location: Cologne, Germany
|
Posted: Mon Sep 15, 2003 2:43 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|