Ich wollte mal yadi mit dhcp versuchen. Dazu habe ich folgendes in /etc/network/interfaces gepackt:
Code: Alles auswählen
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Code: Alles auswählen
eth0 Link encap:Ethernet HWaddr 00:50:9C:40:52:3B
inet addr:0.0.0.24 Bcast:255.255.255.255 Mask:0.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9306 (9.0 KiB) TX bytes:7712 (7.5 KiB)
Base address:0x3d00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Code: Alles auswählen
/ # udhcpc -n -i eth0
info, udhcpc (v0.9.9-pre) started
debug, Sending discover...
debug, Sending select for 192.168.1.14...
info, Lease of 192.168.1.14 obtained, lease time 900
route: SIOC[ADD|DEL]RT: Network is unreachable
/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:9C:40:52:3B
inet addr:0.0.0.24 Bcast:255.255.255.255 Mask:0.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11484 (11.2 KiB) TX bytes:13022 (12.7 KiB)
Base address:0x3d00
/ #