Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Got a problem with Ubuntu 12.04 LTS and TPLink TL-WN823N. Installed the driver from www.realtek.com.tw

Before that I would like to inform that currently there is no internet connection on my Ubuntu 12.04. So I need to download manually the "install file" from my laptop and install it manually.

I already done the following step :

  1. First I'm editing the file for blacklist.conf

    sudo gedit /etc/modprobe.d/blacklist.conf
    
  2. Add lines for :

    blacklist rtl8192cu 
    blacklist rtl8192c_common 
    blacklist rtlwifi 
    

    Then save and exit.

  3. Install the drivers for realtek 8192CU from realtek.com.tw

    Why not using the rtl8192cu-tjp-dkms_1.6_all.deb ?

    It works on 13.04 NOT 12.04 as far that I know. it gives me error :

    Dependency is not satisfiable: dkms (>=1.95)
    
    • And do the code below

      sudo sh install.sh   
      
    • Got the result like this :


    ##################################################
    Realtek Wi-Fi driver Auto installation script
    Novembor, 21 2011 v1.1.0
    ################################################# Decompress the driver source tar ball: rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/runwpa rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/rtw_efuse.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_recv.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_br_ext.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_eeprom.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_tdls.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_p2p.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ieee80211.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mp.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sreset.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sta_mgt.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_rf.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_pwrctrl.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_wlan_util.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme_ext.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_io.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ap.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_rtl.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mp_ioctl.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_set.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_iol.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/wlan0dhcp rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/osdep_service.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/recv_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/pci_ops_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_intf.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/mlme_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/pci_intf.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/rtw_android.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/xmit_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_ops_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_cfg80211.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/hal_com.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/wlan_bssdef.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/cmd_osdep.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_recv.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mlme_ext.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/wifi.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_led.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_recv.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/HalPwrSeqCmd.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CPhyReg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DPhyCfg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_hal.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_dm.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_rf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_android.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_recv.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/nic_spec.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_osintf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_dm.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_xmit.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_event.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_qos.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_pwrctrl.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_xmit.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_spec.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_ce_service.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ieee80211.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/recv_osdep.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_linux.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_efuse.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CUHWImg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_ops.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ht.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ioctl_cfg80211.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ethernet.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/mp_custom_oid.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_rtl.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DUHWImg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_spec.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mlme.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DEHWImg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_sreset.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ieee80211_ext.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_ce.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CPhyCfg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_led.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/swab.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/swabb.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/big_endian.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/little_endian.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/generic.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp_ioctl.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_ops_linux.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CUHWImg_wowlan.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CEHWImg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_p2p.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_hal.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_conf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_vendor_req.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/linux/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/linux/wireless.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_service.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DUHWImg_wowlan.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_query.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_eeprom.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_xp.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_byteorder.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_xmit.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_version.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_cmd.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_set.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/h2clbk.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_osintf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_cmd.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_rf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_ops.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_tdls.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_cmd.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_event.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/mlme_osdep.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_debug.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ap.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_intf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/hal_intf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/sta_info.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_iol.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp_phy_regdef.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_rf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_hal.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/autoconf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_security.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_io.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DPhyReg.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_br_ext.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/circ_buf.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/basic_types.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_hal.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ip.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_led.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/if_ether.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/xmit_osdep.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_sreset.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_sdio.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/ifcfg-wlan0 rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/Makefile rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/Kconfig rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_intf.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_cmd.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_phycfg.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_xmit.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_dm.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_mp.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rxdesc.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_led.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_halinit.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_recv.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg_wowlan.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_ce.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_linux.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_xmit.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_xp.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_sreset.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_hal_init.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_com.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.h rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/HalPwrSeqCmd.c rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/clean rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 Authentication requested [root] for make clean: install.sh: 38: [: unexpected operator 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: install.sh: 48: [: unexpected operator make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.8.0-29-generic/build M=/home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 modules make[1]: Entering directory /usr/src/linux-headers-3.8.0-29-generic' CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_io.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_set.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ieee80211.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme_ext.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_wlan_util.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_pwrctrl.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_rf.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_recv.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sta_mgt.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ap.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_p2p.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_tdls.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_br_ext.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_iol.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sreset.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/rtw_efuse.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_intf.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_com.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_hal_init.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_phycfg.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_dm.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rxdesc.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_cmd.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_halinit.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_led.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_xmit.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_recv.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_sreset.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_xmit.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/osdep_service.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_intf.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_ops_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/xmit_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/mlme_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/recv_linux.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_cfg80211.o CC [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/rtw_android.o LD [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/8192cu.o Building modules, stage 2. MODPOST 1 modules CC /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/8192cu.mod.o LD [M] /home/all/drivers/8192CU/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/8192cu.ko make[1]: Leaving directory/usr/src/linux-headers-3.8.0-29-generic'

    #

    Compile make driver ok!!

    #

    install.sh: 68: [: unexpected operator Authentication requested [root] for remove driver: Authentication requested [root] for insert driver: Authentication requested [root] for install driver: install -p -m 644 8192cu.ko /lib/modules/3.8.0-29-generic/kernel/drivers/net/wireless/ /sbin/depmod -a 3.8.0-29-generic

    #

    The Setup Script is completed !

    ############################################
  4. Restart.

    The current condition is that I can connect to my wifi router and can not use firefox to browse anything.

PS :

TL-WN823N is an Realtek 8192CU

My router is Tenda FH303 www.tp-link.com. www.tenda.cn

I use 12.04 in offline PC and no inet connection can be established beside TL-WN823N... That's why really need this one to be connected.

I already read the following links and got stuck.

http://www.linux-hardware-guide.com/2013-04-21-tp-link-tl-wn823n-mini-wireless-n-usb-300mbps http://forum.ubuntu-fr.org/viewtopic.php?pid=13755671#p13755671

TP-Link Wireless N USB (TL-WN823N) connection issues.

Compilation error when installing Realtek 8192cu driver

Cannot install the RTL8188C driver on 13.04

Cannot install the RTL8188C driver on 13.04

http://ubuntuforums.org/showthread.php?t=2090580

http://ubuntuforums.org/showthread.php?t=2104485

http://ubuntuforums.org/showthread.php?t=2119378

How can I resolve this?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted
sudo modprobe rtl8192cu

Also, you probably have to take your driver off of the blacklist in order for it to work. If you are trying to blacklist the kernel driver but have successfully installed the Realtek version it should not be an issue. I have installed Realtek drivers in the past and the Realtek driver will typically overide or install over the kernel version just as a newer version would during an update. I would try commenting out those three lines you added earlier before doing a reboot to see if that works. BTW, you need all three of those ones you blacklisted in order for rtl8192cu to work. (rtl8192cu rtlwifi and rtl8192c_common) They all depend on each other and need to be taken off of the blacklist. After you remove the blacklisted items and reboot.

Now you have to assign the driver to the usb device. So plug the device in.

First, find out the code you need for the following steps. I performed the following for the code '2001 330D'. All you need to do is replace your code for '2001 330D' if your output of lsusb is different.

lsusb

you should see something like this . . .

...
Bus 002 Device 020: ID 2001:330d D-Link Corp.

This would indicate your ID is 2001 330D. Again, if your's is different, substitute the correct value in the following commands.

sudo modprobe rtl8192cu
echo "2001 330D" | sudo tee /sys/bus/usb/drivers/rtl8192cu/new_id

To get the driver to load at boot . . .

sudo gedit /etc/modules

and add the line

rtl8192cu

Save and exit.

sudo gedit /etc/rc.local

and add the following

# Declare USB ID to rtl8192cu module
echo "2001 330D" | tee /sys/bus/usb/drivers/rtl8192cu/new_id

exit 0
share|improve this answer
    
    
some how I manage to connect the driver and get linked with the wifi spot. But did not get any data transfer... any idea ??? even ping does not work... And I already replace the TL-WN823N from the store where I bought it. –  Sidhi Ciang Mar 9 at 8:14
    
ping also give request time out... –  Sidhi Ciang Mar 9 at 8:15
    
did you try sudo modprobe 8192cu –  mchid Mar 11 at 6:34
    
I have a Dlink dwa-131 and they have a linux driver from realtek available here, hardware version b http://support.dlink.com/ProductInfo.aspx?m=DWA-131. The end result is sudo modprobe 8192cu instead of rtl8192cu. –  mchid Mar 11 at 6:40
show 6 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.