Refer here please, it might help you. This is done with a 2.6.39 kernel..Same method is applied for 3.2 kernel, just make sure if the patch is applicable to kernels > 2.6...
Luck.
I have tryed to install drivers for Alfa Adaptor AWUS 036 NHR
I have follow all steps like here
~/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715# ./install.sh
Auto install for 8192cu
September, 1 2010 v 1.0.0
rtl8192_8188CU_linux_v3.0.2164.20110715/autoconf_rtl8192c_usb_linux.h
.................................................. ......................
rtl8192_8188CU_linux_v3.0.2164.20110715/runwpa
rtl8192_8188CU_linux_v3.0.2164.20110715/wlan0dhcp
rtl8192_8188CU_linux_v3.0.2164.20110715
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.6/build M=/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715 modules
make[1]: Entering directory `/usr/src/linux-source-3.2.6'
WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o
In file included from /root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:24:
/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h:49:29: error: linux/smp_lock.h: No such file or directory
In file included from /root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/drv_types.h:69,
from /root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:25:
/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622: warning: cast from pointer to integer of different size
/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622: warning: cast to pointer from integer of different size
make[2]: *** [/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/root/Desktop/awuso/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715] Error 2
make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg
What i can do for solve this?
Refer here please, it might help you. This is done with a 2.6.39 kernel..Same method is applied for 3.2 kernel, just make sure if the patch is applicable to kernels > 2.6...
Luck.
I don't understand .I have BT5 R3 .You want tell me now : maight be will not work with BT5 R3?1
how can do that ( patch --kernel ...)??
Last edited by maverik35; 03-10-2013 at 05:02 AM.
root@bt:/usr/src/linux# ln -s /usr/src/linux /lib/modules/2.6.39.4/build
ln: creating symbolic link `/lib/modules/2.6.39.4/build': No such file or directory
oot@bt:/usr/src/linux# ln -s /usr/src/linux-headers-2.6.39.4/Module.symvers /usr/src/linux-source-2.6.39.4/Module.symvers
ln: creating symbolic link `/usr/src/linux-source-2.6.39.4/Module.symvers': No such file or directory
after make : i have this ..make: *** [modules] Error 2
after i have that: WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
??
srry bro .......Maybe i must or forget another things to do..?!
To get by that error, there are two files within one of the *.gz files which you need to edit. You also need to delete teh *.gz file, otherwise it extracts from it again when runnign teh install script and overwrites your changes.
Someone smarter than me figured it out here:
<snip>
“linux/smp_lock.h not found” error
If you see that when you try to run the install.h (bash install.sh) you need to edit the following two files in the following archive:
driver/rtl8192_8188CU_linux_v3.1.2590.20110922.tar.gz
file 1: include/osdep_service.h
(line 49) linux/smp_lock.h to linux/smp.h
file 2: include/rtw_io.h
(line 36) linux/smp_lock.h to linux/smp.h
These files are located in:
“RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include”
If you run the install.sh immediately you will see the same error. What ends up happening is that the files that you just corrected will get overwritten with the tar.gz archive, so what you did was pointless. To resolve this I ended up deleting the tar.gz file (rtl8192_8188CU_linux_v3.1.2590.20110922.tar.gz) so that it won’t re-extract the files and overwrite your corrections.
When you run the install.sh file, it will install successfully.
However… I still have an issue where this adapter will not obtain and IP address in wicd network manager. I will repost if i solve this. If anyone
Once you delete that tar.gz file and the edits have been made, you can run the install.sh file and it will install successfully.
posted 2011 Dec 16 by Mu
</snip>
Link to page I found this:
http://store.rokland.com/blogs/news/...nux-compatible
(Scroll down to the comments section)
Have you installed linux headers and build-essential? Need to do that. To install linux headers refer to the wiki and to install build essential: aptitude install build-essential
Try again, if something goes wrong, stop, do not go on with installation, it will cause you to fail again.
One piece of advice: if you get errors in any of the steps, please stop, do not continue, it will no work. Secuence will be broken..Do not take anything for granted. Failed to create a link in step 1?..Stop, do not even go to spte 2 : make...It just won't work due the first error...
Last edited by maverik35; 03-10-2013 at 05:03 AM.
1 i have downloaded from this link
have extracted the files on my Linux machine,
have folow this : If you see that when you try to run the install.h (bash install.sh) you need to edit the following two files in the following archive:
driver/rtl8192_8188CU_linux_v3.1.2590.20110922.tar.gz
file 1: include/osdep_service.h
(line 49) linux/smp_lock.h to linux/smp.h
file 2: include/rtw_io.h
(line 36) linux/smp_lock.h to linux/smp.h
install linux headers refer to the wiki and to install build essential: aptitude install build-essential
Type ./install.sh to install the driver package
and after have this:
you will have all steps::::
root@bt:~# prepare-kernel-sources[*] Kernel source seems to be available
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh[*] tada!
root@bt:~# cd /usr/src/linux
root@bt:/usr/src/linux# cp -rf include/generated/* include/linux/
root@bt:/usr/src/linux# cd /root/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/
root@bt:~/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715# aptitude install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
root@bt:~/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715# /root/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/install.sh
Auto install for 8192cu
September, 1 2010 v 1.0.0
tar: Old option `f' requires an argument.
Try `tar --help' or `tar --usage' for more information.
rtl8192_8188CU_linux_v3.0.2164.20110715
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.6/build M=/root/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715/driver/rtl8192_8188CU_linux_v3.0.2164.20110715 modules
make[1]: Entering directory `/usr/src/linux-source-3.2.6'
WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
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.2.6/kernel/drivers/net/wireless/
/sbin/depmod -a 3.2.6
################################################## ##############
The Setup Script is completed !
Plese Press any keyword to exit.
^C
so I have forget something?
Try to load it: modprobe 8192cu
hello
Sorry , for few days i was verry busy with my job and i don't try anything more. Could you tell me all steps what i must to follow for solve my problem .Every time when i try to solve that i must install a fresh copy of OS because after that my wireles card wont work ( i can't se anymore wifi network).
I know is a big time what you must spend for tell me all steps.
So sorry for my insistance
Thank you very much