My router ASUS TUF-AX4200 has firmware 23.05.5 installed.
I connect via ssh and try to start the airmon-ng, and get the following output
root@nameless:~# airmon-ng
/usr/sbin/airmon-ng: line 14: mountpoint: not found
/sys is not mounted, you can probably mount it with:
mount -t sysfs sysfs /sys
This program cannot continue without a working sysfs.
Please tell me how to switch wifi to monitor mode and start monitoring?
Once we get that working please fill a bug report (or PR if you feel strong at it) namely to patch out mountpoint -q section and add usbutils dependency and whatever we find needed. if memory serves me well iw dev wlan0 monitor none and iw dev wlan0 managed were the commands to switch modes.
I installed the usbutils package (which for some reason was not installed as a dependency for aircrack-ng when building the firmware!), and now (with the commented block if ! mountpoint -q -- /sys; then) airmon-ng starts, but for some reason does not switch phy0 to monitor mode, and therefore I have to use iw for this.
Please tell me, is it possible to save the data that airdump creates ( *.cap files ) to the internal memory or is it better to use a flash drive for this?