% cat /etc/resolv.conf
search
nameserver 212.27.54.252
nameserver 212.27.53.252
% cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
[^] # Re: bon, alors voila...
Posté par Hobgoblins Master . En réponse au message sid dhclient freebox. Évalué à 1.
search
nameserver 212.27.54.252
nameserver 212.27.53.252
% cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
% sudo ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:0C:76:18:9A:E6
inet adr:169.x.x.x Bcast:192.168.123.255 Masque:255.255.255.0
adr inet6: fe80::20c:76ff:fe18:9ae6/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40903 errors:0 dropped:0 overruns:0 frame:0
TX packets:38382 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:18267691 (17.4 MiB) TX bytes:11812748 (11.2 MiB)
Interruption:177 Adresse de base:0xdc00
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68294 errors:0 dropped:0 overruns:0 frame:0
TX packets:68294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:14074229 (13.4 MiB) TX bytes:14074229 (13.4 MiB)
sit0 Lien encap:IPv6-dans-IPv4
NOARP MTU:1480 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 lg file transmission:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Extrait de /var/log/boot
Thu Jul 27 14:56:02 2006: Listening on LPF/eth0/00:0c:76:18:9a:e6
Thu Jul 27 14:56:02 2006: Sending on LPF/eth0/00:0c:76:18:9a:e6
Thu Jul 27 14:56:02 2006: Sending on Socket/fallback/fallback-net
Thu Jul 27 14:56:02 2006: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Thu Jul 27 14:56:02 2006: DHCPOFFER from 192.168.123.254
Thu Jul 27 14:56:02 2006: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Thu Jul 27 14:56:02 2006: DHCPACK from 192.168.123.254
Thu Jul 27 14:56:02 2006: bound to 192.168.123.2 -- renewal in 432000 seconds.
Thu Jul 27 14:56:02 2006: done.
J'ai mis 169.x.x.x car je n'ai pas envie de rebooter là maintenant tout de suite...