Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/04/2014, à 19:03

Salva42

Problème de connection carte ralink RT2500 sous ubuntu 14.04LTS

Bonjour,
Depuis mon passage à la version 14.04LTS ma connexion wifi ne tient pas plus de 1 min. Je suis vraiment débutant et j'ai beaucoup de mal à comprendre ce qu'il faut faire en suivant les tutoriels. J'ai tout de même lancé wificheck et obtenu quelques infos. Merci pour votre aide.

>>    cat /etc/lsb-release 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

>>    lsusb 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0db0:a970 Micro Star International Bluetooth dongle
Bus 002 Device 002: ID 0458:00a2 KYE Systems Corp. (Mouse Systems) 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

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

04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:a422]
	Kernel driver in use: r8169
05:04.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02)
--
05:09.0 Network controller [0280]: Ralink corp. RT2500 Wireless 802.11bg [1814:0201] (rev 01)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Unknown 802.11g mini-PCI Adapter [1462:6833]
	Kernel driver in use: rt2500pci

>>    sudo lshw -C network 

  *-network
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:04:00.0
       nom logique: eth0
       version: 01
       numéro de série: 00:16:17:4f:06:b0
       taille: 100Mbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm vpd msi pciexpress 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.10 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       ressources: irq:19 portE/S:b800(taille=256) mémoire:ffcff000-ffcfffff mémoire:ffce0000-ffceffff
  *-network
       description: Interface réseau sans fil
       produit: RT2500 Wireless 802.11bg
       fabriquant: Ralink corp.
       identifiant matériel: 9
       information bus: pci@0000:05:09.0
       nom logique: wlan0
       version: 01
       numéro de série: 00:13:d3:78:de:61
       bits: 32 bits
       horloge: 33MHz
       fonctionnalités: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2500pci driverversion=3.13.0-24-generic firmware=N/A latency=64 link=no multicast=yes wireless=IEEE 802.11bg
       ressources: irq:22 mémoire:ffdfa000-ffdfbfff

>>    lsmod 

Module                  Size  Used by
xt_CHECKSUM            12493  1 
iptable_mangle         12615  1 
ipt_MASQUERADE         12760  1 
iptable_nat            12867  1 
nf_conntrack_ipv4      14492  1 
nf_defrag_ipv4         12649  1 nf_conntrack_ipv4
nf_nat_ipv4            13095  1 iptable_nat
nf_nat                 20826  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack           83685  5 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4
xt_tcpudp              12756  5 
bridge                 94674  0 
stp                    12848  1 bridge
llc                    14160  2 stp,bridge
iptable_filter         12706  1 
ip_tables              17987  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               22067  6 xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,iptable_filter,iptable_mangle
ctr                    12905  0 
ccm                    17496  0 
bnep                   18895  2 
rfcomm                 53664  8 
arc4                   12536  2 
rt2500pci              22723  0 
rt2x00pci              13111  1 rt2500pci
rt2x00mmio             13395  1 rt2500pci
msi_laptop             15086  0 
rt2x00lib              48886  3 rt2x00pci,rt2500pci,rt2x00mmio
mac80211              545990  2 rt2x00lib,rt2x00pci
sparse_keymap          13708  1 msi_laptop
cfg80211              409394  2 mac80211,rt2x00lib
joydev                 17101  0 
radeon               1416373  2 
snd_hda_codec_si3054    12864  1 
eeprom_93cx6           13168  1 rt2500pci
snd_hda_codec_realtek    51029  1 
snd_hda_intel          42730  9 
snd_hda_codec         164067  3 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_intel
btusb                  27580  0 
snd_hwdep              13272  1 snd_hda_codec
snd_pcm                85501  5 snd_hda_codec_si3054,snd_hda_codec,snd_hda_intel
kvm_amd                50537  0 
snd_page_alloc         14230  2 snd_pcm,snd_hda_intel
kvm                   388083  1 kvm_amd
snd_seq_midi           13132  0 
bluetooth             342263  22 bnep,btusb,rfcomm
ttm                    72698  1 radeon
drm_kms_helper         46907  1 radeon
snd_seq_midi_event     14475  1 snd_seq_midi
drm                   243792  4 ttm,drm_kms_helper,radeon
snd_rawmidi            25135  1 snd_seq_midi
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
i2c_algo_bit           13197  1 radeon
psmouse                91033  0 
snd_timer              28584  2 snd_pcm,snd_seq
serio_raw              13230  0 
snd                    60871  27 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
k8temp                 12842  0 
soundcore              12600  1 snd
shpchp                 32128  0 
i2c_piix4              17723  0 
ati_agp                13177  0 
video                  18903  0 
mac_hid                13037  0 
binfmt_misc            13140  1 
parport_pc             31981  0 
ppdev                  17391  0 
lp                     13299  0 
parport                40836  3 lp,ppdev,parport_pc
hid_generic            12492  0 
usbhid                 47035  0 
hid                    87604  2 hid_generic,usbhid
pata_acpi              12886  0 
sdhci_pci              18535  0 
firewire_ohci          35529  0 
firewire_core          61867  1 firewire_ohci
sdhci                  37779  1 sdhci_pci
crc_itu_t              12627  1 firewire_core
r8169                  61562  0 
mii                    13654  1 r8169
pata_atiixp            13058  2 
>>    iwconfig 

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          

>>    ifconfig -a 

eth0      Link encap:Ethernet  HWaddr 00:16:17:4f:06:b0  
          inet adr:192.168.1.10  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::216:17ff:fe4f:6b0/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:5443 erreurs:0 :0 overruns:0 frame:0
          TX packets:4416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:6071390 (6.0 MB) Octets transmis:454480 (454.4 KB)

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:535 erreurs:0 :0 overruns:0 frame:0
          TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:43081 (43.0 KB) Octets transmis:43081 (43.0 KB)

lxcbr0    Link encap:Ethernet  HWaddr 2a:a2:e4:2c:f7:a4  
          inet adr:10.0.3.1  Bcast:10.0.3.255  Masque:255.255.255.0
          adr inet6: fe80::28a2:e4ff:fe2c:f7a4/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:0 (0.0 B) Octets transmis:10763 (10.7 KB)

wlan0     Link encap:Ethernet  HWaddr 00:13:d3:78:de:61  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:39 erreurs:0 :0 overruns:0 frame:0
          TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:3763 (3.7 KB) Octets transmis:14791 (14.7 KB)


>>    sudo iwlist scan 

wlan0     No scan results


>>    uname -r -m 

3.13.0-24-generic i686

>>    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 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2500pci
  State:             disconnected
  Default:           no
  HW Address:        00:13:D3:78:DE:61

  Capabilities:

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

  Wireless Access Points 


- Device: eth0  [Connexion filaire 1] ------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             connected
  Default:           yes
  HW Address:        00:16:17:4F:06:B0

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.1.10
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             192.168.1.1



>>    sudo rfkill list 

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

Hors ligne

#2 Le 21/04/2014, à 20:22

Salva42

Re : Problème de connection carte ralink RT2500 sous ubuntu 14.04LTS

A toutes fins utiles, j'ai exécuté cette commande que j'ai pêchée sur le forum:

martinez-baas@martinezbaas-MS-1058:~$ modinfo rt2500pci
filename:       /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
license:        GPL
description:    Ralink RT2500 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     449B4A407454BAC53926F19
alias:          pci:v00001814d00000201sv*sd*bc*sc*i*
depends:        rt2x00lib,rt2x00mmio,rt2x00pci,eeprom_93cx6
intree:         Y
vermagic:       3.13.0-24-generic SMP mod_unload modversions 686
signer:         Magrathea: Glacier signing key
sig_key:        77:D7:0E:1D:F4:29:96:DC:92:B0:1D:75:9D:3E:85:62:EA:32:A1:C7
sig_hashalgo:   sha512

Je pense que cela localise le pilote.
J'ai téléchargé un pilote linux semble-t-il plus récent pour cette carte wifi, mais je ne sais pas comment le substituer à celui en place.
Merci encore pour votre aide.

Hors ligne

#3 Le 20/08/2017, à 10:26

xubu1957

Re : Problème de connection carte ralink RT2500 sous ubuntu 14.04LTS

Bonjour,

Pour d'éventuels détenteurs de la carte wifi Ralink RT2500, cette discussion : [Résolu] Connexion intermittente avec carte WI-FI Ralink RT2500

Traduction a écrit :

... Il existe un bug dans le module noyau pour tous les périphériques qui utilisent les chipsets RT5390 et RT3290, qui n'ont pas été corrigés.

> forums.linuxmint.com/viewtopic.php?t=230187

Une commande est proposée :

sudo iwconfig wlp3s0 power off

pour désactiver la gestion de l'énergie de la carte ...

> [RÉSOLU] Fichier SYSLOG : Problème WIFI

Le 16/08/2017, Neutrino42 a écrit :

J'ai utilisé ceci :

sudo iwconfig wlp2s5 power off

Et ça a l'air de fonctionner !
Merci beaucoup !!

PS : (Y a t-il un moyen particulier pour demander à la machine de le faire automatiquement à chaque session ? Faut retaper la commande à chaque fois ?)

Cette procédure  : > how-can-i-prevent-iwconfig-power-management

If turning off power management for your wireless interface speeds up internet like this:
Si l'arrêt de la gestion de l'alimentation pour votre interface sans fil accélère l'internet comme ceci:

sudo iwconfig wlp2s5 power off

Than to make it permanent run command as follows:
Pour l'exécuter de manière permanente, comme suit:

cd /etc/pm/power.d
sudo gedit wifi_pwr_off

▶▸▶ (edit= à adapter suivant votre editeur_de_texte)

This will open an empty file, copy the code below into it:
Cela ouvrira un fichier vide, copier le code ci-dessous:

#!/bin/sh 
/sbin/iwconfig wlp2s5 power off

Save the file, remember to
N'oubliez pas de l'enregistrer

sudo chmod +x wifi_pwr_off

and restart.
Et redémarrez.

Dernière modification par xubu1957 (Le 31/01/2021, à 21:28)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne