Ragnt / AngryOxide

802.11 Attack Tool
GNU General Public License v3.0
957 stars 47 forks source link

usb stick interface not found on raspbian #36

Closed Payback80 closed 3 months ago

Payback80 commented 3 months ago

If you are unsure if this is a bug or expected behavior, feel free to ask in our Discord (https://discord.gg/QsEgaFndsQ)

Describe the bug Hello i wanted to use AO on a raspberry pi 4 running raspbian, the external usb dongle works for connecting to AP but the point is I want to use wlan0 for connecting and wlan1 for scanning the networks. If i type sudo ./angryoxide -i wlan1 i receive an error message interface not found. Here is my ifconfig wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.43.106 netmask 255.255.255.0 broadcast 192.168.43.255 inet6 fe80::1a88:5807:61dc:28a8 prefixlen 64 scopeid 0x20 ether dc:a6:32:eb:f7:d4 txqueuelen 1000 (Ethernet) RX packets 6962 bytes 356346 (347.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 10252 bytes 13075369 (12.4 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 94:44:52:27:ec:e8 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

the usb dongle is this one Bus 001 Device 003: ID 050d:815f Belkin Components F5D8053 N Wireless USB Adapter v6000 [Realtek RTL8192SU] any hint? thanks in advance

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Hardware (please complete the following information):

Additional context Add any other context about the problem here.

Ragnt commented 3 months ago

Does this chipset support monitor mode? I’m not seeing any data that says it does.

is monitor listed under “Supported interface modes” when you run “iw list”?

Payback80 commented 3 months ago

good catch! on raspbian i don't have monitor mode, on debian 12 i have, but also on debian i get "interface not found". So the dongle dosn't support it? Any suggestion on a usb dongle? i attach the two outputs:

raspbian:

Wiphy phy0 wiphy index: 0 max # scan SSIDs: 10 max scan IEs length: 2048 bytes max # sched scan SSIDs: 16 max # match sets: 16 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports roaming. Supported Ciphers:

on debian 12:

sudo iw list Wiphy phy0 wiphy index: 0 max # scan SSIDs: 4 max scan IEs length: 2257 bytes max # sched scan SSIDs: 0 max # match sets: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports T-DLS. Supported Ciphers:

Ragnt commented 3 months ago

You can try to install custom drivers (if they exist) that support monitor mode, maybe the 8192eu driver. Otherwise the list of my recommended hardware is here:

https://github.com/Ragnt/AngryOxide/wiki/Recommended-WiFi-Hardware