11-19-2018, 02:46 AM
(This post was last modified: 11-19-2018, 03:16 AM by pane.
Edit Reason: i didnt initially type anything
)
(11-19-2018, 02:39 AM)evilbunny Wrote:(11-19-2018, 02:32 AM)pane Wrote: Thanks for that, I manually ran make, eventually got the build to work. Am trying to load the kernel module in now and am having depmod link issues i.e modprobe says the kernel object is not in /lib/module even though I run ls and it is there... I ran depmod again and then tried to load it again and failed. I'm attempting to fix this now
What changes did you make to get it working? I'd like to incorporate improvements.
Basically, I made sure to do build essentials, install python, updated did a sudo apt-get update
Then I ran the package using dpkg -i <name>.deb.
I rebuilt the .ko, which went fine, but DEPMOD didn't link properly or for some reason the .ko wasn't placed in /lib/modules/<uname -r>
so I used insmod and inserted it from file. Then it loaded up, I plugged in the rtl8812au and tested it, it works.
Thanks. I think the process is pretty clear, I am just not very experienced with linux kernel. I think with your help it was pretty straightforward