J Bond 0.07 wrote: > Bonjour, > J Bond 0.07 wrote: >> c.kumsta wrote: >> Arnaud Duplessier >> "Si une envie de travailler te prend recouche toi ca passera" >> >>> >> Voici mon dhcpd.conf copié d'après un exemple google. >> >> Les fautes sont dues probablement à l'ordre des déclarations plutot. >> >> >> # DHCP configuration generated by Firestarter >> nameserver 194.206.126.253; >> nameserver 194.206.126.54; >> # Mettez ici l'adresse de votre serveur, où celles fournies par votre >> FAI >> # qui se trouvent dans le fichier /etc/resolv.conf >> #option domain-name-servers 127.0.0.1; >> >> #option routers 192.168.0.1; >> # >> #subnet 192.168.0.0 netmask 255.255.255.0 { >> # authoritative; >> # range 192.168.0.1 192.168.0.24; >> # option broadcast-address 192.168.0.255; >> # >> # } >> >> >> >> >> subnet 192.168.88.0 netmask 255.255.255.0 { >> option routers 192.168.1.1; #l'adresse de la paserelle >> option routers 192.168.88.1; >> option domain-name "chikugugna.org"; >> option subnet-mask 192.168.88.255; >> option domain-name-servers 127.0.0.1; >> option ip-forwarding on; >> range 192.168.88.1 192.168.88.254 12h; >> default-lease-time 6000; #le tps de renouvelement >> max-lease-time 72000; #idem ;) >> } >> >> Voivi les fautes occasionnées : >> For info, please visit http://www.isc.org/sw/dhcp/ >> Feb 13 11:14:48 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 0: >> expecting a parameter or declaration >> Feb 13 11:14:48 localhost dhcpd: # DHCP configuration generated by >> Firestarter >> Feb 13 11:14:48 localhost dhcpd: ^ >> Feb 13 11:14:48 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 2: >> expecting a parameter or declaration >> Feb 13 11:14:48 localhost dhcpd: nameserver 194.206.126.253; >> Feb 13 11:14:48 localhost dhcpd: ^ >> Feb 13 11:14:48 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 27: >> semicolon expected. >> Feb 13 11:14:48 localhost dhcpd: ^Irange 192.168.88.1 192.168.88.254 12h; >> Feb 13 11:14:48 localhost >> dhcpd: ^ >> Feb 13 11:14:48 localhost dhcpd: Configuration file errors encountered >> -- exiting >> > J'ai modifié l'ordre, au plus près de l'exemple de google > et daemon.log n'enregistre plus rien!: > nameserver 194.206.126.253; > nameserver 194.206.126.54; > nameserver 127.0.0.1; > #option routers 192.168.0.1; > # > #subnet 192.168.0.0 netmask 255.255.255.0 { > # authoritative; > # range 192.168.0.1 192.168.0.24; > # option broadcast-address 192.168.0.255; > # > # } > > > > > subnet 192.168.88.0 netmask 255.255.255.0 { > range 192.168.88.1 192.168.88.254 12h; > option domain-name-servers 127.0.0.1; > option routers 192.168.88.1; > option domain-name "chikugugna.org"; > #option routers 192.168.1.1; #l'adresse de la paserelle > option ip-forwarding on; > default-lease-time 6000; #le tps de renouvelement > max-lease-time 72000; #idem ;) > } > pourtant c'est quasiment bon ! > > où il est, le bug??? > avahi-daemon[7532]: Registering new address record for fe80::213:8fff:fe7a:c6dd on eth0.*. Feb 13 12:38:05 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 Feb 13 12:38:20 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 Feb 13 12:38:28 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 Feb 13 12:38:29 localhost dhclient: No DHCPOFFERS received. Feb 13 12:38:29 localhost dhclient: No working leases in persistent database - sleeping. Feb 13 12:38:29 localhost avahi-autoipd(eth0)[31335]: Found user 'avahi-autoipd' (UID 105) and group 'avahi-autoipd' (GID 113). Feb 13 12:38:29 localhost avahi-autoipd(eth0)[31335]: Successfully called chroot(). Feb 13 12:38:29 localhost avahi-autoipd(eth0)[31335]: Successfully dropped root privileges. Feb 13 12:38:29 localhost avahi-autoipd(eth0)[31335]: Starting with address 169.254.10.9 Feb 13 12:38:34 localhost avahi-autoipd(eth0)[31335]: Callout BIND, address 169.254.10.9 on interface eth0 Feb 13 12:38:34 localhost avahi-daemon[7532]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.254.10.9. Feb 13 12:38:34 localhost avahi-daemon[7532]: IP_ADD_MEMBERSHIP failed: No buffer space available Feb 13 12:38:34 localhost avahi-daemon[7532]: Registering new address record for 169.254.10.9 on eth0.IPv4. Feb 13 12:38:38 localhost avahi-autoipd(eth0)[31335]: Successfully claimed IP address 169.254.10.9 Feb 13 12:38:40 localhost ntpdate[31490]: the NTP socket is in use, exiting Feb 13 12:38:41 localhost ntpdate[31627]: the NTP socket is in use, exiting Feb 13 12:38:42 localhost ntpdate[31766]: the NTP socket is in use, exiting
-- ubuntu-fr mailing list ubuntu-fr@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr