PDA

View Full Version : Rtl 8191su



jwaipouri
January 19th, 2013, 04:30 AM
Hey guys

I've been using the instructions here http://ubuntuforums.org/showthread.php?t=1674994&highlight=rtl+8712

To install drivers for an RTL 8191S

jared@InsaneProvision:~$ cd Desktop/
jared@InsaneProvision:~/Desktop$ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/sudo su
bash: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/sudo: No such file or directory

I know this is probably really simple, but What am I doing wrong?

steeldriver
January 19th, 2013, 04:37 AM
The 'sudo su' part is a separate command and needs to go on the next line - you need to press the 'Enter' key after doing the tab completion


Now back to the terminal:
cd Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201011 11/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201011 11You don't need to carefully type all that! Just type in:
cd Desktop/rtlPress Tab and the rest of the first part will fill in. Add driver/rtl and press Tab and the remainder will fill in. PRESS ENTER. Now do:
sudo su
make
make install
modprobe 8712u
exit

jwaipouri
January 19th, 2013, 04:39 AM
jared@InsaneProvision:~/Desktop$ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/ -make
bash: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/: Is a directory
jared@InsaneProvision:~/Desktop$ sudo su
[sudo] password for jared:
root@InsaneProvision:/home/jared/Desktop# make
make: *** No targets specified and no makefile found. Stop.

the enter in the last reply gives me: bash: rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/: Is a directory

helpee
January 19th, 2013, 04:42 AM
You need to do the make command from in that directory, not To that directory. Life is easier if you just cd to it to begin with.

jwaipouri
January 19th, 2013, 04:45 AM
You need to do the make command from in that directory, not To that directory. Life is easier if you just cd to it to begin with.

OOOOOOOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHHHH!!!!!!!!! !!!!!!

I knew whatever i was missing would be simple.

So I ran the make command and got this:


/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_recv.h:205:24: error: field ‘recv_tasklet’ has incomplete type
make[2]: *** [/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.o] Error 1
make[1]: *** [_module_/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
make: *** [modules] Error 2


And then make install:


root@InsaneProvision:/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05# make install
install -p -m 644 8712u.ko /lib/modules/3.2.0-34-generic-pae/kernel/drivers/net/wireless/
install: cannot stat `8712u.ko': No such file or directory
make: *** [install] Error 1

ahallubuntu
January 19th, 2013, 04:54 AM
Try this:


sudo apt-get update
sudo apt-get install build-essential

Then try the make again.

jwaipouri
January 19th, 2013, 04:56 AM
Try this:


sudo apt-get update
sudo apt-get install build-essential

Then try the make again.


Done that. still comes back with the same errors:


root@InsaneProvision:/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05# make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.2.0-34-generic-pae/build M=/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
CC [M] /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.o
In file included from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:70:0,
from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_cmd.h:107:25: error: field ‘event_tasklet’ has incomplete type
In file included from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:72:0,
from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_xmit.h:355:24: error: field ‘xmit_tasklet’ has incomplete type
In file included from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:73:0,
from /home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_recv.h:205:24: error: field ‘recv_tasklet’ has incomplete type
make[2]: *** [/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.o] Error 1
make[1]: *** [_module_/home/jared/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
make: *** [modules] Error 2

jwaipouri
January 20th, 2013, 09:40 AM
so this afternoon I left the adaptor plugged in and the machine switched on (it's a toshiba libretto which I normally switch off when I'm not using it).

When I came back a few hours later it had magically decided to recognise the wlan adaptor and now it is working beautifully.

Don't know whether the driver has installed itself or something else has happened, but either way it is now working.

Yay!

mörgæs
January 20th, 2013, 11:50 AM
Good, please mark the thread 'solved'.