USB-WiFi
USB-WiFi copied to clipboard
Network stack issues when using Mediatek based chips on arm
Dunno if this is the right place, but Im trying to debug network issues. I have multiple SBCs (all arm) and two Mediatek based usb adapters (MT7921au and MT7612U based), idea is to learn about network penetration testing whit these cards, more specific wifi attacks. Issue I face is hanging, both adapters hang on these type of tasks (so it seems). From Orange Pi I have zero2, zero3, also I have Radxa rockpi e, rockpi s - all show the same behavior. I have not seen issues whit x86 based PCs. For example when I do airodump-ng ( full command - sudo airodump-ng wlan1mon --manufacturer --channel 1-173 --wps --uptime --showack ) to scan, SBC becomes unresponsive on network, cant ping it. This can happen a few mins into scanning or hold for tens of minutes, but usually no more than hour. Tried also multiple operating systems like armbian,orangepi/radxa original builds, custom kali builds on zero3 etc, Ubuntu, Debian.... Kernel version always over 6.x. At this point I have made serial connection and I do see that it is not wifi stack issue I thought of, its network itself. wifi interface do not crash, its wired connection loosing connection. There is no errors in dmesg or syslog about what happens. It is not dhcp related issue and have tried on multiple networks connecting SBCs. In orangepi build there is orangepi-config manager (just like armbian) and there under network is option to reset network stack, after pressing that wired connection recovers.
I can recompile kernel and turn on more verbose debugging, but what flag will be useful? Or there is a better way to do this or do to resolve this?