Pages : 1
#1 Le 09/05/2016, à 07:19
- pierre26
Ethernet OK, internet KO
Bonjour à tous,
Mon problème: ma connexion internet ne fonctionne plus.
L'ethernet fontionne, mais pas l'accès internet.
Ma configuration: Unbuntu 14.04 LTS, Carte Ethernet 1Gb sur PCI, Ethernet filaire, Switch 1Gb, Livebox 3 ADSL
Détail des symptômes:
- l'Ethernet fonctionne, j'accède au serveur de la Livebox (en 192.168.1.1)
- la Livebox fonctionne:
mes autres ordinateurs (Windows, Android) accèdent à Internet
la Livebox détecte correctement le PC Ubuntu et lui attribue une adresse IP (en 192.168.1.17)
- Les accès internet ne fonctionnent pas (Chrome ou Firefox même souci)
- Ca ne semble pas être non plus un problème de DNS
http://www.google.fr/ ne fonctionne pas
http://173.194.67.94/ ne fonctionne pas non plus
Je n'ai pas trouvé de discussion existante parlant d'un problème similaire...
Merci d'avance pour votre aide!
Voici quelques logs de commandes:
-------------------------------------------------------------------------
sudo ifconfig
-------------------------------------------------------------------------
eth0 Link encap:Ethernet HWaddr 14:d6:4d:1d:01:28
inet adr:192.168.1.17 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::16d6:4dff:fe1d:128/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:3314 erreurs:0 :0 overruns:0 frame:0
TX packets:2519 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:1154850 (1.1 MB) Octets transmis:1005191 (1.0 MB)
eth1 Link encap:Ethernet HWaddr 00:26:18:1c:35:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
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
Packets reçus:7084 erreurs:0 :0 overruns:0 frame:0
TX packets:7084 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:568284 (568.2 KB) Octets transmis:568284 (568.2 KB)
-------------------------------------------------------------------------
sudo nm-tool
-------------------------------------------------------------------------
NetworkManager Tool
State: connected (global)
- Device: eth0 [Carte 1 GB] ---------------------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: 14:D6:4D:1D:01:28
Capabilities:
Carrier Detect: yes
Speed: 1000 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.17
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
- Device: eth1 -----------------------------------------------------------------
Type: Wired
Driver: ATL1E
State: unavailable
Default: no
HW Address: 00:26:18:1C:35:78
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
sudo nm-tool
NetworkManager Tool
State: connected (global)
- Device: eth0 [Carte 1 GB] ---------------------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: 14:D6:4D:1D:01:28
Capabilities:
Carrier Detect: yes
Speed: 1000 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.17
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
- Device: eth1 -----------------------------------------------------------------
Type: Wired
Driver: ATL1E
State: unavailable
Default: no
HW Address: 00:26:18:1C:35:78
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
-------------------------------------------------------------------------
lspci
-------------------------------------------------------------------------
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
02:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface (rev b2)
05:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
05:01.0 Multimedia controller: Pinnacle Systems Inc. AV/DV Studio Capture Card
05:01.1 FireWire (IEEE 1394): Pinnacle Systems Inc. Device 0015
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
$ sudo ifdown eth0
ifdown: interface eth0 not configured
$ sudo ifup eth0
Ignoring unknown interface eth0=eth0.
-------------------------------------------------------------------------
sudo lshw -C network
-------------------------------------------------------------------------
*-network
description: Ethernet interface
produit: AR8121/AR8113/AR8114 Gigabit or Fast Ethernet
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: eth1
version: b0
numéro de série: 00:26:18:1c:35:78
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=ATL1E driverversion=1.0.0.7-NAPI firmware=L1e latency=0 link=no multicast=yes port=twisted pair
ressources: irq:17 mémoire:fe9c0000-fe9fffff portE/S:cc00(taille=128)
*-network
description: Ethernet interface
produit: DGE-528T Gigabit Ethernet Adapter
fabriquant: D-Link System Inc
identifiant matériel: 0
information bus: pci@0000:05:00.0
nom logique: eth0
version: 10
numéro de série: 14:d6:4d:1d:01:28
taille: 1Gbit/s
capacité: 1Gbit/s
bits: 32 bits
horloge: 66MHz
fonctionnalités: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.17 latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=1Gbit/s
ressources: irq:16 portE/S:e800(taille=256) mémoire:febffc00-febffcff mémoire:febc0000-febdffff
-------------------------------------------------------------------------
sudo lsmod
-------------------------------------------------------------------------
Module Size Used by
nls_iso8859_1 12713 1
usb_storage 62209 1
bnep 19624 2
rfcomm 69160 0
bluetooth 391136 10 bnep,rfcomm
binfmt_misc 17468 1
snd_hda_codec_hdmi 46368 1
hid_generic 12548 0
usbhid 52659 0
hid 106148 2 hid_generic,usbhid
coretemp 13435 0
kvm_intel 143187 0
snd_hda_codec_realtek 65904 1
kvm 455843 1 kvm_intel
snd_seq_midi 13324 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30616 1 snd_seq_midi
snd_hda_intel 56611 5
snd_seq 61616 2 snd_seq_midi_event,snd_seq_midi
snd_hda_codec 193017 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 102099 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
serio_raw 13462 0
radeon 1522941 5
lpc_ich 21080 0
ttm 93424 1 radeon
drm_kms_helper 55071 1 radeon
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29495 2 snd_pcm,snd_seq
drm 303102 7 ttm,drm_kms_helper,radeon
snd 69322 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
i2c_algo_bit 13413 1 radeon
soundcore 12680 1 snd
shpchp 37032 0
asus_atk0110 18657 0
mac_hid 13205 0
parport_pc 32701 0
ppdev 17671 0
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
psmouse 106692 0
firewire_ohci 40409 0
firewire_core 68769 1 firewire_ohci
r8169 71677 0
crc_itu_t 12707 1 firewire_core
mii 13934 1 r8169
pata_acpi 13038 0
atl1e 42380 0
floppy 69418 0
pata_marvell 12923 0
Hors ligne
#2 Le 09/05/2016, à 20:48
- ares
Re : Ethernet OK, internet KO
Bonsoir,
Ton PC a deux carte réseaux
Tu peux donner le contenu du fichier de cnx qui se trouve dans le dossier :
/etc/NetworkManager/system-connections/
@+
Le droit d'emmerder Dieu BNF
Hors ligne
#3 Le 11/05/2016, à 19:35
- chamalow
Re : Ethernet OK, internet KO
Tu peux essayer ça:
Ouvrir le fichier /etc/NetworkManager/NetworkManager.conf et changer
dns=dnsmasq
Par;
#dns=dnsmasq
Ensuite redémarrer NetworkManager:
sudo service network-manager restart
Et voir si tout refonctionne
Hors ligne
#4 Le 29/05/2016, à 17:39
- pierre26
Re : Ethernet OK, internet KO
Bonjour,
Merci pour vos réponses.
Voici le contenu du fichier de connexion qui se trouve dans /etc/NetworkManager/system-connections/
[802-3-ethernet]
duplex=full
mac-address=14:D6:4D:1D:01:28
[connection]
id=Carte 1 GB
uuid=7a3a82dd-7536-434e-870a-5e22a6ab5c42
type=802-3-ethernet
timestamp=1461011252
[ipv6]
method=auto
[ipv4]
method=auto
ignore-auto-dns=true
J'ai essayé de commenter "dns=dnsmasq" dans /etc/NetworkManager/NetworkManager.conf
(et redémarrer NetworkManager)
==> pas de résultat probant.
J'ai ensuite été intrigué par la ligne "ignore-auto-dns=true" de /etc/NetworkManager/system-connections/...
Donc je suis allé dans la configuration des connexions réseau:
Dans l'onglet IPv4, la "méthode" était réglée sur "adresses automatiques uniquement (DHCP)" (je ne saurais dire pourquoi)
J'ai mis sur "Automatique (DHCP)",
Redémarré le NetworkManager
==> le fichier dans /etc/NetworkManager/system-connections/... devient:
[802-3-ethernet]
duplex=full
mac-address=14:D6:4D:1D:01:28
[connection]
id=Carte 1 GB
uuid=7a3a82dd-7536-434e-870a-5e22a6ab5c42
type=802-3-ethernet
timestamp=1464538556
[ipv6]
method=auto
[ipv4]
method=auto
Mais toujours pas de connexion.
J'ai débranché / rebranché le cable réseau
==> miracle!
Je ne sais expliquer pourquoi, mais depuis 30 minutes ça fonctionne.
Hors ligne
Pages : 1