Hello,
I have a problem with wifi, when opensuse starts it works and I can navigate to sites with no problem but randomly it stops working, it doesn’t disconnect, it just stop receiving and sending data.
except from that I have noticed that the signal strength is dropping and raising randomly again.
I have the Asus USB N13 that uses the Realtek RTL8192CU chipset. I have download the drivers from the official site and I tried to run
sh install.sh
but it fails with the following text:
cc1: some warnings being treated as errors
/usr/src/linux-3.16.6-2/scripts/Makefile.build:273: recipe for target '/home/mene/src/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o' failed
make[4]: *** [/home/mene/src/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Error 1
/usr/src/linux-3.16.6-2/Makefile:1359: recipe for target '_module_/home/mene/src/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405' failed
make[3]: *** [_module_/home/mene/src/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Error 2
Makefile:195: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.16.6-2-obj/x86_64/desktop'
Makefile:220: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
I am not sure what I have to do now to build and use the latest driver.
Do I have to terminate NetworkManagement before running install.sh?
If I ever find a way to bypass these problems and complile correctly the drivers do I have to enable it or it’s enabled by default?
Is there any tutorial for helping me and a documentation that can help me understand this part of linux(drivers,compile etc)
Adds a module/module-version combination to the tree for builds and installs. If module/mod-
ule-version, -m module/module-version, or -m module -v version are passed as options, this com-
mand requires source in /usr/src/<module>-<module-version>/ as well as a properly formatted
dkms.conf file. If /path/to/source-tree is passed as an option, and source-tree contains a
dkms.conf file, it will copy /path/to/source-tree to /usr/src/module-module-version. If
/path/to/tarball.tar is passed, this command behaves like the ldtarball command.
Anyway, in an effort to assist further, I did the following as root
cd /usr/local/src
git clone https://github.com/pvaret/rtl8192cu-fixes.git
This placed a file ‘rtl8192cu-fixes’ in the /usr/local/src directory. Then I did
You have different hardware and a different driver. You a best advised to start your own thread, with a descriptive title to catch the attention of those who may be able to assist.
I’ve tried this but instead of getting a file called rtl8192cu-fixes, I get a folder by that name containing lots of files (as though it had been unzipped?).
Had the same problem, seems to be an issue with the power. If you don’t need bluetooth disable it in the BIOS, this made at least my Lenovo B5400 work. Only issue now is that wifi doesn’t work after a long resume, but thats acceptable for me.
I have an ASUS USB-N10 wireless card that is based on the RTL8192CU and I had problems with the official linux driver downloaded from ASUS website, when trying to install it on Opensuse 13.2.
I followed these instructions here and it worked perfectly.
Has anyone tried this with the latest kernel RC - kernel 4.0.0-rcx?
I get errors and the 8192cu module no longer compiles. The log doesn’t help me as I can’t understand where it’s going wrong.
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:382:30: warning: cast to pointer from integer of different size -Wint-to-pointer-cast]
if (copy_from_user(command, (void *)priv_cmd.buf, priv_cmd.total_len)) {
^
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:568:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
pwfd_info->rtsp_ctrlport = ( u16 ) get_int_from_command( priv_cmd.buf );
^
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:334:5: note: expected 'char ’ but argument is of type ‘compat_uptr_t’
int get_int_from_command( char pcmd )
^
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:588:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
pwfd_info->wfd_device_type = ( u8 ) get_int_from_command( priv_cmd.buf );
^
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:334:5: note: expected 'char ’ but argument is of type ‘compat_uptr_t’
int get_int_from_command( char pcmd )
^
/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.c:612:20: warning: cast to pointer from integer of different size -Wint-to-pointer-cast]
if (copy_to_user((void *)priv_cmd.buf, command, bytes_written)) {
^
cc1: some warnings being treated as errors
/usr/src/linux-4.0.0-rc3-2.gd5c547f/scripts/Makefile.build:259: recipe for target ‘/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.o’ failed
make[3]: *** [/var/lib/dkms/8192cu/1.9/build/os_dep/linux/rtw_android.o] Error 1
/usr/src/linux-4.0.0-rc3-2.gd5c547f/Makefile:1416: recipe for target ‘module/var/lib/dkms/8192cu/1.9/build’ failed
make[2]: *** [module/var/lib/dkms/8192cu/1.9/build] Error 2
Makefile:145: recipe for target ‘sub-make’ failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target ‘__sub-make’ failed
make: *** [__sub-make] Error 2
make: Leaving directory ‘/usr/src/linux-4.0.0-rc3-2.gd5c547f-obj/x86_64/desktop’