reseau en panne?
dune2
c.kumsta at free.fr
Dim 10 Fév 14:23:36 UTC 2008
Salut,
les erreurs sont données clairement dans le log :
ligne 4 :
option domain-name "chikungugna.org"=inet;
il faut supprimer =inet qui n'a pas lieu d'être;
-> option domain-name "chikungugna.org";
ligne 28 :
range 192.168.88.1 192.168.88.254 #dynamic-bootp 192.168.88.1
192.168.88.254;
Il faut que tu fasses attention, car il te manque un ";" à la fin de la
ligne (et fait attention, à ce qu'il n'y ait pas de retour chariot au
milieu de ton commentaire "#dynamic-bootp 192.168.88.1
192.168.88.254;" ).
-> range 192.168.88.1 192.168.88.254;
dune2.
Le dimanche 10 février 2008 à 10:55 +0100, J Bond 0.07 a écrit :
> Voici mon dhcpd.conf que ne sais pas complèter,svp?
>
> # DHCP configuration generated by Firestarter
> #ddns-update-style interim;
> client-updates;
> domain-name "chikungugna.org"=inet
> 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.88.1;
> 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 #dynamic-bootp 192.168.88.1
> 192.168.88.254;
> }
>
>
>
> Voici mon /var/log/daemon.log : (dhcpcd.conf)
> Configuration file errors encountered -- exiting
> Feb 10 10:39:14 localhost dhcpd: Internet Systems Consortium DHCP Server
> V3.0.5
> Feb 10 10:39:14 localhost dhcpd: Copyright 2004-2006 Internet Systems
> Consortium.
> Feb 10 10:39:14 localhost dhcpd: All rights reserved.
> Feb 10 10:39:14 localhost dhcpd: For info, please visit
> http://www.isc.org/sw/dhcp/
> Feb 10 10:39:14 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 4: semicolon
> expected.
> Feb 10 10:39:14 localhost dhcpd: option
> Feb 10 10:39:14 localhost dhcpd: ^
> Feb 10 10:39:14 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 4: expecting
> a parameter or declaration
> Feb 10 10:39:14 localhost dhcpd: option domain-name "chikungugna.org"=inet;
> Feb 10 10:39:14 localhost dhcpd: ^
> Feb 10 10:39:14 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 28:
> semicolon expected.
> Feb 10 10:39:14 localhost dhcpd: }
> Feb 10 10:39:14 localhost dhcpd: ^
> Feb 10 10:39:14 localhost dhcpd: /etc/dhcp3/dhcpd.conf line 28:
> unexpected end of file
> Feb 10 10:39:14 localhost dhcpd: }
> Feb 10 10:39:14 localhost dhcpd: ^
> Feb 10 10:39:14 localhost dhcpd: Configuration file errors encountered
> -- exiting
> Feb 10 10:39:14 localhost ntpdate[10402]: can't find host ntp.ubuntu.com
> Feb 10 10:39:14 localhost ntpdate[10402]: no servers can be used, exiting
> Feb 10 10:43:56 localhost dhclient: DHCPDISCOVER on eth0 to
> 255.255.255.255 port 67 interval 7
> Feb 10 10:44:03 localhost dhclient: DHCPDISCOVER on eth0 to
> 255.255.255.255 port 67 interval 13
> Feb 10 10:44:16 localhost dhclient: DHCPDISCOVER on eth0 to
> 255.255.255.255 port 67 interval 10
> Feb 10 10:44:26 localhost dhclient: DHCPDISCOVER on eth0 to
> 255.255.255.255 port 67 interval 1
> Feb 10 10:44:27 localhost dhclient: No DHCPOFFERS received.
>
> Tout ça parce que je découvre la programmation c...
>
> en tout cas le pb de MTU, devrrait disparaitre avec ntpd
>
> >>
>
Plus d'informations sur la liste de diffusion ubuntu-fr