Wifi TP-LINK TL-WN321G pb

Bonjour,
Si quelqu’un peut me donner un coup de main. je n’arrive pas à faire fonctionner ma connexion wifi: d’évidence j’ai suivi le wiki debian mais y a un pb.
mon /etc/network/interfaces:# This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug eth0
iface eth0 inet dhcp

#auto wlan0
iface wlan0 inet dhcp
wpa-ssid Kacibox
wpa-key-mgmt WPA-PSK
wpa-psk XXXXXXXXXXXXXXXXXXX
wpa-conf managed
wpa-ap-scan 1
wpa-scan-ssid 1
Machine02:/home/marux# iwlist scan et voici mon reseau
Cell 05 - Address: 92:51:A0:05:CC:38
ESSID:"Kacibox"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=52/100 Signal level=-48 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003d8d204429
la commande pour le lancer:
iwconfig wlan0 mode ad-hoc channel 1 essid Kacibox keys:XXXXXXXX
Error for wireless request “Set Mode” (8B06) :
SET failed on device wlan0 ; Device or resource busy.
Machine02:/home/marux# iwconfig wlan0 mode ad-hoc channel 1 essid Kacibox keys:xxxxxxxxxxxx
Error for wireless request “Set Mode” (8B06) :
SET failed on device wlan0 ; Device or resource busy.
la commande lsmod | grep rt73 :lsmod | grep rt73
rt73 197120 0
rt73usb 29696 0
crc_itu_t 6528 1 rt73usb
rt2x00usb 15744 2 rt2500usb,rt73usb
rt2x00lib 30080 3 rt2500usb,rt73usb,rt2x00usb
firmware_class 12544 2 rt73,rt2x00lib
Et lspci:Machine02:/home/marux# lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC’97 Audio Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80).
et iwconfig iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Svp, c’est urgent, je derrange un petit le matin, je dois bosser en wifi, merci.

bonsoir,

peux tu poster un lspci pour voir plus clair.

tu es sous quelle version de debian?

j’ai une carte un peu similaire à la tienne, c’est une tplink wn660G,

pardon je n’avais pas vu ton lspci, mais je ne vois pas ta carte ou ses mez yeux?

voilà le mien

michel@debian-laptop:~$ lspci 00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04) 00:01.0 PCI bridge: Intel Corporation 82830 830 Chipset AGP Bridge (rev 04) 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) 00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02) 00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY 02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) 02:01.0 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller 02:01.1 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller 02:03.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)

[quote=“mksmn”]bonsoir,

peux tu poster un lspci pour voir plus clair.

tu es sous quelle version de debian?

j’ai une carte un peu similaire à la tienne, c’est une tplink wn660G,

pardon je n’avais pas vu ton lspci, mais je ne vois pas ta carte ou ses mez yeux?[/quote]

00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC’97 Audio Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)

JE SUIS sous Lenny
par contre la commande iwconfig la donne. et ifup wlan0 parle de device busy, qu’est-ce cette chose?
merci

salut,

device busy égal périphérique occupé.

tu as chargé le driver rt73?

c’est une clé usb, elle n’est pas reconnue nativement par ton noyau linux?

as tu installé le paquet firmware-ralink?
sinon fait le .

Salut,

Je débute sur debian mais j’ai déjà réussi à configurer les 2 fois ou j’ai installé ma machine lenny et squeeze le wifi.

Si ton wifi est crypté en WPA2,

  1. Installe wpasupplicant (apt-get install wpasupplicant)
  2. /etc/network/interfaces
    tu enlèves toutes t’es lignes wpa–xxxx, tu enlèves # sur auto wlan0

[code]#wifi

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
[/code]
3) tu créer un fichier sur /etc/wpa_supplicant/wpa_supplicant.conf
4) dans celui-ci tu mets

[code]ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
ssid="Ton SSID"
psk="Ton mot de passe"
priority=5
}
[/code]
5) ensuite tu fais /etc/init.d/networking restart

Et ça devrait fonctionner

maintenant je débute donc peut être regarde avec mksmn

A+

[quote=“tino242424”]Salut,

Je débute sur debian mais j’ai déjà réussi à configurer les 2 fois ou j’ai installé ma machine lenny et squeeze le wifi.

Si ton wifi est crypté en WPA2,

  1. Installe wpasupplicant (apt-get install wpasupplicant)
  2. /etc/network/interfaces
    tu enlèves toutes t’es lignes wpa–xxxx, tu enlèves # sur auto wlan0

[code]#wifi

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
[/code]
3) tu créer un fichier sur /etc/wpa_supplicant/wpa_supplicant.conf
4) dans celui-ci tu mets

[code]ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
ssid="Ton SSID"
psk="Ton mot de passe"
priority=5
}
[/code]
5) ensuite tu fais /etc/init.d/networking restart

Et ça devrait fonctionner

maintenant je débute donc peut être regarde avec mksmn

A+[/quote]
Merci

Ca fonctionne ?

[quote=“mksmn”]salut,

device busy égal périphérique occupé.

tu as chargé le driver rt73?

c’est une clé usb, elle n’est pas reconnue nativement par ton noyau linux?

as tu installé le paquet firmware-ralink?
sinon fait le .[/quote]

Oui biensure, j’ai tenté les deux méthodes du wiki
par module assistant
et la simple du firmware mais dans les deux cas on l’installe et voici e que donne dpkg -l | grep ralink
dpkg -l | grep ralink
ii firmware-ralink 0.14+lenny2 Binary firmware for Ralink RT2561, RT2571, R
il est bien installé.

je bidouille encore…;

ok tu as essayé la méthode de tino 242424?

sinon, moi je ne peux plus t’aider!

bon courage

[quote=“mksmn”]ok tu as essayé la méthode de tino 242424?

sinon, moi je ne peux plus t’aider!

bon courage[/quote]

J’ai fait la chose plus simplement sur mon autre machine, ça a fonctionné, une machine que j’ai composée moi-même. CM Asusteck, Amd athlon64. Ici c’est une machine compaq presario (bureau nonportable).
voici ce que donnent ifup wlan0 et /etc/networking restart, lsmod | grep ralink

Machine02:/home/marux# /etc/init.d/networking restart
Reconfiguring network interfaces…There is already a pid file /var/run/dhclient.wlan0.pid with pid 2210
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:23:cd:b7:d1:df
Sending on LPF/wlan0/00:23:cd:b7:d1:df
Sending on Socket/fallback
There is already a pid file /var/run/dhclient.eth0.pid with pid 3133
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:16:17:5b:15:e3
Sending on LPF/eth0/00:16:17:5b:15:e3
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:23:cd:b7:d1:df
Sending on LPF/wlan0/00:23:cd:b7:d1:df
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Machine02:/home/marux# lsmod | ralink
bash: ralink: command not found
Machine02:/home/marux# lsmod | grep ralink
Machine02:/home/marux# lsmod | grep rt73
rt73 197120 0
rt73usb 29696 0
crc_itu_t 6528 1 rt73usb
rt2x00usb 15744 2 rt2500usb,rt73usb
rt2x00lib 30080 3 rt2500usb,rt73usb,rt2x00usb
firmware_class 12544 2 rt73,rt2x00lib
mon /etc/network/interfaces
Machine02:/home/marux# cat /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug eth0
iface eth0 inet dhcp

the wifi

auto wlan0
iface wlan0 inet dhcp
wpa-ssid Kacibox
wpa-psk mot de pass

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Bonsoir,

En fait, bien que ma machine a un cpu amd64, j’ai installé une lenny 5.0.1 mais en 32 pas amd64.
j’ai démarré sur donc le noyau 2.6.26-2-686 et non amd64, j’ai remarqué que le wifi fonctionne.
Voilà, c’était peut être cela. Je suis mort de fatigue et certainement, je piocherai encore pour en savoir plus.

Mercià tous en tout cas.

NB: cher modératuer pourriez-vous marquer cela comme réglé? je ne saurai le faire.