I'm trying to set this up on my Raspberry Pi 4b with my Ralink mt7601u adapter. I can already connect to the internet from the adapter, but I want to use AP mode. Here is where it messes up:
pi@raspberrypi:~/Software/mt7601u-ap$ sudo make
make[1]: Entering directory '/home/pi/Software/mt7601u-ap/tools'
make[1]: Leaving directory '/home/pi/Software/mt7601u-ap/tools'
/home/pi/Software/mt7601u-ap/tools/bin2h
make -C /lib/modules/5.11.0-1012-raspi/build M=/home/pi/Software/mt7601u-ap/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-1012-raspi'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:745: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-1012-raspi'
make: *** [Makefile:73: LINUX] Error 2
I'm trying to set this up on my Raspberry Pi 4b with my Ralink mt7601u adapter. I can already connect to the internet from the adapter, but I want to use AP mode. Here is where it messes up:
Any solution/ideas?