Pages : 1
#1 Le 29/10/2014, à 23:34
- superTotoBinou
acceder a l'interface wifi USB
Salut a tous .
J'ai une adapter USB wifi ralink chipset 3070 pour laquelle j'ai installé le pilote ralink rt5572sta.
La commande " iwlist ra0 scan" me trouve des points d'acces ,mais nm-tool me dit que l'interface est indisponoble (unavailable)
Comment faire pour la rendre disponible et l'utiliser .
merci
INFOS :
>> cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17
DISTRIB_CODENAME=qiana
DISTRIB_DESCRIPTION="Linux Mint 17 Qiana"
>> lsusb
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> lspci -k -nn | grep -A 3 -i net
00:07.0 Bridge [0680]: NVIDIA Corporation MCP61 Ethernet [10de:03ef] (rev a2)
Subsystem: ASUSTeK Computer Inc. Device [1043:8234]
Kernel driver in use: forcedeth
00:08.0 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
>> sudo lshw -C network
*-network
description: Interface réseau sans fil
identifiant matériel: 1
nom logique: ra0
numéro de série: 00:6a:3f:30:8f:71
fonctionnalités: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=Ralink STA
>> lsmod
Module Size Used by
cfg80211 484040 0
rt5572sta 802835 1
rfcomm 69160 0
bnep 19624 2
bluetooth 395423 10 bnep,rfcomm
dm_crypt 23177 1
snd_hda_codec_realtek 61438 1
snd_hda_intel 52355 3
snd_hda_codec 192906 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
kvm_amd 59987 0
snd_pcm 102099 2 snd_hda_codec,snd_hda_intel
kvm 451511 1 kvm_amd
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
dm_multipath 22873 0
snd_seq_midi 13324 0
scsi_dh 14882 1 dm_multipath
snd_seq_midi_event 14899 1 snd_seq_midi
serio_raw 13462 0
snd_rawmidi 30144 1 snd_seq_midi
k10temp 13126 0
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
edac_core 62291 0
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
edac_mce_amd 22617 0
snd_timer 29482 2 snd_pcm,snd_seq
snd 69238 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
parport_pc 32701 1
asus_atk0110 18657 0
ppdev 17671 0
mac_hid 13205 0
i2c_nforce2 13221 0
soundcore 12680 1 snd
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
dm_mirror 22135 0
dm_region_hash 20862 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
hid_generic 12548 0
usbhid 52616 0
hid 106148 2 hid_generic,usbhid
nouveau 1097199 2
mxm_wmi 13021 1 nouveau
wmi 19177 2 mxm_wmi,nouveau
video 19476 1 nouveau
i2c_algo_bit 13413 1 nouveau
ttm 85115 1 nouveau
drm_kms_helper 52758 1 nouveau
pata_acpi 13038 0
drm 302817 4 ttm,drm_kms_helper,nouveau
firewire_ohci 40409 0
firewire_core 68769 1 firewire_ohci
pata_amd 18225 3
forcedeth 67509 0
sata_nv 27745 0
crc_itu_t 12707 1 firewire_core
floppy 69370 0
>> iwconfig
ra0 Ralink STA ESSID:"11n-AP" Nickname:"RT3070STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1e:8c:7b:9b:42
inet adr:192.168.1.18 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::21e:8cff:fe7b:9b42/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:678 erreurs:0 :0 overruns:0 frame:0
TX packets:686 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:509469 (509.4 KB) Octets transmis:97976 (97.9 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:193 erreurs:0 :0 overruns:0 frame:0
TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:16629 (16.6 KB) Octets transmis:16629 (16.6 KB)
ra0 Link encap:Ethernet HWaddr 00:6a:3f:30:8f:71
adr inet6: fe80::26a:3fff:fe30:8f71/64 Scope:Lien
UP BROADCAST RUNNING 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)
>> sudo iwlist scan
ra0 Scan completed :
Cell 01 - Address: 92:43:C1:38:41:8E
Protocol:802.11b/g/n
ESSID:"FreeWifi"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=99/100 Signal level=-51 dBm Noise level=-92 dBm
Encryption key:off
Bit Rates:300 Mb/s
Cell 02 - Address: 92:43:C1:38:41:8F
Protocol:802.11b/g/n
ESSID:"FreeWifi_secure"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=99/100 Signal level=-51 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
Cell 03 - Address: 5A:6C:16:F8:80:58
Protocol:802.11b/g/n
ESSID:"freebox_MANU"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=42/100 Signal level=-73 dBm Noise level=-68 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Cell 04 - Address: 5A:6C:16:F8:80:59
Protocol:802.11b/g/n
ESSID:""
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=52/100 Signal level=-69 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 05 - Address: 5A:6C:16:F8:80:5A
Protocol:802.11b/g/n
ESSID:"FreeWifi"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=37/100 Signal level=-75 dBm Noise level=-70 dBm
Encryption key:off
Bit Rates:300 Mb/s
Cell 06 - Address: 5A:6C:16:F8:80:5B
Protocol:802.11b/g/n
ESSID:"FreeWifi_secure"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=37/100 Signal level=-75 dBm Noise level=-70 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
Cell 07 - Address: 92:43:C1:38:41:8C
Protocol:802.11b/g/n
ESSID:""
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=99/100 Signal level=-51 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 08 - Address: 92:43:C1:38:41:8D
Protocol:802.11b/g/n
ESSID:""
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=94/100 Signal level=-53 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:300 Mb/s
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
>> uname -r -m
3.13.0-24-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: ra0 ------------------------------------------------------------------
Type: 802.11 WiFi
Driver: usb
State: unavailable
Default: no
HW Address: 00:6A:3F:30:8F:71
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points
- Device: eth0 [Ethernet automatique] -----------------------------------------
Type: Wired
Driver: forcedeth
State: connected
Default: yes
HW Address: 00:1E:8C:7B:9B:42
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.18
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
>> sudo rfkill list
mon fichier rt2870sta.dat :
*************************************************************************************
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
ChannelGeography=1
SSID=11n-AP
NetworkType=Infra
WirelessMode=5
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=0
HT_MpduDensity=4
HT_BW=1
HT_BADecline=0
HT_AutoBA=1
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
HT_STBC=0
EthConvertMode=
EthCloneMac=
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
MeshId=MESH
MeshAutoLink=1
MeshAuthMode=OPEN
MeshEncrypType=NONE
MeshWPAKEY=
MeshDefaultkey=1
MeshWEPKEY=
CarrierDetect=0
AntDiversity=0
BeaconLostTime=4
FtSupport=0
Wapiifname=ra0
WapiPsk=
WapiPskType=
WapiUserCertPath=
WapiAsCertPath=
PSP_XLINK_MODE=0
WscManufacturer=
WscModelName=
WscDeviceName=
WscModelNumber=
WscSerialNumber=
RadioOn=1
WIDIEnable=0
P2P_L2SD_SCAN_TOGGLE=8
Wsc4digitPinCode=0
P2P_WIDIEnable=0
PMFMFPC=0
PMFMFPR=0
PMFSHA256=0
*****************************************************************
#dmesg (quand je branche physiquement mon interface wifi)
[ 4743.344267] usb 1-1: new high-speed USB device number 6 using ehci-pci
[ 4743.493432] usb 1-1: New USB device found, idVendor=148f, idProduct=3070
[ 4743.493438] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4743.493441] usb 1-1: Product: 802.11 n WLAN
[ 4743.493443] usb 1-1: Manufacturer: Ralink
[ 4743.493445] usb 1-1: SerialNumber: 1.0
[ 4743.495009]
[ 4743.495009]
[ 4743.495009] === pAd = ffffc90015ecd000, size = 598360 ===
[ 4743.495009]
[ 4743.495106] <-- RTMPAllocAdapterBlock, Status=0
[ 4743.495550] NVM is EFUSE
[ 4743.513547] RtmpAsicLoadFirmware: ver 21/21, sum 8061/cdf7, mac 80612100
[ 4743.513552] RtmpAsicLoadFirmware: WOW stops to go into 4K ram codes ...
[ 4743.513679] #
[ 4743.518817] #
[ 4743.523919] #
[ 4743.529056] #
[ 4743.534163] #
[ 4743.539285] #
[ 4743.544408] #
[ 4743.549531] #
[ 4743.554655] #
[ 4743.559777] #
[ 4743.564754] RTUSB_VendorRequest failed(-32),TxFlags=0x0, ReqType=OUT, Req=0x14, Idx=0x0,pAd->Flags=0x0
[ 4743.564900] #
[ 4743.570023] #
[ 4743.575146] #
[ 4743.580270] #
[ 4743.585393] #
[ 4743.590515] #
[ 4743.595639] #
[ 4743.600762] #
[ 4743.605886] #
[ 4743.611008] #
[ 4743.615984] RTUSB_VendorRequest failed(-32),TxFlags=0x0, ReqType=OUT, Req=0x12, Idx=0x0,pAd->Flags=0x0
[ 4743.616178] NICLoadFirmware: We need to load firmware
[ 4743.874634] <-- RTMPAllocTxRxRingMemory, Status=0
[ 4743.874787] RTMP_TimerListAdd: add timer obj ffffc90015f17078!
[ 4743.874790] RTMP_TimerListAdd: add timer obj ffffc90015f170f0!
[ 4743.874792] RTMP_TimerListAdd: add timer obj ffffc90015f17168!
[ 4743.874793] RTMP_TimerListAdd: add timer obj ffffc90015f17000!
[ 4743.874796] RTMP_TimerListAdd: add timer obj ffffc90015f16e98!
[ 4743.874798] RTMP_TimerListAdd: add timer obj ffffc90015f16f10!
[ 4743.874800] RTMP_TimerListAdd: add timer obj ffffc90015ee0b80!
[ 4743.874801] RTMP_TimerListAdd: add timer obj ffffc90015ecf9f0!
[ 4743.874803] RTMP_TimerListAdd: add timer obj ffffc90015ecfa70!
[ 4743.874804] RTMP_TimerListAdd: add timer obj ffffc90015ee0d10!
[ 4743.874807] RTMP_TimerListAdd: add timer obj ffffc90015ee0a90!
[ 4743.874809] RTMP_TimerListAdd: add timer obj ffffc90015ee0c90!
[ 4743.876162] -->RTUSBVenderReset
[ 4743.876282] <--RTUSBVenderReset
[ 4744.101514] Key1Str is Invalid key length(0) or Type(0)
[ 4744.101527] Key2Str is Invalid key length(0) or Type(0)
[ 4744.101545] Key3Str is Invalid key length(0) or Type(0)
[ 4744.101558] Key4Str is Invalid key length(0) or Type(0)
[ 4744.101789] 1. Phy Mode = 5
[ 4744.101790] 2. Phy Mode = 5
[ 4744.101793] NVM is Efuse and its size =2d[2d0-2fc]
[ 4744.150558] phy mode> Error! The chip does not support 5G band 5!
[ 4744.150640] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 4744.184295] 3. Phy Mode = 9
[ 4744.186792] \x1b[mAntCfgInit: primary/secondary ant 0/1
[ 4744.186792] \x1b[mbAutoTxAgcG = 0
[ 4744.266888] MCS Set = ff 00 00 00 01
[ 4744.277450] <==== rt28xx_init, Status=0
[ 4744.278883] 0x1300 = 00064300
[ 4744.427199] ---> RTMPFreeTxRxRingMemory
[ 4744.427228] <--- RTMPFreeTxRxRingMemory
[ 4744.429953] RtmpAsicLoadFirmware: ver 21/21, sum 8061/cdf7, mac 80612100
[ 4744.429956] RtmpAsicLoadFirmware: WOW stops to go into 4K ram codes ...
[ 4744.430325] NICLoadFirmware: We need to load firmware
[ 4744.688834] <-- RTMPAllocTxRxRingMemory, Status=0
[ 4744.689043] RTMP_TimerListAdd: add timer obj ffffc90015f17078!
[ 4744.689045] RTMP_TimerListAdd: add timer obj ffffc90015f170f0!
[ 4744.689046] RTMP_TimerListAdd: add timer obj ffffc90015f17168!
[ 4744.689048] RTMP_TimerListAdd: add timer obj ffffc90015f17000!
[ 4744.689051] RTMP_TimerListAdd: add timer obj ffffc90015f16e98!
[ 4744.689052] RTMP_TimerListAdd: add timer obj ffffc90015f16f10!
[ 4744.689054] RTMP_TimerListAdd: add timer obj ffffc90015ee0b80!
[ 4744.689055] RTMP_TimerListAdd: add timer obj ffffc90015ecf9f0!
[ 4744.689057] RTMP_TimerListAdd: add timer obj ffffc90015ecfa70!
[ 4744.689059] RTMP_TimerListAdd: add timer obj ffffc90015ee0d10!
[ 4744.689061] RTMP_TimerListAdd: add timer obj ffffc90015ee0a90!
[ 4744.689063] RTMP_TimerListAdd: add timer obj ffffc90015ee0c90!
[ 4744.690478] -->RTUSBVenderReset
[ 4744.690604] <--RTUSBVenderReset
[ 4744.915831] Key1Str is Invalid key length(0) or Type(0)
[ 4744.915844] Key2Str is Invalid key length(0) or Type(0)
[ 4744.915856] Key3Str is Invalid key length(0) or Type(0)
[ 4744.915869] Key4Str is Invalid key length(0) or Type(0)
[ 4744.916098] 1. Phy Mode = 5
[ 4744.916099] 2. Phy Mode = 5
[ 4744.916101] NVM is Efuse and its size =2d[2d0-2fc]
[ 4744.964878] phy mode> Error! The chip does not support 5G band 5!
[ 4744.964959] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 4744.998615] 3. Phy Mode = 9
[ 4745.001113] \x1b[mAntCfgInit: primary/secondary ant 0/1
[ 4745.001113] \x1b[mbAutoTxAgcG = 0
[ 4745.084706] MCS Set = ff 00 00 00 01
[ 4745.095276] <==== rt28xx_init, Status=0
[ 4745.096701] 0x1300 = 00064300
[ 4745.246890] ---> RTMPFreeTxRxRingMemory
[ 4745.246910] <--- RTMPFreeTxRxRingMemory
[ 4745.249646] RtmpAsicLoadFirmware: ver 21/21, sum 8061/cdf7, mac 80612100
[ 4745.249648] RtmpAsicLoadFirmware: WOW stops to go into 4K ram codes ...
[ 4745.250019] NICLoadFirmware: We need to load firmware
[ 4745.508528] <-- RTMPAllocTxRxRingMemory, Status=0
[ 4745.508736] RTMP_TimerListAdd: add timer obj ffffc90015f17078!
[ 4745.508739] RTMP_TimerListAdd: add timer obj ffffc90015f170f0!
[ 4745.508741] RTMP_TimerListAdd: add timer obj ffffc90015f17168!
[ 4745.508743] RTMP_TimerListAdd: add timer obj ffffc90015f17000!
[ 4745.508745] RTMP_TimerListAdd: add timer obj ffffc90015f16e98!
[ 4745.508747] RTMP_TimerListAdd: add timer obj ffffc90015f16f10!
[ 4745.508748] RTMP_TimerListAdd: add timer obj ffffc90015ee0b80!
[ 4745.508750] RTMP_TimerListAdd: add timer obj ffffc90015ecf9f0!
[ 4745.508751] RTMP_TimerListAdd: add timer obj ffffc90015ecfa70!
[ 4745.508753] RTMP_TimerListAdd: add timer obj ffffc90015ee0d10!
[ 4745.508755] RTMP_TimerListAdd: add timer obj ffffc90015ee0a90!
[ 4745.508757] RTMP_TimerListAdd: add timer obj ffffc90015ee0c90!
[ 4745.510171] -->RTUSBVenderReset
[ 4745.510296] <--RTUSBVenderReset
[ 4745.739774] Key1Str is Invalid key length(0) or Type(0)
[ 4745.739788] Key2Str is Invalid key length(0) or Type(0)
[ 4745.739802] Key3Str is Invalid key length(0) or Type(0)
[ 4745.739816] Key4Str is Invalid key length(0) or Type(0)
[ 4745.740098] 1. Phy Mode = 5
[ 4745.740100] 2. Phy Mode = 5
[ 4745.740102] NVM is Efuse and its size =2d[2d0-2fc]
Dernière modification par superTotoBinou (Le 30/10/2014, à 07:34)
Hors ligne
#2 Le 30/10/2014, à 20:11
- Julius22
Re : acceder a l'interface wifi USB
Bonjour,
D'après les retours de commandes donnés, l'interface Wi-Fi semble bien fonctionner. Cependant, le réseau filaire semble actif. Ceci désactive donc le réseau sans fil. Que se passe-t-il si tu désactives le réseau filaire (ou bien que tu débranches le câble réseau) ?
Membre de l'April (www.april.org)
Pour éviter de perdre vos données, utilisez des formats ouverts (cf. www.formats-ouverts.org).
Regardez l'utilisation moyenne de votre processeur et pensez à BOINC.
Hors ligne
#3 Le 30/10/2014, à 21:25
- Braun
Re : acceder a l'interface wifi USB
ou bien que tu débranches le câble réseau
Je préciserais si tu redémarres la machine sans câble réseau branché.
Hors ligne
#4 Le 31/10/2014, à 23:34
- superTotoBinou
Re : acceder a l'interface wifi USB
Desolé les gars mais je me suis rendu compte que mon materiel est abimé .L'antenne wifi a 10 metres de cable et est abime.
Donc desolé pour votre temps de perdu.
Hors ligne
#5 Le 01/11/2014, à 17:47
- Julius22
Re : acceder a l'interface wifi USB
Pas de problème. À bientôt.
Membre de l'April (www.april.org)
Pour éviter de perdre vos données, utilisez des formats ouverts (cf. www.formats-ouverts.org).
Regardez l'utilisation moyenne de votre processeur et pensez à BOINC.
Hors ligne
Pages : 1