When I try and install the RTL8188CUS drivers downloaded from Realtek (using their install.sh shell script) I installed the drivers in 11.04 using individual commands to make, etc., and that worked OK, but using individual commands now gives the same error. What's changed in 11.10????
sudo bash install.sh
...all goes well until an error message appears
Authentication requested [root] for make driver: make ARCH=i386
CROSS_COMPILE= -C /lib/modules/3.0.0-12-generic/build
M=/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922
modules make[1]: Entering directory
`/usr/src/linux-headers-3.0.0-12-generic' CC [M]
/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922/core/rtw_cmd.o
In file included from
/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922/core/rtw_cmd.c:24:0:
/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922/include/osdep_service.h:49:29:
fatal error: linux/smp_lock.h: No such file or directory compilation
terminated. make[2]: ***
[/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922/core/rtw_cmd.o]
Error 1 make[1]: ***
[_module_/home/karl/rtl8188cus/driver/rtl8192_8188CU_linux_v3.1.2590.20110922] Error 2 make[1]: Leaving directory
`/usr/src/linux-headers-3.0.0-12-generic' make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg
Thanks, fossfreedom, for your attention.
I did a completely fresh install of Ubuntu 11.10. I then followed the troubleshooting pages for wireless networking and found that the realtek rtl8192cu driver was in the library, and used modprob (I think) to enable it as directed. It is associated with the realtek usb adaptor in Network Manager, and one can see the available wireless networks (so I know its working to some extent). When I attempt to connect to my wifi network, it prompts for the WEP code and tries and tries to connect. When it times out, it prompts for the code again.
I have stuck in an old Broadcom usb dongle, which connects happily using the WEP code.
So, my current guess is that it is a driver problem. Do I report a bug to Ubuntu, as it is part of the delivered ver 11.10? Or to Realtek?
Thanks for your reply, fossfreedom
I tried using uppercase for the WEP passphrase and also for the HEX WEP code, to no effect.
I have tried disablng WEP encryption on the router, and still the old Buffalo connects and the Realtek fails to connect... it seems slow also in recognising that the network is unencrypted (doesn't have the padlock on the little icon.
I will see about posting a bug with Ubuntu: I've asked the manufacturer to check with Realtek.
Any further advice welcomed.
sudo lshw -class network
dmesg
just after connecting via network-manager then there should be errors displayed as to why the connection failed.build-essential
as well?