#1 Le 22/08/2011, à 22:16
- toma75
Connexion internet parfois absente
Bonsoir
j'ai installé Ubuntu sur mon PC ce week end et je suis surpris de constater que par moment je n'ai plus de connexion internet (or, tous les voyants de ma BBox sont au vert). Par exemple, aujourd'hui, j'ai pu me connecter toute la journée mais ce soir c'est impossible pendant qq instants et ca revient plus ou moins.
J'ai fait un test depuis Seven (même PC que celui sur lequel est installé Ubuntu mais pas en Dual boot; les 2 OS sont sur 2 HD distintcs) et ca marche !
Pourquoi et comment résoudre ce soucis ?
Merci
Hors ligne
#2 Le 22/08/2011, à 22:24
- chibbata
Re : Connexion internet parfois absente
salut
post le resultat de
lspci
lsusb
iwconfig
Hors ligne
#3 Le 22/08/2011, à 22:35
- toma75
Re : Connexion internet parfois absente
salut
et voilà :
richard@philippe-H67MA-UD2H-B3:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
01:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
richard@philippe-H67MA-UD2H-B3:~$ lsusb
Bus 003 Device 002: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 Flash drive controller
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0bda:0136 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
richard@philippe-H67MA-UD2H-B3:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
richard@philippe-H67MA-UD2H-B3:~$
Hors ligne
#4 Le 22/08/2011, à 22:39
- chibbata
Re : Connexion internet parfois absente
sudo update-usbids
repost
lsusb
cat /etc/lsb-release
Dernière modification par chibbata (Le 22/08/2011, à 22:41)
Hors ligne
#5 Le 22/08/2011, à 22:48
- toma75
Re : Connexion internet parfois absente
ca semble en effet la solution :
richard@philippe-H67MA-UD2H-B3:~$ lsusb
Bus 003 Device 002: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 Flash drive controller
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0bda:0136 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
richard@philippe-H67MA-UD2H-B3:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
richard@philippe-H67MA-UD2H-B3:~$
La cause venait de l'usb ?
Hors ligne
#6 Le 22/08/2011, à 23:05
- chibbata
Re : Connexion internet parfois absente
sudo apt-get install build-essential
wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.1/compat-wireless-3.1-rc1-1.tar.bz2
tar jxvf compat-wireless-3.1-rc1-1.tar.bz2
cd compat-wireless-3.1-rc1-1
make
sudo make install
sudo make unload
redemarres le pc
Hors ligne
#7 Le 22/08/2011, à 23:26
- toma75
Re : Connexion internet parfois absente
c'est toujours aussi aléatoire apparemment...
Hors ligne
#8 Le 22/08/2011, à 23:32
- chibbata
Re : Connexion internet parfois absente
ce n'est peut etre pas le bon module wifi qui est chargé,pour le savoir, post le resultat de
lsmod
Hors ligne
#9 Le 23/08/2011, à 07:59
- toma75
Re : Connexion internet parfois absente
voilà :
richard@philippe-H67MA-UD2H-B3:~$ lsmod
Module Size Used by
parport_pc 32111 0
ppdev 12849 0
snd_hda_codec_hdmi 27535 1
snd_hda_codec_realtek 255882 1
binfmt_misc 13213 1
snd_hda_intel 28209 2
snd_hda_codec 90901 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13274 1 snd_hda_codec
snd_pcm 80042 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
i915 451068 3
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
serio_raw 12990 0
drm_kms_helper 40745 1 i915
snd 55295 14 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
drm 184164 4 i915,drm_kms_helper
i2c_algo_bit 13184 1 i915
soundcore 12600 1 snd
snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
video 18951 1 i915
joydev 17322 0
lp 13349 0
parport 36746 3 parport_pc,ppdev,lp
usb_storage 43946 1
usbhid 41704 0
hid 77084 1 usbhid
uas 17676 0
ahci 21591 2
btrfs 527388 0
xhci_hcd 72190 0
r8169 46630 0
libahci 25548 1 ahci
zlib_deflate 26594 1 btrfs
libcrc32c 12543 1 btrfs
richard@philippe-H67MA-UD2H-B3:~$
UPDATE : ca merde depuis 18 h.
Voici le log :
Aug 23 18:06:20 philippe-H67MA-UD2H-B3 kernel: [ 1847.482184] r8169 0000:03:00.0: eth0: link up
Aug 23 18:06:21 philippe-H67MA-UD2H-B3 kernel: [ 1848.757524] r8169 0000:03:00.0: eth0: link up
Aug 23 18:07:42 philippe-H67MA-UD2H-B3 kernel: [ 1928.947248] r8169 0000:03:00.0: eth0: link up
Qu'est ce que j'ai de particulier pouvant expliquer ca ? Pas grand chose, j'ai juste redémarrer mon PC sur le SSD où il y a Seven pour travailler un peu et ensuite j'ai redémarré pour revenir sur Ubuntu.
La connexion sur Ubuntu a marché nickel de 9 h à 18 h...
Je vais essayer votre piste
Dernière modification par toma75 (Le 23/08/2011, à 18:21)
Hors ligne
#10 Le 23/08/2011, à 17:52
- chibbata
Re : Connexion internet parfois absente
sudo modprobe r8712u
Hors ligne
#11 Le 23/08/2011, à 18:31
- toma75
Re : Connexion internet parfois absente
Rien ne se passe quand je tape ca...
Hors ligne
#12 Le 23/08/2011, à 19:00
- chibbata
Re : Connexion internet parfois absente
sudo ifconfig eth0 down
sudo modprobe -r r8169
sudo modprobe r8169
sudo ifconfig eth0 up
post le resultat de
ifconfig
Dernière modification par chibbata (Le 23/08/2011, à 19:08)
Hors ligne
#13 Le 23/08/2011, à 19:04
- toma75
Re : Connexion internet parfois absente
Voila le résultat :
philippe@philippe-H67MA-UD2H-B3:~$ sudo modprobe -r r8712u
[sudo] password for philippe:
philippe@philippe-H67MA-UD2H-B3:~$ sudo modprobe r8192u_usb
philippe@philippe-H67MA-UD2H-B3:~$ sudo service network-manager restart
network-manager start/running, process 2992
philippe@philippe-H67MA-UD2H-B3:~$
Hors ligne
#14 Le 23/08/2011, à 19:10
- chibbata
Re : Connexion internet parfois absente
un malentendu!! je pensais que tu avais un probleme de wifi
sudo ifconfig eth0 down
sudo modprobe -r r8169
sudo modprobe r8169
sudo ifconfig eth0 up
post le resultat de
ifconfig
Dernière modification par chibbata (Le 23/08/2011, à 19:11)
Hors ligne
#15 Le 23/08/2011, à 19:46
- toma75
Re : Connexion internet parfois absente
voila :
eth0 Link encap:Ethernet HWaddr 1c:6f:65:c1:4c:85
inet adr:192.168.1.1 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::1e6f:65ff:fec1:4c85/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:14 erreurs:0 :14 overruns:0 frame:14
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:1903 (1.9 KB) Octets transmis:9989 (9.9 KB)
Interruption:41 Adresse de base:0xe000
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:16436 Metric:1
Packets reçus:269 erreurs:0 :0 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:25861 (25.8 KB) Octets transmis:25861 (25.8 KB)
Hors ligne
#16 Le 23/08/2011, à 20:02
- chibbata
Re : Connexion internet parfois absente
sudo ethtool eth0 autoneg off
ou change pour un kernel plus recent
essaye un kernel plus recent
telecharges ces 3 fichiers et tu les met dans le dossier Documents
http://kernel.ubuntu.com/~kernel-ppa/ma … 3_i386.deb
http://kernel.ubuntu.com/~kernel-ppa/ma … 13_all.deb
http://kernel.ubuntu.com/~kernel-ppa/ma … 3_i386.deb
cd ~/Documents
sudo dpkg -i linux-*.deb
redemarres le pc
Dernière modification par chibbata (Le 23/08/2011, à 20:09)
Hors ligne
#17 Le 23/08/2011, à 20:54
- toma75
Re : Connexion internet parfois absente
Pas tellement mieux avec le s3 fichiers hélas... ::
Voici mon terminal :
l
philippe@philippe-H67MA-UD2H-B3:~$ cd ~/Documents
philippe@philippe-H67MA-UD2H-B3:~/Documents$ sudo dpkg -i linux-*.deb
[sudo] password for philippe:
(Lecture de la base de données... 230815 fichiers et répertoires déjà installés.)
Préparation du remplacement de linux-headers-3.0.3-030003 3.0.3-030003.201108180913 (en utilisant linux-headers-3.0.3-030003_3.0.3-030003.201108180913_all.deb) ...
Dépaquetage de la mise à jour de linux-headers-3.0.3-030003 ...
Sélection du paquet linux-headers-3.0.3-030003-generic précédemment désélectionné.
Dépaquetage de linux-headers-3.0.3-030003-generic (à partir de linux-headers-3.0.3-030003-generic_3.0.3-030003.201108180913_i386.deb) ...
Préparation du remplacement de linux-image-3.0.3-030003-generic 3.0.3-030003.201108180913 (en utilisant linux-image-3.0.3-030003-generic_3.0.3-030003.201108180913_i386.deb) ...
Done.
Dépaquetage de la mise à jour de linux-image-3.0.3-030003-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
Paramétrage de linux-headers-3.0.3-030003 (3.0.3-030003.201108180913) ...
Paramétrage de linux-headers-3.0.3-030003-generic (3.0.3-030003.201108180913) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
Paramétrage de linux-image-3.0.3-030003-generic (3.0.3-030003.201108180913) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-3.0.3-030003-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
Not updating initrd symbolic links since we are being updated/reinstalled
(3.0.3-030003.201108180913 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.0.3-030003.201108180913 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.3-030003-generic /boot/vmlinuz-3.0.3-030003-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.3-030003-generic
Found initrd image: /boot/initrd.img-3.0.3-030003-generic
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sdc1
done
philippe@philippe-H67MA-UD2H-B3:~/Documents$
Il faut peut etre que j'active le depot proposed ?
Dernière modification par toma75 (Le 23/08/2011, à 21:22)
Hors ligne
#18 Le 23/08/2011, à 21:21
- chibbata
Re : Connexion internet parfois absente
telecharges linux-firmware
http://nl.archive.ubuntu.com/ubuntu/poo … 59_all.deb
installe le en double click ou click droit dessus et installer avec la la logitheque ou avec gdebi
puis
sudo update-initramfs -u
Hors ligne
#19 Le 23/08/2011, à 21:33
- toma75
Re : Connexion internet parfois absente
A priori, ca merdoit toujours mais un peu moins ;-(
Dernière modification par toma75 (Le 23/08/2011, à 21:35)
Hors ligne
#20 Le 23/08/2011, à 21:35
- chibbata
Re : Connexion internet parfois absente
meme aprés le redemarrage du pc?
en cas de probleme,demarre avec le kernel 2.6.38.11
Hors ligne
#21 Le 23/08/2011, à 21:51
- toma75
Re : Connexion internet parfois absente
J'ai fait plusieurs tests et, a priori, ca marche mieux avec le kernel 2.6.38.11. Ce n'est pas celui que j'avais au départ pourtant ?
Mais la connexion reste encore un peu aléatoire : pendant qq secondes c'est optimisé : je clique sur un lien et il s'affiche. Et puis qq secondes plus tard, je clique sur un lien et...
Dernière modification par toma75 (Le 23/08/2011, à 22:02)
Hors ligne
#22 Le 23/08/2011, à 21:58
- chibbata
Re : Connexion internet parfois absente
sudo ethtool eth0 autoneg off
fait des test
post le resultat de
ethtool eth0
Hors ligne
#23 Le 23/08/2011, à 22:05
- toma75
Re : Connexion internet parfois absente
petit soucis :
philippe@philippe-H67MA-UD2H-B3:~$ sudo ethtool eth0 autoneg off
sudo: ethtool: command not found
philippe@philippe-H67MA-UD2H-B3:~$
Hors ligne
#24 Le 23/08/2011, à 22:13
- chibbata
Re : Connexion internet parfois absente
sudo apt-get install ethtool
puis
sudo ethtool eth0 autoneg off
post le resultat de
ethtool eth0
Hors ligne
#25 Le 23/08/2011, à 22:28
- toma75
Re : Connexion internet parfois absente
Resultat de ethtool eth0 :
philippe@philippe-H67MA-UD2H-B3:~$ ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Cannot get link status: Operation not permitted
MAIS lorsque j'ai fait sudo ethtool eth0 autoneg off, j'ai eu ca :
Dépaquetage de ethtool (à partir de .../ethtool_1%3a2.6.37-1_i386.deb) ...
Traitement des actions différées (« triggers ») pour « man-db »...
Paramétrage de ethtool (1:2.6.37-1) ...
philippe@philippe-H67MA-UD2H-B3:~$ sudo ethtool eth0 autoneg off
ethtool: bad command line argument(s)
For more information run ethtool -h
philippe@philippe-H67MA-UD2H-B3:~$
Hors ligne