SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-01 13:35:04

searchfgold6789
Member
Registered: 2011-09-13
Posts: 41

Device driver for RTL8188CUS won't compile

Hi,

I'm having a little trouble compiling the device driver for my Realtek 8188CUS Wireless card... I downloaded a driver for it from here: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true

Now once I extracted the .zip file and ran the ./install.sh script as root, I'm getting the following errors:

make[1]: Entering directory /lib/modules/2.6.37-slitaz/build'

make[1]: *** No rule to make target `modules'.  Stop.

make[1]: Leaving directory `/lib/modules/2.6.37-slitaz/build'

I read somewhere that I should install the linux-source package, and I did that with no luck. I also ran the get-linux-source command... Can someone advise me on what to do?

Thanks,

- searchfgold6789

Offline

#2 2012-11-01 14:32:56

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Device driver for RTL8188CUS won't compile

Have you tried modprobe -v r8192u_usb first?

Offline

#3 2012-11-01 14:48:12

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Device driver for RTL8188CUS won't compile

slitaz-toolchain and linux-source is required to compile kernel drivers

get-linux-source on 4.0 is working:  http://snipurl.com/25h06tu

Online

#4 2012-11-02 18:04:47

searchfgold6789
Member
Registered: 2011-09-13
Posts: 41

Re: Device driver for RTL8188CUS won't compile

Thank you, mojo - slitaz-toolchain-4.0 and linux-source are both installed

Thank you, Trixar_za - I will try your suggestion, should I add it to /etc/modules? I'm not sure what your command does.

Offline

#5 2012-11-02 19:57:31

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Device driver for RTL8188CUS won't compile

It loads the module. Searching through packages content, that's the closest to the one you need.

Offline

#6 2012-11-10 18:07:54

searchfgold6789
Member
Registered: 2011-09-13
Posts: 41

Re: Device driver for RTL8188CUS won't compile

Modprobe did not produce any output, and after running the command and plugging in the device, scanning for networks did not produce any results.

Actually this particular device is known not to work without building the drivers as I was trying to do.

Offline

#7 2012-11-15 15:26:24

searchfgold6789
Member
Registered: 2011-09-13
Posts: 41

Re: Device driver for RTL8188CUS won't compile

Solved, I think I needed to install gcc.

Offline

#8 2012-11-15 17:20:23

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Device driver for RTL8188CUS won't compile

The computer has to be connected to the internet for slitaz-toolchain to install:

DEPENDS="binutils linux-api-headers glibc-dev gcc make elfkickers"

Online

#9 2012-11-15 22:10:41

searchfgold6789
Member
Registered: 2011-09-13
Posts: 41

Re: Device driver for RTL8188CUS won't compile

Yes, this solution works on another system. Something must have been wrong.

- searchfgold6789

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]