PDA

View Full Version : Can't compile rtl8187l driver for ALFA AWUS036H



Davelister
2016-08-28, 16:04
I have a chromebook flip and installed the ARM veryron image from the ARM Kali downloads section.

I have an old AWUS036H. When I plug it in, it is recognised in lsusb, but doesn't appear in ifconfig.

I don't think the install comes with the rtl8187l driver installed, I therefore went over to the Realtek website and downloaded it.

I installed build-essential. As the ARM images run the older 3.14.0 kernel, I couldn't download the headers from the repo, but the src is included in the arm images anyway. So I simply redirected the build and source links, like this:

https://s22.postimg.org/ftq4jke5d/headers.png

I then navigated to the extracted driver, and ran make. gcc complains that both hard and soft float are in use:

https://s3.postimg.org/m520hgntv/floats.png

You can configure this in the actual file, such that it only uses soft float:

https://s10.postimg.org/k1zdwp0k9/softfloat.png

But that gcc throws a ton of compiler errors on compilation:

https://s21.postimg.org/etkis4a93/cerrors.png

What is the method of least resistance to get this card to function? Is there some way to compile these or is it simpler to create the image with the drivers included or recompile the kernel with them? Has anyone got this card working with an armhf version of Kali?

Davelister
2016-08-29, 20:22
Solved this issue with a kernel rebuild

r3chn3r
2016-10-16, 18:54
lucky. I have the same issue on hyper-v

Not comfortable enough yet to recompile the kernel. Would you be kind enough to send me some pointers?