How can I install driver for Realtek 8188CU Wifi USB adapter?
But didn't worked nothing.
Is there a solution for that?
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:444:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rx_signal;
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:446:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:452:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_ampdu_enable;
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:454:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:460:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rssi_disp;
^
cc1: some warnings being treated as errors
make[1]: ** [/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.o] Erro 1
make: ** [_module_/var/lib/dkms/rtl8192cu-tjp/1.6/build] Erro 2
make: Saindo do diretório `/usr/src/linux-headers-3.13.0-63-generic'
Big, big update.
To me it seems you are missing out on a couple of basic things:
A driver is a software module that needs to match both, your actual kernel version and your actual make and model of your device. So, if you have a Ralink RT5370, as your lsusb log indicates, you should use the Ralink driver indeed. The Realtek driver will not help you in any way with this.
To find out what driver you need you can:
lsusb
,lsmod
orlspci
. Google for the device ID's.If you build your driver from source, and it does not build with your actual kernel version, try building with another kernel version. With linux it is really easy to switch kernel versions at boot. If you need help to install an older kernel version, follow this post to Install older kernel version.
if you positively identified that you have a Ralink RT5370
You probably should follow the instructions from here, here or here.
if (and only if) you have a RealTek 8188:
Try this from google code. It's patched driver from realtek.
But you have to blacklist the native drivers: put a file in to /etc/modprobe.d/ with the following in it: