Re: problème d'accès internet wifi freebox au démarrage
Le 19-08-2014 12:57, nb a écrit :
Bonjour
Le Mardi 19 Août 2014 14:44 CEST, Nicolas <nicolas@tycho.fr> a écrit:
Mon fichier /etc/network/interfaces (installé par défaut et auquel je
n'ai jamais touché) contient ceci :
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhc
C'est "dhcp" qu'il devrait contenir.
Quel est le résultat des commandes "ifconfig -a" et "netstat -rn"
quand le pb se produit ?
Je ne vois pas de rapport avec systemd.
J'avance : apparemment c'est un problème lié à avahi. En effet, lors du
démarrage, voici les résultats des différentes commandes :
--------------------------------------------------------------------------
PING www.google.fr (173.194.66.94) 56(84) bytes of data.
From k53s.local (169.254.9.200) icmp_seq=1 Destination Host Unreachable
From k53s.local (169.254.9.200) icmp_seq=2 Destination Host Unreachable
From k53s.local (169.254.9.200) icmp_seq=3 Destination Host Unreachable
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 54:04:a6:47:7f:ee
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0:avahi Link encap:Ethernet HWaddr 54:04:a6:47:7f:ee
inet adr:169.254.9.200 Bcast:169.254.255.255
Masque:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
lo Link 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:65536 Metric:1
RX packets:417 errors:0 dropped:0 overruns:0 frame:0
TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:46227 (45.1 KiB) TX bytes:46227 (45.1 KiB)
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet adr:192.168.7.6 P-t-P:192.168.7.5
Masque:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:08:ca:29:18:15
inet adr:192.168.1.30 Bcast:192.168.1.255
Masque:255.255.255.0
adr inet6: fe80::208:caff:fe29:1815/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:218 errors:0 dropped:0 overruns:0 frame:0
TX packets:215 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:30064 (29.3 KiB) TX bytes:30033 (29.3 KiB)
# netstat -rn
Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt
Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0
eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
wlan0
10.160.6.0 192.168.7.5 255.255.255.0 UG 0 0 0
tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
192.168.7.0 192.168.7.5 255.255.255.0 UG 0 0 0
tun0
192.168.7.5 0.0.0.0 255.255.255.255 UH 0 0 0
tun0
--------------------------------------------------------------------------------
L'ip "169.254.9.200" n'est pas normale et je ne sais pas d'où vient ce
"eth0:avahi"
Je désinstalle donc les paquets suivants :
avahi-autoipd
avahi-daemon
libnss-mdns
Et je refais un test.
Reply to: