Page 1 of 3

(SOLVED) Realtek RTL8192cu help

Posted: Tue Feb 14, 2012 12:56 am
by castletonia
I bought a cheap wireless usb adapter off ebay. It is a Realtek RTL8192cu. I am dual booting Windows XP Professional and Mint 9 XFCE. I have the usb adapter working in Windows and I have the Windows wireless drivers installed in nvidsrapper but when I go configure network I have nothing to select. This is the first time I have tried to install a wireless usb device in linux and am lost as to where to go from here.

Re: Realtek RTL8192cu help

Posted: Tue Feb 14, 2012 5:09 am
by mads
You could use ndiswrapper, but you could also get Realtek Linux Drivers for RTL8192cu:
http://www.realtek.com.tw/downloads/sea ... =RTL8192cu

If you prefer ndiswrapper, download XP driver for your card from the link above (v14114-OmniPeek-V6_CU_DU.zip),
extract the zip archive, and then use then Menu > Administration > Windows Wireless Drivers. Now navigate to the
extracted folder and select "netrtwlanu.inf".
Note: Be careful to select the inf file in 'X64' or 'X86' folder according to your systems architecture.

If you prefer Linux drivers, use the link above and download the driver (RTL819xCU_USB_linux_ v3[1].3.2_3192.zip)
Righ click the zip archive and select "Extract Here". The zip archive will be extracted to a folder called "RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103"
Right click this folder and select "Open in Terminal"
Now in Terminal, type the commands below to run the installation script:

Code: Select all

chmod +x install.sh
sudo ./install.sh
You'll be asked what your card is:

Code: Select all

Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#? 
Type "1" (without quotes), and press Enter key.

Re: Realtek RTL8192cu help

Posted: Tue Feb 14, 2012 11:05 pm
by castletonia
I already have the correct windows driver installed through ndiswrapper and it shows that hardware is present. When I go to configure network there are no options to select.

Ok, so I followed your directions for the linux driver but it still didn't work. Here is the output in terminal.

##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103.tar.gz
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/autoconf_rtl8192c_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_ioctl_query.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/efuse/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/efuse/rtw_efuse.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_br_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_eeprom.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_debug.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_p2p.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_ieee80211.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_security.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_mlme.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_sta_mgt.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_rf.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_pwrctrl.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_wlan_util.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_mlme_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_io.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_ioctl_rtl.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_mp_ioctl.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_ioctl_set.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_iol.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/wlan0dhcp
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/autoconf_rtl8192d_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/osdep_service.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/ioctl_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/recv_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/os_intfs.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/usb_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/mlme_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/pci_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/sdio_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/os_dep/linux/xmit_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/wlan_bssdef.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/cmd_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_mlme_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/wifi.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_led.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/farray.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192CPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/nic_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/usb_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_event.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_qos.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_pwrctrl.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/osdep_ce_service.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/ieee80211.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/recv_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/drv_types_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_efuse.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192CUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_ops_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DUTestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/usb_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_ht.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/ethernet.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/mp_custom_oid.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_ioctl_rtl.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_ops_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_mlme.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/hal_init.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/drv_types.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/ieee80211_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/drv_types_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192CPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_led.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/swab.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/swabb.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/big_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/little_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/byteorder/generic.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_mp_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_ops_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DETestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192CEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_p2p.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/pci_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/drv_conf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/usb_vendor_req.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/osdep_service.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_ioctl_query.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_eeprom.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/drv_types_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_byteorder.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_version.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_ioctl_set.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/h2clbk.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/pci_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192d_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/pci_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_event.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/mlme_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_debug.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/osdep_intf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sta_info.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_iol.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_mp_phy_regdef.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/usb_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/autoconf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_security.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/sdio_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_io.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/Hal8192DPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_br_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/circ_buf.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/basic_types.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/ip.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_led.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/if_ether.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/xmit_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtl8192c_sreset.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_mp.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/include/rtw_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/ifcfg-wlan0
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/Makefile
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/make_drv
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/Kconfig
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/rtl8192cu_led.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/rtl8192cu_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/usb_ops_ce.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/Hal8192CUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/rtl8192cu_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/usb/usb_ops_xp.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_sreset.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192c/rtl8192c_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/Hal8192DUTestHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/rtl8192du_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/rtl8192du_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/Hal8192DUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/rtl8192du_led.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/hal/rtl8192d/rtl8192d_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/clean
rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103
Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#? 1
You have selected RTL8192cu
rtw_version.h has existed!
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.32-21-generic/build M=/home/castletonia/Downloads/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103 modules
make: *** /lib/modules/2.6.32-21-generic/build: No such file or directory. Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

Not sure what to do at this point. The computer is an HP E-PC 42 and it has no pci slots so usb is my only option for wifi. Any other advice or suggestions will be appreciated.

Re: Realtek RTL8192cu help

Posted: Wed Feb 15, 2012 3:58 am
by Monsta
castletonia wrote:make: *** /lib/modules/2.6.32-21-generic/build: No such file or directory. Stop.
sudo apt-get install linux-headers-2.6.32-21-generic :)

Re: Realtek RTL8192cu help

Posted: Wed Feb 15, 2012 2:49 pm
by castletonia
Installed the linux-headers-2.6.32-21-generic and tried to install but again failed. Here is the bottom part of the output.


Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#? 1
You have selected RTL8192cu
rtw_version.h has existed!
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.32-21-generic/build M=/home/castletonia/Downloads/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103 modules
/usr/src/linux-headers-2.6.32-21-generic/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-headers-2.6.32-21-generic/scripts/gcc-version.sh: line 26: gcc: command not found
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
/usr/src/linux-headers-2.6.32-21-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support
make[1]: gcc: Command not found
CC [M] /home/castletonia/Downloads/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_cmd.o
/bin/sh: gcc: not found
make[2]: *** [/home/castletonia/Downloads/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103/core/rtw_cmd.o] Error 127
make[1]: *** [_module_/home/castletonia/Downloads/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

Re: Realtek RTL8192cu help

Posted: Wed Feb 15, 2012 3:23 pm
by mads
Yet another package you need to install. :)
sudo apt-get install build-essential

Re: Realtek RTL8192cu help

Posted: Wed Feb 15, 2012 3:57 pm
by castletonia
I want to thank mads and monsta. I got it working now thanks to you two. All the help has been greatly appreciated.

Re: Realtek RTL8192cu help

Posted: Wed Feb 15, 2012 5:06 pm
by castletonia
I spoke too soon. When I reboot the computer I have to re-install the driver for wireless to work. Any permanent solution here?

Re: Realtek RTL8192cu help

Posted: Thu Feb 16, 2012 12:49 am
by Monsta
Hmm, I thought gcc is installed already in Mint... oh well, maybe it's not so in Mint 9, I've never seen it actually :)
Nevermind. How did you make the driver work before the reboot? What was the installation script's output this time?

Re: Realtek RTL8192cu help

Posted: Thu Feb 16, 2012 5:11 am
by slikwill
I have essentially the same circumstances as discussed in this thread, and have tried running the installs from linux and the installed net8192cu.inf that came with the device. When I click the icon on the bottom of the screen it shows that I have Wireless Network (Realtek 802.11n WLAN Adapter) wireless is disabled. How do I enable it?

Re: Realtek RTL8192cu help

Posted: Thu Feb 16, 2012 6:48 am
by mads
castletonia wrote:I spoke too soon. When I reboot the computer I have to re-install the driver for wireless to work. Any permanent solution here?
Did you edit your wireless connection in Network Manager and check "Connect automatically"?
Did you remove Windows drivers from ndiswrapper?

Still problem? Make the wireless to work, and then post the output of these:
sudo ndiswrapper -l
lspci -v | grep 'Kernel driver in use'
dmesg | grep 8192

Re: Realtek RTL8192cu help

Posted: Thu Feb 16, 2012 10:55 am
by castletonia
Ok, so I was not completely correct. I do not have to reinstall the driver on each reboot. If I go to system/settings and check for available drivers, my wireless driver is detected and activated, but not in use. I have to deactivate, then reactivate for it to start working. I have it set to automatically connect.

I do still have the ndiswrapper windows driver installed but have never been able to get it working.

sudo ndiswrapper -l
[sudo] password for castletonia:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
net8192cu : driver installed
device (0BDA:8176) present (alternate driver: 8192cu)

lspci -v | grep 'Kernel driver in use'
Kernel driver in use: agpgart-intel
Kernel driver in use: ata_piix
Kernel driver in use: uhci_hcd
Kernel driver in use: uhci_hcd
Kernel driver in use: Intel ICH
Kernel driver in use: e100

dmesg | grep 8192
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 15.460939] ndiswrapper (load_sys_files:206): couldn't prepare driver 'net8192cu'
[ 15.473548] ndiswrapper (load_wrap_driver:108): couldn't load driver net8192cu; check system log for messages from 'loadndisdriver'
[ 1534.325286] CHIP TYPE: RTL8188C_8192C
[ 1534.331788] ====> ReadAdapterInfo8192C
[ 1535.448708] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 1535.448713] <==== ReadAdapterInfo8192C in 1120 ms
[ 1535.460520] usbcore: registered new interface driver rtl8192cu
[ 1535.732313] =====> rtl8192c_free_hal_data =====
[ 1535.732316] <===== rtl8192c_free_hal_data =====
[ 1535.992688] CHIP TYPE: RTL8188C_8192C
[ 1535.998635] ====> ReadAdapterInfo8192C
[ 1537.096565] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 1537.096570] <==== ReadAdapterInfo8192C in 1100 ms
[ 1538.288940] rtl8192cu_hal_init in 1136ms
[ 1546.994653] rtl8192c_set_FwJoinBssReport_cmd mstatus(1)
[ 1548.381621] rtl8192c_dm_RF_Saving(): RF_Save
[ 2774.092386] =====> rtl8192c_free_hal_data =====
[ 2774.092390] <===== rtl8192c_free_hal_data =====
[ 2774.351376] CHIP TYPE: RTL8188C_8192C
[ 2774.355786] ====> ReadAdapterInfo8192C
[ 2775.461762] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 2775.461768] <==== ReadAdapterInfo8192C in 1108 ms
[ 2776.713665] rtl8192cu_hal_init in 1136ms
[ 2785.436892] rtl8192c_set_FwJoinBssReport_cmd mstatus(1)
[ 2786.801736] rtl8192c_dm_RF_Saving(): RF_Save
[ 2798.796003] rtl8192c_dm_RF_Saving(): RF_Normal
[ 2800.798036] rtl8192c_dm_RF_Saving(): RF_Save

Re: Realtek RTL8192cu help

Posted: Thu Feb 16, 2012 12:02 pm
by mads
castletonia wrote:Ok, so I was not completely correct. I do not have to reinstall the driver on each reboot. If I go to system/settings and check for available drivers, my wireless driver is detected and activated, but not in use. I have to deactivate, then reactivate for it to start working. I have it set to automatically connect.
I do still have the ndiswrapper windows driver installed but have never been able to get it working...
There are three drivers here: net8192cu (Windows driver), rtl8192cu (kernel's driver) and 8192cu (Realtek driver)
Lets remove the first one, blacklist the second one and make the third one start at boot:
sudo modprobe -r ndiswrapper
sudo ndiswrapper -e net8192cu
echo "blacklist rtl8192cu" | sudo tee /etc/modprobe.d/blacklist-rtl8192cu.conf
echo 8192cu | sudo tee -a /etc/modules

Reboot

Re: Realtek RTL8192cu help

Posted: Fri Feb 17, 2012 12:18 am
by castletonia
mads, your awesome. I have tried rebooting 3 times to make sure and each time wireless works right away. I appreciate all the help as I would have never figured this out on my own. Now I have run out of reasons to boot into Windows XP.

One last question. Will this process be similar on each version of Mint? I am planning on putting Mint 13 on a different computer when it comes out.

Re: Realtek RTL8192cu help

Posted: Fri Feb 17, 2012 2:56 am
by Monsta
Every next Mint contains a newer kernel. Chances are rtl8192cu will be fixed by that time and will work correctly with your device, so you won't need to go through all that again. :)

If not, there's always another option - to install compat-wireless. That's the whole wireless drivers pack pulled from newer kernels to provide better wireless support on older ones. I don't know if there's a HOWTO for installing them though. Here's some documentation:

https://wiki.ubuntu.com/Kernel/LinuxWir ... _in_Ubuntu
http://linuxwireless.org/en/users/Download/stable/ (that's the official website)

Re: Realtek RTL8192cu help

Posted: Fri Feb 17, 2012 4:14 am
by mads
castletonia wrote:mads, your awesome. I have tried rebooting 3 times to make sure and each time wireless works right away. I appreciate all the help as I would have never figured this out on my own. Now I have run out of reasons to boot into Windows XP.

One last question. Will this process be similar on each version of Mint? I am planning on putting Mint 13 on a different computer when it comes out.
Thank you castletonia. :D

Monsta is right. The issue is already fixed in newer kernels.

Re: (SOLVED) Realtek RTL8192cu help

Posted: Tue Feb 28, 2012 5:44 am
by owh
Thank you, mads! I signed up here as I feel obliged to say thank you.

Your steps to install Realtek Linux driver helped me get my PCi-GWUSExtreme to work on Ubuntu 11.10 x64. The wireless usb dongle worked when plugged in however was only able to detect some wireless network but not all. It was on rtl8192cu driver. I tried install Win XP (and Win 7) driver with ndiswrapper, but that didn't solve the problem. I read in forums that Ubuntu >=11.04 does not like Channel >=12, and thought there will be solution until I read your steps. I followed the same steps as you described. I did not have problem with dependency packages, however I had to

Code: Select all

sudo rmmod rtl8192cu
before the installation, or the installer would complain. The wireless adaptor immediately detected all other wireless networks after the installation. However, as you pointed out, upon restart the system reverted back to rtl8192cu. I removed the ndiswrapper Win net8192cu driver followed your instruction to blacklist rtl8192cu and enable 8192cu.

Code: Select all

echo "blacklist rtl8192cu" | sudo tee /etc/modprobe.d/blacklist-rtl8192cu.conf
echo 8192cu | sudo tee -a /etc/modules
All is fine now. Thank you very much!

Re: (SOLVED) Realtek RTL8192cu help

Posted: Tue Feb 28, 2012 6:47 am
by mads
owh, this thread was limited to Mint 9 with 2.6.32-21 kernel.
Your post has made it useful for all users. Thank you.

Re: (SOLVED) Realtek RTL8192cu help

Posted: Sat Mar 03, 2012 2:47 pm
by twiegp
Hi -

I'm having similar issues as those described in the OP, but I haven't managed to address them yet. I installed the Realtek drivers and I can get them to work momentarily but network speeds will always quickly grind to a halt. I suspect that the main issue is that I'm not able to properly blacklist the kernel drivers and they're somehow interfering with the functioning of the Realtek drivers. "dmesg | grep 8192" will always show some rtl8192 entries once the USB device is inserted. Should I do something above and beyond

Code: Select all

echo "blacklist rtl8192cu" | sudo tee /etc/modprobe.d/blacklist-rtl8192cu.conf
echo 8192cu | sudo tee -a /etc/modules
or am I just somehow doing this incorrectly? This thread has helped me get a lot closer to having things running but this obstacle still remains.

Re: (SOLVED) Realtek RTL8192cu help

Posted: Sun Mar 04, 2012 12:37 pm
by AlexCa
Hey guys, i´m sorry for posting here but i can't solve the same problem and after spending lot of time googling this is the only place i found where someone was able to connect using RTL8192CU!

I´m using Bodhi Linux and opened a thread the forum, but so far nothing worked:
http://forums.bodhilinux.com/index.php? ... -in-bodhi/

I've tried to follow the instructions in this thread, but got a error in the end of the procedure:

- I've downloaded the linux driver for RTL8192CU from Realtek website:
http://www.realtek.com.tw/downloads/sea ... =RTL8192cu

- Then typed the following commands in the Terminal:

Code: Select all

sudo apt-get install linux-headers-3.0.0-12-generic 

Code: Select all

sudo apt-get install build-essential
Everything installed ok.

- Then i followed this instructions (the zip archive is the one containing the driver)

Code: Select all

Righ click the zip archive and select "Extract Here". The zip archive will be extracted to a folder called "RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103"
Right click this folder and select "Open in Terminal"
Now in Terminal, type the commands below to run the installation script:
CODE: SELECT ALL
chmod +x install.sh
sudo ./install.sh

You'll be asked what your card is:
CODE: SELECT ALL
Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#?

Type "1" (without quotes), and press Enter key.
But at the end i had this error:

##################################################
Compile make driver ok!!
##################################################
Authentication requested [root] for remove driver:
ERROR: Module 8192cu does not exist in /proc/modules
Authentication requested [root] for insert driver:
insmod: error inserting '8192cu.ko': -1 Device or resource busy
Authentication requested [root] for install driver:
install -p -m 644 8192cu.ko /lib/modules/3.0.0-12-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 3.0.0-12-generic
##################################################
The Setup Script is completed !
##################################################

Can someone please help me?
Thanks in advance!