C’est du WEP pour l’instant.
tu peux alors essayer ( je ne suis pas sûr, mais théoriquement ça doit marcher )
remplacer la ligne
par
Toujours rien de plus :
[code]# /etc/init.d/networking restart
Reconfiguring network interfaces…Error for wireless request “Set Mode” (8B06) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device ra0 ; Network is down.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/ra0/00:26:5a:7f:af:13
Sending on LPF/ra0/00:26:5a:7f:af:13
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Stopping the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
.
Starting the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
failed!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
done.[/code]
Je me demande si cela ne pourrait pas venir du pilote. Pourtant c’est censé être le bon si je suis la doc ubuntu…
as-tu bien installé le paquet firmware-ralink ?
quel driver as-tu installé?
J’ai utilisé cette méthode pour installer le driver RT3070USB : doc.ubuntu-fr.org/dwa-140#d-link_dwa-140_b2
d’accord.
que te renvoie la commande
$ apt-cache policy firmware-ralink
firmware ralink :
Installé : 0.14+lenny2
Candidat : 0.14+lenny2
Table de version :
*** 0.14+lenny2 0
100 /var/lib/dpkg/status
Là je sèche…
Je vais regarder si ya pas des rapports de bugs, et si j’ai pas loupé quelque chose dans tout tes logs, mais franchement là je vois pas.
Ok, je te remercie en tout cas d’avoir pris de ton temps.
Le paquet firmware-ralink qu’il y a dans les paquets correspond à quoi au juste ? Comment savoir quels sont les drivers pris en compte ?
Je viens de regarder la doc d’ubuntu.
pourquoi as-tu installé les drivers pour dwa-140 B2 au lieu de dwa-140 tout court?
car ce ne sont pas du tout les mêmes noms de drivers.
Que te renvoient les commandes
lsmod | grep rt
cat /etc/modules
Parce que ma clé est une dwa-140 version B2 d’après l’étiquette.
$ lsmod |grep rt
gameport 10700 2 emu10k1_gp (je crois que c'est ma carte son soundblaster live ça)
parport_pc 22500 1
parport 30988 3 ppdev, lp, parport_pc
agpgart 28808 2 drm, via agp
cat /etc/modules
(je te passe les lignes commentées)
loop
ndiswrapper
Par contre, ce qui est bizarre, c’est que le driver windows s’appelle Drt2870.inf et fonctionne avec rt2870.sys et pas Drt3070.
Je pense que je vais essayer avec la méthode du rt2870sta du wiki. Le problème c’est que je ne sais pas comment supprimer le module créé par la méthode précédente.
[quote=“D0mS”]Parce que ma clé est une dwa-140 version B2 d’après l’étiquette.
$ lsmod |grep rt
gameport 10700 2 emu10k1_gp (je crois que c'est ma carte son soundblaster live ça)
parport_pc 22500 1
parport 30988 3 ppdev, lp, parport_pc
agpgart 28808 2 drm, via agp
cat /etc/modules
(je te passe les lignes commentées)
loop
ndiswrapper
Par contre, ce qui est bizarre, c’est que le driver windows s’appelle Drt2870.inf et fonctionne avec rt2870.sys et pas Drt3070.
Je pense que je vais essayer avec la méthode du rt2870sta du wiki. Le problème c’est que je ne sais pas comment supprimer le module créé par la méthode précédente.[/quote]
Hum … c’est assez étrange: pourquoi as-tu le module ndiswrapper dans /etc/modules alors que nulle part dans le tuto on en parle?
Et pourquoi le module en question ( rtXXXXusb ) n’est-il pas chargé?
Donc je te conseillerais de faire plusieurs trucs ( et de me renvoyer le resultat ):
ndiswrapper -l
modprobe -r ndiswrapper
modprobe rt3070usb
lsmod | grep rt
/etc/init.d/networking restart
iwconfig ra0
bon je ne sais pas ce que ça va donner mais en tout cas je trouve étrange de retrouver ndiswrapper ici.
ndiswrapper est chargé car j’ai essayé de passer par ndiswrapper après l’échec du driver linux. Ça ne marche pas non plus d’ailleurs…
Je viens de décharger ndiswrapper du démarrage.
Par contre le module rt3070usb n’a pas trouvé par la commande rt3070usb… bizarre.
Je mettrai le résultat de la commande lsmod | grep rt après dodo ^^
[code]doms-debian:/home/doms# ndiswrapper -l
drt2870 : driver installed
device (07D1:3C0A) present (alternate driver: rt3070sta)
doms-debian:/home/doms# modprobe -r ndiswrapper
doms-debian:/home/doms# modprobe rt3070sta
doms-debian:/home/doms# lsmod | grep rt
rt3070sta 483336 1
gameport 10700 2 emu10k1_gp
parport_pc 22500 1
parport 30988 3 ppdev,lp,parport_pc
agpgart 28808 2 drm,via_agp
usbcore 118192 6 rt3070sta,usbhid,ehci_hcd,ohci_hcd,uhci_hcd
doms-debian:/home/doms# /etc/init
init.d/ initramfs-tools/
doms-debian:/home/doms# /etc/init.d/networking restart
Reconfiguring network interfaces…Stopping the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
.
Starting the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
failed!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
There is already a pid file /var/run/dhclient.ra0.pid with pid 3375
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 http://www.isc.org/sw/dhcp/
Listening on LPF/ra0/00:26:5a:7f:af:13
Sending on LPF/ra0/00:26:5a:7f:af:13
Sending on Socket/fallback
DHCPRELEASE on ra0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
Error for wireless request “Set Mode” (8B06) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Mode” (8B06) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device ra0 ; Network is down.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device ra0 ; Network is down.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/ra0/00:26:5a:7f:af:13
Sending on LPF/ra0/00:26:5a:7f:af:13
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Stopping the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
.
Starting the Firestarter firewall…wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
wlan0: error fetching interface information: Device not found
failed!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
done.
doms-debian:/home/doms# iwconfig ra0
ra0 Ralink STA ESSID:“11n-AP” Nickname:"RT2870STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:-91 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0[/code]
Alors je reviens après quelques mois d’abandon. J’ai profité de la sortie en stable de squeeze pour réinstaller debian.
Je n’ai toujours pas internet, mais voilà ce que j’obtiens maintenant :
[code]root@debian:/home/doms# ifconfig
eth0 Link encap:Ethernet HWaddr 6c:f0:49:04:56:70
inet adr:192.168.1.20 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interruption:27 Adresse de base:0x4000
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
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:1200 (1.1 KiB) TX bytes:1200 (1.1 KiB)
wlan0 Link encap:Ethernet HWaddr 00:26:5a:7f:af:13
inet adr:192.168.1.15 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::226:5aff:fe7f:af13/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1004 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:115375 (112.6 KiB) TX bytes:3256 (3.1 KiB)
root@debian:/home/doms# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 Ralink STA ESSID:“Wanadoo_2d69” Nickname:"RT2870STA"
Mode:Managed Frequency=2.457 GHz Access Point: 00:16:41:0D:B5:05
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=78/100 Signal level:-65 dBm Noise level:-59 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@debian:/home/doms# ping -c 5 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.20 icmp_seq=1 Destination Host Unreachable
From 192.168.1.20 icmp_seq=2 Destination Host Unreachable
From 192.168.1.20 icmp_seq=3 Destination Host Unreachable
From 192.168.1.20 icmp_seq=4 Destination Host Unreachable
From 192.168.1.20 icmp_seq=5 Destination Host Unreachable
— 192.168.1.1 ping statistics —
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4022ms
pipe 3
[/code]
Bref, visiblement, ma box me reconnait vu que visiblement j’ai l’association qui se fait mais impossible de pinger la box