Jump to content

realtek wireless lan adapter


Kieth
 Share

Recommended Posts

I put mandriva spring (2007.1) on an old laptop (Dell Inspiron 5100), and everything is going well, with the exception of wifi. It has no built in wifi, but I have a usb realtek wireless lan adapter that I used under WXP that I would like to use, if possible. The instructions state that it can be used under linux, but. . . I need help to do it! :)/>

 

 

Here are the instructions on the usb drive wlan realteck:

 

RTL8712(8188_8191_8192SU)_usb_quick_installation_guide.ppt

RTL8712_D0_1_Programming_Guide_20090601.doc

 

 

I had to install a new kernel.

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# uname -a

Linux localhost 2.6.21.5-1mdv #1 Wed Jun 13 15:46:21 EDT 2007 i686 Intel® Pentium® 4 CPU 2.40GHz GNU/Linux

 

 

Here are the results when I tried to follow the instructions.

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# make

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.21.5-1mdv/build M=/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229 modules

make[1]: Entering directory `/usr/src/kernel-linus-devel-2.6.21.5-1mdv'

 

ERROR: Kernel configuration is invalid.

include/linux/autoconf.h or include/config/auto.conf are missing.

Run 'make oldconfig && make prepare' on kernel src to fix it.

 

 

WARNING: Symbol version dump /usr/src/kernel-linus-devel-2.6.21.5-1mdv/Module.symvers

is missing; modules will have no dependencies and modversions.

 

Building modules, stage 2.

/usr/src/kernel-linus-devel-2.6.21.5-1mdv/scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory

make[2]: *** No rule to make target `include/config/auto.conf'. Stop.

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/usr/src/kernel-linus-devel-2.6.21.5-1mdv'

make: *** [modules] Error 2

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# ./clean

ERROR: Module r8192s_usb does not exist in /proc/modules

ERROR: Module ieee80211_rsl does not exist in /proc/modules

ERROR: Module ieee80211_crypt_ccmp does not exist in /proc/modules

ERROR: Module ieee80211_crypt_tkip does not exist in /proc/modules

ERROR: Module ieee80211_crypt_wep does not exist in /proc/modules

ERROR: Module ieee80211_crypt does not exist in /proc/modules

 

I would appreciate the help.

 

Thanks,

Kieth

Link to comment
Share on other sites

Mmmm, it looks more like a case of "kernel confusion!" :unsure:/>/>/>

 

 

[kieth@localhost ~]$ uname -a

Linux localhost 2.6.21.5-1mdv #1 Wed Jun 13 15:46:21 EDT 2007 i686 Intel® Pentium® 4 CPU 2.40GHz GNU/Linux

 

[kieth@localhost ~]$ rpm -qa | grep kernel

nvidia96xx-kernel-2.6.17-13mdvlegacy-9631-1mdk

slmodem-kernel-2.6.17-13mdvlegacy-2.9.11-1mdk

hsfmodem-kernel-2.6.19.1-1mdv-7.47.00.03full-1mdk

kernel-legacy-latest-2.6.17-19mdv

madwifi-kernel-2.6.17-13mdvlegacy-0.9.2-1mdk

ati-kernel-2.6.19.1-1mdv-8.33.6-1mdk

kernel-linus-devel-2.6.21.5-1mdv-1-1mdv2007.1

ati-kernel-2.6.17-13mdvlegacy-8.34.8-1mdk

hsfmodem-kernel-2.6.17-13mdvlegacy-7.47.00.03full-1mdk

nvidia97xx-kernel-2.6.17-13mdvlegacy-9755-1mdk

kernel-linus-source-2.6.21.5-1mdv-1-1mdv2007.1

kernel-legacy-2.6.17.13mdv-1-1mdv2007.1

hcfpcimodem-kernel-2.6.17-13mdvlegacy-1.10full-1mdk

kernel-linus-2.6.21.5-1mdv-1-1mdv2007.1

nvidia71xx-kernel-2.6.17-13mdvlegacy-7184-1mdk

kernel-legacy-2.6.17.19mdv-1-1mdv2007.1

Edited by Kieth
Link to comment
Share on other sites

There is this:

 

ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it

 

so go to the /usr/src/kernel-linus-devel-2.6.21.5-1mdv directory, and then do this:

 

make oldconfig
make prepare

 

then try and do the driver stuff again with the make command that you issued before:

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# make

Link to comment
Share on other sites

:)/> Thanks for the help. I tried it, but it didn't resolve the problem, so I started from scratch. I opened up the driver with ark, and went through the process again. Here's what I got.

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# make

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.21.5-1mdv/build M=/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229 modules

make[1]: Entering directory `/usr/src/kernel-linus-devel-2.6.21.5-1mdv'

 

WARNING: Symbol version dump /usr/src/kernel-linus-devel-2.6.21.5-1mdv/Module.symvers

is missing; modules will have no dependencies and modversions.

 

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl871x_cmd.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl8712_cmd.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/crypto/rtl871x_security.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/debug/rtl871x_debug.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/eeprom/rtl871x_eeprom.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/efuse/rtl8712_efuse.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/hal/rtl8712/hal_init.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/hal/rtl8712/usb_ops.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/hal/rtl8712/usb_ops_linux.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/hal/rtl8712/usb_halinit.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/io/rtl871x_io.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/io/rtl8712_io.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_query.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_set.o

CC [M] /home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.o

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c: In function ‘r8711_wx_get_range’:

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: ‘struct iw_range’ has no member named ‘scan_capa’

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: ‘IW_SCAN_CAPA_ESSID’ undeclared (first use in this function)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: (Each undeclared identifier is reported only once

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: for each function it appears in.)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: ‘IW_SCAN_CAPA_TYPE’ undeclared (first use in this function)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1300: error: ‘IW_SCAN_CAPA_BSSID’ undeclared (first use in this function)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1301: error: ‘IW_SCAN_CAPA_CHANNEL’ undeclared (first use in this function)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1301: error: ‘IW_SCAN_CAPA_MODE’ undeclared (first use in this function)

/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.c:1301: error: ‘IW_SCAN_CAPA_RATE’ undeclared (first use in this function)

make[2]: *** [/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/ioctl/rtl871x_ioctl_linux.o] Error 1

make[1]: *** [_module_/home/kieth/Download/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229] Error 2

make[1]: Leaving directory `/usr/src/kernel-linus-devel-2.6.21.5-1mdv'

make: *** [modules] Error 2

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# ./clean

ERROR: Module r8192s_usb does not exist in /proc/modules

ERROR: Module ieee80211_rsl does not exist in /proc/modules

ERROR: Module ieee80211_crypt_ccmp does not exist in /proc/modules

ERROR: Module ieee80211_crypt_tkip does not exist in /proc/modules

ERROR: Module ieee80211_crypt_wep does not exist in /proc/modules

ERROR: Module ieee80211_crypt does not exist in /proc/modules

 

[root@localhost rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229]# insmod 8712u.ko

insmod: can't read '8712u.ko': No such file or directory

 

Here's another file I found on the disk.

 

readme.txt

 

Thanks again.

Kieth

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...