Bonjour,
Je rencontre des problèmes lors de l’activation du promiscuous mode sur ma carte wifi.
dernière manip :
root@debian:/lib/firmware/RTL8192SU# ifconfig wlan0 down
root@debian:/lib/firmware/RTL8192SU# iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not permitted.
L’historique,
machine : debian 6 squeeze
kernel : 2.6.32-5-686-bigmem
La debian à été installé de façon minimaliste (image de 16 mo), aucune interface graphique, aucun paquet sélectionné a l’install.
ifconfig / iwconfig :
root@debian:/lib/firmware/RTL8192SU# ifconfig -a
eth0 Link encap:Ethernet HWaddr c8:60:00:73:42:d4
inet adr:192.168.2.5 Bcast:192.168.2.255 Masque:255.255.255.0
adr inet6: fe80::ca60:ff:fe73:42d4/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5272 errors:0 dropped:0 overruns:0 frame:0
TX packets:3415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:3454733 (3.2 MiB) TX bytes:830197 (810.7 KiB)
Interruption:18 Mémoire:fbd00000-fbd20000
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)
wlan0 Link encap:Ethernet HWaddr ec:1a:59:64:48:63
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)
root@debian:/lib/firmware/RTL8192SU# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management: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
iwlist me ressort bien la liste des différents réseaux wifi.
J’ai peiné à installer la carte wifi.
carte : belkin N300 micro adapter (USB)
chipset : Realtek RTL8192CU
lsusb :
Bus 004 Device 005: ID 0cf3:3000 Atheros Communications, Inc. AR3011 Bluetooth (no firmware)
Bus 004 Device 004: ID 046d:c52e Logitech, Inc.
Bus 004 Device 003: ID 050d:2103 Belkin Components F7D2102 802.11n N300 Micro Wireless Adapter v3000 [Realtek RTL8192CU]
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
tree /lib/firmware
root@debian:/lib# tree firmware/
firmware/
+-- RTL8192E
¦** +-- boot.img
¦** +-- data.img
¦** +-- main.img
+-- RTL8192SU
¦** +-- rtl8192sfw.bin
+-- rtl_nic
¦** +-- rtl8105e-1.fw
¦** +-- rtl8168d-1.fw
¦** +-- rtl8168d-2.fw
¦** +-- rtl8168e-1.fw
¦** +-- rtl8168e-2.fw
¦** +-- rtl8168e-3.fw
+-- rtlwifi
+-- rtl8712u.bin
Concernant l’installation je n’ai plus les liens mais j’ai galéré sur pas mal de forum, suivi les tutos classiques que l’on peux trouver sur internet.
installation du firmware realtek (apt-get install firmware-realtek)
installation de différents pilotes (via des archives tgz, configure, make, make install (n’a pas marcher))
installation des drivers windows via nwdiswrapper (conversion des fichiers inf (driver for : winXP, win7x64, 86, winX …) (sans succès)
j’ai fini par trouver un installeur sur le site de realtek (avec un install.sh) qui a fini par faire reconnaitre ma carte wifi en wlan0
La carte est bien reconnu, le chispet mentionné semble pas avoir de problème avec le mode promisceus en revanche le pilote utilisé pourrait être la cause. ?
Up :
J’ai installer le kernel 3.2, installer les drivers avec ce kernel => toujours le même problème (wlan OK mode monitor KO).
No idea, need help.
Merci d’avance.