Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#1 Le 16/07/2013, à 22:33

pchf

Connexion intermittente : Realtek Semiconductor Co., Ltd. RTL8111/8168

Bonjour,

ma connexion wifi n'est pas stable, elle s'arrête de temps en temps et je dois faire

rfkill block 1
rfkill unblock 1

pour la faire repartir.

wificheck quand ça marche:

>>    cat /etc/lsb-release 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"

>>    lsusb 

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1bcf:2899 Sunplus Innovation Technology Inc. 
Bus 002 Device 003: ID 8087:07da Intel Corp. 

>>    lspci -k -nn | grep -A 3 -i net 

07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 07)
	Subsystem: Dell Device [1028:054d]
	Kernel driver in use: r8169
08:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 [8086:088e] (rev 24)
	Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN [8086:4460]
	Kernel driver in use: iwlwifi
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)

>>    sudo lshw -C network 

  *-network
       description: Ethernet interface
       produit: RTL8111/8168 PCI Express Gigabit Ethernet controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:07:00.0
       nom logique: eth0
       version: 07
       numéro de série: d4:be:d9:84:d2:62
       taille: 10Mbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix vpd bus_master cap_list 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=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       ressources: irq:44 portE/S:2000(taille=256) mémoire:d1404000-d1404fff mémoire:d1400000-d1403fff
  *-network
       description: Interface réseau sans fil
       produit: Centrino Advanced-N 6235
       fabriquant: Intel Corporation
       identifiant matériel: 0
       information bus: pci@0000:08:00.0
       nom logique: wlan0
       version: 24
       numéro de série: c4:85:08:f3:c1:c2
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=3.8.0-25-generic firmware=18.168.6.1 ip=192.168.0.10 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       ressources: irq:49 mémoire:d1600000-d1601fff

>>    lsmod 

Module                  Size  Used by
joydev                 17377  0 
dm_crypt               22820  1 
parport_pc             28152  0 
ppdev                  17073  0 
rfcomm                 42641  12 
bnep                   18036  2 
binfmt_misc            17500  1 
arc4                   12615  2 
uvcvideo               80847  0 
videobuf2_vmalloc      13056  1 uvcvideo
videobuf2_memops       13202  1 videobuf2_vmalloc
videobuf2_core         40513  1 uvcvideo
videodev              129260  2 uvcvideo,videobuf2_core
iwldvm                241872  0 
mac80211              606457  1 iwldvm
coretemp               13355  0 
kvm_intel             132891  0 
kvm                   443165  1 kvm_intel
dell_wmi               12681  0 
sparse_keymap          13890  1 dell_wmi
snd_hda_codec_hdmi     36913  1 
snd_hda_codec_realtek    78399  1 
dell_laptop            17369  0 
dcdbas                 14397  1 dell_laptop
snd_hda_intel          39619  3 
snd_hda_codec         136453  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm                97451  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30180  1 snd_seq_midi
microcode              22881  0 
snd_seq                61554  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29425  2 snd_pcm,snd_seq
snd                    68876  16 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
btusb                  22474  0 
iwlwifi               173477  1 iwldvm
rtsx_pci_ms            13011  0 
memstick               16554  1 rtsx_pci_ms
bluetooth             228619  22 bnep,btusb,rfcomm
psmouse                95870  0 
serio_raw              13215  0 
cfg80211              510937  3 iwlwifi,mac80211,iwldvm
lpc_ich                17061  0 
mei                    41158  0 
soundcore              12680  1 snd
mac_hid                13205  0 
lp                     17759  0 
parport                46345  3 lp,ppdev,parport_pc
rtsx_pci_sdmmc         17475  0 
ahci                   25731  3 
libahci                31364  1 ahci
ghash_clmulni_intel    13259  0 
aesni_intel            55399  416 
aes_x86_64             17255  1 aesni_intel
xts                    12885  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  2 lrw,xts
ablk_helper            13597  1 aesni_intel
cryptd                 20373  4 ghash_clmulni_intel,aesni_intel,ablk_helper
nouveau               939088  0 
r8169                  67446  0 
rtsx_pci               33355  2 rtsx_pci_ms,rtsx_pci_sdmmc
mxm_wmi                13021  1 nouveau
wmi                    19070  3 dell_wmi,mxm_wmi,nouveau
i915                  600396  3 
sdhci_pci              18590  0 
ttm                    83187  1 nouveau
sdhci                  32522  1 sdhci_pci
video                  19390  2 i915,nouveau
i2c_algo_bit           13413  2 i915,nouveau
drm_kms_helper         49394  2 i915,nouveau
drm                   286028  6 ttm,i915,drm_kms_helper,nouveau
>>    iwconfig 

wlan0     IEEE 802.11abgn  ESSID:"sable"  
          Mode:Managed  Frequency:2.427 GHz  Access Point: 8A:4A:25:58:CB:AC   
          Bit Rate=130 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=65/70  Signal level=-45 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:602  Invalid misc:53   Missed beacon:0


>>    ifconfig -a 

eth0      Link encap:Ethernet  HWaddr d4:be:d9:84:d2:62  
          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:0
          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:705 erreurs:0 :0 overruns:0 frame:0
          TX packets:705 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:59354 (59.3 KB) Octets transmis:59354 (59.3 KB)

wlan0     Link encap:Ethernet  HWaddr c4:85:08:f3:c1:c2  
          inet adr:192.168.0.10  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::c685:8ff:fef3:c1c2/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:3144 erreurs:0 :0 overruns:0 frame:0
          TX packets:2479 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:2899382 (2.8 MB) Octets transmis:457077 (457.0 KB)


>>    sudo iwlist scan 

wlan0     Scan completed :
          Cell 01 - Address: 8A:4A:25:58:CB:AC
                    Channel:4
                    Frequency:2.427 GHz (Channel 4)
                    Quality=70/70  Signal level=-40 dBm  
                    Encryption key:on
                    ESSID:"sable"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000001c533767f
                    Extra: Last beacon: 242904ms ago
                    IE: Unknown: 00057361626C65
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030104
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D1604050700000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3404050700000000000000000000000000000000000000


>>    uname -r -m 

3.8.0-25-generic x86_64

>>    cat /etc/network/interfaces 

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

>>    nm-tool 


NetworkManager Tool

State: connected (global)

- Device: wlan0  [sable] -------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            iwlwifi
  State:             connected
  Default:           yes
  HW Address:        C4:85:08:F3:C1:C2

  Capabilities:
    Speed:           130 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    FreeWifi_secure: Infra, 8A:4A:25:58:CB:AE, Freq 2427 MHz, Rate 54 Mb/s, Strength 100 WPA Enterprise
    Livebox-b141:    Infra, 00:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 52 WPA WPA2
    FreeWifi:        Infra, 8A:4A:25:58:CB:AD, Freq 2427 MHz, Rate 54 Mb/s, Strength 100
    orange:          Infra, 0A:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 55
    *sable:          Infra, 8A:4A:25:58:CB:AC, Freq 2427 MHz, Rate 65 Mb/s, Strength 78 WPA WPA2

  IPv4 Settings:
    Address:         192.168.0.10
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.254

    DNS:             212.27.40.241
    DNS:             212.27.40.240


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        D4:BE:D9:84:D2:62

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off



>>    sudo rfkill list 

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

les diffs quand ça marche pas :

--- wificheck-ok.log	2013-07-16 21:39:59.211008818 +0200
+++ wificheck.log	2013-07-16 22:37:15.511142492 +0200
@@ -119,7 +119,7 @@
 ahci                   25731  3 
 libahci                31364  1 ahci
 ghash_clmulni_intel    13259  0 
-aesni_intel            55399  416 
+aesni_intel            55399  1785 
 aes_x86_64             17255  1 aesni_intel
 xts                    12885  1 aesni_intel
 lrw                    13257  1 aesni_intel
@@ -146,13 +146,13 @@
 
 wlan0     IEEE 802.11abgn  ESSID:"sable"  
           Mode:Managed  Frequency:2.427 GHz  Access Point: 8A:4A:25:58:CB:AC   
-          Bit Rate=130 Mb/s   Tx-Power=15 dBm   
+          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
-          Link Quality=65/70  Signal level=-45 dBm  
+          Link Quality=64/70  Signal level=-46 dBm  
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
-          Tx excessive retries:602  Invalid misc:53   Missed beacon:0
+          Tx excessive retries:8  Invalid misc:51   Missed beacon:0
 
 
 >>    ifconfig -a 
@@ -168,19 +168,19 @@
           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:705 erreurs:0 :0 overruns:0 frame:0
-          TX packets:705 errors:0 dropped:0 overruns:0 carrier:0
+          Packets reçus:4009 erreurs:0 :0 overruns:0 frame:0
+          TX packets:4009 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:0 
-          Octets reçus:59354 (59.3 KB) Octets transmis:59354 (59.3 KB)
+          Octets reçus:401858 (401.8 KB) Octets transmis:401858 (401.8 KB)
 
 wlan0     Link encap:Ethernet  HWaddr c4:85:08:f3:c1:c2  
           inet adr:192.168.0.10  Bcast:192.168.0.255  Masque:255.255.255.0
           adr inet6: fe80::c685:8ff:fef3:c1c2/64 Scope:Lien
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          Packets reçus:3144 erreurs:0 :0 overruns:0 frame:0
-          TX packets:2479 errors:0 dropped:0 overruns:0 carrier:0
+          Packets reçus:245240 erreurs:0 :0 overruns:0 frame:0
+          TX packets:189277 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:1000 
-          Octets reçus:2899382 (2.8 MB) Octets transmis:457077 (457.0 KB)
+          Octets reçus:256194032 (256.1 MB) Octets transmis:61360637 (61.3 MB)
 
 
 >>    sudo iwlist scan 
@@ -189,15 +189,15 @@
           Cell 01 - Address: 8A:4A:25:58:CB:AC
                     Channel:4
                     Frequency:2.427 GHz (Channel 4)
-                    Quality=70/70  Signal level=-40 dBm  
+                    Quality=66/70  Signal level=-44 dBm  
                     Encryption key:on
                     ESSID:"sable"
                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                               18 Mb/s; 36 Mb/s; 54 Mb/s
                     Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                     Mode:Master
-                    Extra:tsf=00000001c533767f
-                    Extra: Last beacon: 242904ms ago
+                    Extra:tsf=000000029fff42ca
+                    Extra: Last beacon: 23508ms ago
                     IE: Unknown: 00057361626C65
                     IE: Unknown: 010882848B961224486C
                     IE: Unknown: 030104
@@ -242,7 +242,7 @@
   HW Address:        C4:85:08:F3:C1:C2
 
   Capabilities:
-    Speed:           130 Mb/s
+    Speed:           1 Mb/s
 
   Wireless Properties
     WEP Encryption:  yes
@@ -250,11 +250,11 @@
     WPA2 Encryption: yes
 
   Wireless Access Points (* = current AP)
-    FreeWifi_secure: Infra, 8A:4A:25:58:CB:AE, Freq 2427 MHz, Rate 54 Mb/s, Strength 100 WPA Enterprise
-    Livebox-b141:    Infra, 00:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 52 WPA WPA2
-    FreeWifi:        Infra, 8A:4A:25:58:CB:AD, Freq 2427 MHz, Rate 54 Mb/s, Strength 100
-    orange:          Infra, 0A:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 55
-    *sable:          Infra, 8A:4A:25:58:CB:AC, Freq 2427 MHz, Rate 65 Mb/s, Strength 78 WPA WPA2
+    *sable:          Infra, 8A:4A:25:58:CB:AC, Freq 2427 MHz, Rate 65 Mb/s, Strength 74 WPA WPA2
+    FreeWifi_secure: Infra, 8A:4A:25:58:CB:AE, Freq 2427 MHz, Rate 54 Mb/s, Strength 89 WPA Enterprise
+    Livebox-b141:    Infra, 00:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 57 WPA WPA2
+    FreeWifi:        Infra, 8A:4A:25:58:CB:AD, Freq 2427 MHz, Rate 54 Mb/s, Strength 97
+    orange:          Infra, 0A:19:70:7F:1F:18, Freq 2437 MHz, Rate 54 Mb/s, Strength 54
 
   IPv4 Settings:
     Address:         192.168.0.10

Je vous remercie si vous pouvez m'indiquer des pointeurs pour que ma connexion soit persistente !

Hors ligne

#2 Le 17/07/2013, à 13:53

Junkaria

Re : Connexion intermittente : Realtek Semiconductor Co., Ltd. RTL8111/8168

Désolé je n'ai pas de solution propre à te proposer (je suis de passage car je suis au taff ^^)
Mais je te propose de créer un script qui va checker ta connexion et lancer tes deux premières commandes si tu n'a plus de connexion (un ping par exemple).

Je te le déconseille car ça va te bouffer des ressources pour rien et que ça ne résoudra pas le problème, mais actuellement je ne peux que te proposer çà.
Je repasserai ce soir wink

Hors ligne

#3 Le 17/07/2013, à 22:59

pchf

Re : Connexion intermittente : Realtek Semiconductor Co., Ltd. RTL8111/8168

Merci, saurais-tu comment faire pour tester qu'un ping n'aboutit pas en bash ?

Hors ligne

  • Accueil
  • » Forum
  • » WiFi
  • » Connexion intermittente : Realtek Semiconductor Co., Ltd. RTL8111/8168

Haut de page ↑