Aircrack-ng forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Aircrack-ng 1.7 release

Sorry Guest, you are banned from posting and sending personal messages on this forum.
This ban is not set to expire.
Pages: [1]   Go Down

Author Topic: Belkin usb wireless adapter will not enter monitor mode  (Read 22327 times)

scollar

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Belkin usb wireless adapter will not enter monitor mode
« on: March 17, 2014, 08:40:21 pm »

Let me start by saying I'm a linux newbie and thank responders for their patience in dealing with me. I am giving myself migraines trying to get my belkin usb wireless adapter into monitor mode starting airmon-ng displays r8712u (monitor mode enabled) however checking this always reveals monitor mode managed ..... I'm going to take some aspirin and hope someone here can shed some light on this .... Thanks

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 212
Re: Belkin usb wireless adapter will not enter monitor mode
« Reply #1 on: March 20, 2014, 09:55:09 am »

This is where i got until now
r8712u are drivers for some realteck N USB chipset, it is not a chipset, 
I have just got a loopcomm device with a RTL8191SU chipset that uses the same drivers taht are installed by default in ubuntu-kali etc...

as you can see.

Code: [Select]
lsusb
Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

8172 ( < - driver )  Realtek Semiconductor Corp. RTL8191SU ( <- chipset )  802.11n WLAN Adapter
 
The device is detected by iwconfig

Code: [Select]
iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan5     unassociated  Nickname:"rtl_wifi"
          Mode:Managed  Access Point: Not-Associated   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr: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



But not by airmon-ng ( for me monitor enabling )

Code: [Select]
sudo airmon-ng
[sudo] password for kcdtv:


Interface Chipset Driver



nothing happen if i start mode monitor with airmon-ng ( no device detected ) and i get this error if i use iwconfig command

Code: [Select]
sudo iwconfig wlan5 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan5 ; Invalid argument.

connection is not working good with a low debit even-though the signal is very strong. You have to repeat association process to get connection, the sensibility of the chipset seems to be very good but the results are very disappointing.
The driver seems to be quite deficient with my chipset

So i have been looking around and saw that the r8172u will be soon changed by r92su



Realtek 802.11n drivers


searching for more information i had a look to the excellent wiki devi where you have very useful information Wiki devi / r92su

Quote
Supported modes
STA (Station) mode: supported
IBSS (Ad-Hoc) mode: supported
AP (Master) mode: unsupported
Mesh (802.11s) mode: unsupported
P2P mode:
Monitor mode: supported
Packet injection: unsupported

Quote
Belkin F5D8053 v6   K7SF5D8053V6   SerComm   USB   dongle   bgn   Realtek   RTL8192SU         2009-06-26
Belkin F7D1101 v1   K7SF7D1101V1   Arcadyan   USB   dongle   bgn   Realtek   RTL8188SU   2010-02-24
Belkin F7D2101   K7SF7D2101V1   Arcadyan   USB   dongle   bgn   Realtek   RTL8192SU   2010-02-24
Belkin F9L1001   K7SF7D1101V1   Arcadyan   USB   dongle   bgn   Realtek   RTL8188SU   2010-02-24
Belkin F9L1002      K7SF7D2101V1   Arcadyan   USB   dongle   bgn   Realtek   RTL8192SU   2010-02-24

So i dived in the future and tried this r92su package chunkeey / rtl8192su

and i get my interface recognized by airmon-ng 

Quote
sudo airmon-ng


Interface   Chipset      Driver

wlan5      Unknown    r92su - [phy0]


the problem is that the driver is "unknown" and the injection won't work, i guess, let's try

Code: [Select]
sudo airmon-ng start wlan5
[sudo] password for kcdtv:


Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
-e
PID Name
713 avahi-daemon
715 avahi-daemon
732 NetworkManager
877 dhclient
14659 wpa_supplicant


Interface Chipset Driver

wlan5 Unknown r92su - [phy0]mon0: ERROR mientras se obtenían las banderas de interfaz: No existe el dispositivo

(monitor mode enabled on mon0)

i don't really understand why there is this error message, it is like it cannot virtualize wlan5 - phy0

Code: [Select]
kcdtv@n0name4u:~/rtl8192su$ iw dev
phy#0
Interface wlan5
ifindex 4
type managed

I don't get the point.. why  :'(

Code: [Select]
[125802.676076] usb 1-1: new high-speed USB device number 3 using ehci-pci
[125802.810898] usb 1-1: New USB device found, idVendor=0bda, idProduct=8172
[125802.810909] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[125802.810916] usb 1-1: Product: 11n Adapter
[125802.810921] usb 1-1: Manufacturer: Manufacturer Realtek
[125802.810926] usb 1-1: SerialNumber: 00e04c000001
[125802.922746] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[125802.933919] r8712u: Staging version
[125802.933973] r8712u: register rtl8712_netdev_ops to netdev_ops
[125802.933984] usb 1-1: r8712u: USB_SPEED_HIGH with 4 endpoints
[125802.937471] usb 1-1: r8712u: Boot from EFUSE: Autoload OK
[125803.551906] usb 1-1: r8712u: CustomerID = 0x0000
[125803.551919] usb 1-1: r8712u: MAC Address from efuse = 00:1a:ef:3e:d7:5a
[125803.551925] usb 1-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[125803.556704] usbcore: registered new interface driver r8712u
[125803.705969] cfg80211: Calling CRDA to update world regulatory domain
[125803.714679] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[125803.738404] cfg80211: World regulatory domain updated:
[125803.738411] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[125803.738414] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[125803.738416] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[125803.738418] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[125803.738420] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[125803.738422] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[125878.828533] r8712u 1-1:1.0 wlan5: 1 RCR=0x153f00e
[125878.829271] r8712u 1-1:1.0 wlan5: 2 RCR=0x553f00e
[125878.936346] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[125879.392353] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[125879.704359] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[127870.946207] usbcore: deregistering interface driver r8712u
[127871.116056] usb 1-1: reset high-speed USB device number 3 using ehci-pci
[127981.080264] input: ieee80211/phy0/input0 as /devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1:1.0/ieee80211/phy0/input13
[127981.082626] r92su 1-1:1.0: Realtek RTL81XX rev C CUT, rf:1T2R is registered as 'phy0'.
[127981.082675] usbcore: registered new interface driver r92su
[127981.116509] ieee80211 phy0: firmware version: 0x11ec
[130480.124498] cfg80211: Calling CRDA to update world regulatory domain
[130480.142388] cfg80211: World regulatory domain updated:
[130480.142398] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[130480.142404] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130480.142409] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130480.142413] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[130480.142417] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130480.142422] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130487.510600] cfg80211: Calling CRDA to update world regulatory domain
[130487.531564] cfg80211: World regulatory domain updated:
[130487.531576] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[130487.531581] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130487.531586] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130487.531591] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[130487.531595] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[130487.531599] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

dmesg doesn't help me, it seems that the driver and the firmware changed but something is fishy with my phy0-wlan5

Code: [Select]
sudo lshw -C network
[sudo] password for kcdtv:
  *-network DESACTIVADO   
       descripción: Interfaz inalámbrica
       id físico: 1
       información del bus: usb@1:1
       nombre lógico: wlan5
       serie: 00:1a:ef:3e:d7:5a
       capacidades: ethernet physical wireless
       configuración: broadcast=yes driver=r92su driverversion=3.11.0-15-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11bgn

firmware is "N/A".. maybe it needs to be placed manually...

Code: [Select]
kcdtv@n0name4u:~$ cd /lib/firmware/rtlwifi/
kcdtv@n0name4u:/lib/firmware/rtlwifi$ ls
rtl8188efw.bin     rtl8192cfwU.bin  rtl8192sefw.bin  rtl8723fw.bin
rtl8192cfw.bin     rtl8192cufw.bin  rtl8712u.bin
rtl8192cfwU_B.bin  rtl8192defw.bin  rtl8723fw_B.bin

here it is; rtl8172u.bin in the correct location according to the git

Quote
These firmwares have to be placed into
   /lib/firmware/rtlwifi/

 the driver will only load the firmware which is named "rtl8712u.bin",

 so either rename one of these or set a symlink.


 Maybe you are more lucky or find the way around if you try with this r92su
 r8172u have definitely no mode monitor capacity and seems to be condemned anyway.

 Good luck  :)
« Last Edit: March 21, 2014, 11:21:39 am by kcdtv »
Logged

scollar

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Re: Belkin usb wireless adapter will not enter monitor mode
« Reply #2 on: March 21, 2014, 01:57:11 am »

Hmmmm yes I see that 8172 is old as dirt and supposed to be replaced with r92su so I go with that being my chipset is listed I've tried everything (except a bigger hammer) still no monitor mode

of interest I get this from dmesg hoping someone can help
[  608.083589] r92su: module verification failed: signature and/or required key missing - tainting kernel
[  608.084503] usbcore: registered new interface driver r92su

Yaoming

  • Guest
Re: Belkin usb wireless adapter will not enter monitor mode
« Reply #3 on: February 06, 2021, 03:26:00 pm »

Did y’all try ‘airmon-ng Check kill’ first..?
Logged
Pages: [1]   Go Up