Bonjour et très heureux de retrouver mon forum préféré et ses personnages que je lit avec plaisir à chaque fois qu’ils sont sollicités par les utilisateurs en quêtes de réponse à leurs problèmes.
Ceci dit, mon souci se trouve dans mon laptop que je branche dans le réseau de mon lieu de travail.
Mon eth0 configurée en statique (voir le fichier interfaces : désolé pour les commentaires j’ai d’autres soucis avec la wifi surtout):
# 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
allow-hotplug eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.20.83
netmask 255.255.255.0
gateway 192.168.20.1
# The wireless interface
#allow-wireless eth2
#iface eth2 inet dhcp
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
#allow-wireless wlan0
#address 192.168.14.20
#netmask 255.255.255.0
#gateway 192.168.14.254
#wireless-mode managed
#wireless-essid debian
#wireless-key 98765432100123456789ABCDEF
Donc, cette eth0 marche un moment, ensuite après je perds la connexion avec mon laptop (et je suis obligé de faire un ifdown ensuite ifup eth0 pour retrouver la connexion pour un moment seulement), et quand je fais un ifconfig, je vois qu’elle a perdu son adresse ip. (voir le ifconfig)
eth0 Link encap:Ethernet HWaddr 00:a0:d1:67:f1:58
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1825 errors:0 dropped:0 overruns:0 frame:0
TX packets:705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:776698 (758.4 KiB) TX bytes:135123 (131.9 KiB)
eth0:avahi Link encap:Ethernet HWaddr 00:a0:d1:67:f1:58
inet adr:169.254.8.244 Bcast:169.254.255.255 Masque:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3080 (3.0 KiB) TX bytes:3080 (3.0 KiB)
Et dans le syslog je vois qu’il y a des dhclient qui se font (bizarre car eth0 est en statique)
Jan 16 11:07:32 bandit kernel: [ 4535.369177] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
Jan 16 11:07:32 bandit dhclient: Internet Systems Consortium DHCP Client V3.1.1
Jan 16 11:07:32 bandit dhclient: Copyright 2004-2008 Internet Systems Consortium.
Jan 16 11:07:32 bandit dhclient: All rights reserved.
Jan 16 11:07:32 bandit dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Jan 16 11:07:32 bandit dhclient:
Jan 16 11:07:32 bandit dhclient: wmaster0: unknown hardware address type 801
Jan 16 11:07:33 bandit dhclient: wmaster0: unknown hardware address type 801
Jan 16 11:07:33 bandit dhclient: Listening on LPF/eth0/00:a0:d1:67:f1:58
Jan 16 11:07:33 bandit dhclient: Sending on LPF/eth0/00:a0:d1:67:f1:58
Jan 16 11:07:33 bandit dhclient: Sending on Socket/fallback
Jan 16 11:07:37 bandit dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jan 16 11:07:45 bandit dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jan 16 11:07:55 bandit dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan 16 11:08:02 bandit dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
Jan 16 11:08:14 bandit dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
Jan 16 11:08:25 bandit dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
Jan 16 11:08:43 bandit dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
Jan 16 11:08:56 bandit dhclient: No DHCPOFFERS received.
Jan 16 11:08:56 bandit dhclient: Trying recorded lease 192.168.14.14
Jan 16 11:08:56 bandit avahi-daemon[2933]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.14.14.
Jan 16 11:08:56 bandit avahi-daemon[2933]: New relevant interface eth0.IPv4 for mDNS.
Jan 16 11:08:56 bandit avahi-daemon[2933]: Registering new address record for 192.168.14.14 on eth0.IPv4.
Jan 16 11:08:59 bandit avahi-daemon[2933]: Withdrawing address record for 192.168.14.14 on eth0.
Jan 16 11:08:59 bandit avahi-daemon[2933]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.14.14.
Jan 16 11:08:59 bandit avahi-daemon[2933]: Interface eth0.IPv4 no longer relevant for mDNS.
Jan 16 11:08:59 bandit avahi-autoipd(eth0)[6538]: Found user 'avahi-autoipd' (UID 103) and group 'avahi-autoipd' (GID 104).
Jan 16 11:08:59 bandit avahi-autoipd(eth0)[6538]: Successfully called chroot().
Jan 16 11:08:59 bandit avahi-autoipd(eth0)[6538]: Successfully dropped root privileges.
Jan 16 11:08:59 bandit avahi-autoipd(eth0)[6538]: fopen() failed: Permission denied
Jan 16 11:08:59 bandit avahi-autoipd(eth0)[6538]: Starting with address 169.254.8.244
Jan 16 11:09:03 bandit avahi-autoipd(eth0)[6538]: Callout BIND, address 169.254.8.244 on interface eth0
Jan 16 11:09:03 bandit avahi-daemon[2933]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.254.8.244.
Jan 16 11:09:03 bandit avahi-daemon[2933]: New relevant interface eth0.IPv4 for mDNS.
Jan 16 11:09:03 bandit avahi-daemon[2933]: Registering new address record for 169.254.8.244 on eth0.IPv4.
Jan 16 11:09:07 bandit avahi-autoipd(eth0)[6538]: Successfully claimed IP address 169.254.8.244
Jan 16 11:09:07 bandit avahi-autoipd(eth0)[6538]: fopen() failed: Permission denied
Jan 16 11:09:07 bandit dhclient: No working leases in persistent database - sleeping.
J’ai fais quelques tentatives pour résoudre le problème les voici :
- désactiver l’ipv6 (en blacklistant le module et reboot)
- arrêter tous process lié à wicd
- arrêter tous process avahi-autoipd mais ces derniers se relancent après un petit moment
“Je doute du watchdog”
Quelqu’un a eu le même problème ?
Merci pour votre aide