morrownr / 8814au

Linux Driver for USB WiFi Adapters that are based on the RTL8814AU Chipset
Other
508 stars 98 forks source link

(solved) Unable to locate package raspberrypi-kernel-headers (raspberry pi 4b) #89

Open FahdSaadA opened 1 year ago

FahdSaadA commented 1 year ago

hello everyone thank you for this cool tool and effort, however i got this issue..i have tried the firmware in raspberry pi 4b the latest kernel 5.15 and it work there..however it does not at 5.10 which seems unable to relocate the kernel... i had followed the steps and the installation failed at the last step (10) sudo ./install-driver.sh

the kernel did not show up...by the way i did not upgrade , because i need this firmware in this version 5.10.92 for other tools are not supported by the latest 5.15 raspbian..so i wish to know if i still can use and relocate the kernel to solve this issue

the message error

Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package raspberrypi-kernel-headers. E: Couldn't find any package by glob 'raspberrypi-kernel-headers.' E: Couldn't find any package by regex 'raspberrypi-kernel-headers.' root@raspberrypi:/home/pi# ^C

morrownr commented 1 year ago

Hi @FahdSaadA

The problem is definitely that the wrong headers are installed. I have not experienced this but have seen others that have. There is a thread in the RasPi forums that addresses this issue and shows a fix but I can't remember what the fix was. You might want to do search in the RasPi forums for "wrong header files" and some other variations to see what you come up with.

If you don't find the fix, you might try purging any and all header files you currently have installed and then reinstall after reboot.

Nick

morrownr commented 1 year ago

If you do find the fix, please post it back here future users.

FahdSaadA commented 1 year ago

thank you very much Nick. and yes it was the header mismatch. since i was using 5.10.93 and suggested one is 5.10.103 so by using the correct header, the device works fine...but yet i did not use it for monitoring..

morrownr commented 1 year ago

Good. I'll mark this as solved. As far as monitor mode goes, I have some info that might help:

https://github.com/morrownr/USB-WiFi

Select menu item 10.

Regards