DHCP Client unter debian

Florian Lohoff flo at rfc822.org
Tue Dec 10 21:40:02 CET 2002


On Tue, Dec 10, 2002 at 09:28:55PM +0100, Florian Schwarz wrote:
> Hiho,
> 
> wie kann ich unter debian nen dhcp client ordentlich einrichten? Ich 
> will erreichen dass immer
> wenn ich nen Netzwerkkabel reinstecke sich die Kiste ne neue IP vom 
> dhcpd holt.

Das wirst du SO nicht hinbekommen - Aber immer wenn du ifup machst

Ein 

auto eth0
iface eth0 inet dhcp

In der /etc/network/interfaces holt sich automagisch beim hochfahren des
interfaces eine ip addresse - Gibt allerdings wenns keine gibt nach nen
paar minuten auf. Wenns um einen laptop geht - Ich habe einfach in den
suspend/resume scripten nen ifdown/ifup drin ...

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
                        Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20021210/46ce64b5/attachment.sig>


More information about the Linux mailing list