[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with rtl8187L driver compilation in Debian Squeeze



Good night. I am a new user in this list. I sorry, by bad use english. I explain my problem:

I have an Siragon Canaima NB3050 laptop, with 1,7 GHz Intel Celeron M430 processor, 512 MB of RAM, 120 GB of hard disk, a graphic card VIA CN700/P4M800, an ethernet card VIA VT6102 and Wi-Fi card AW-GU700 with Realtek RTL8187L chipset.

After of internet search, I did a minimal instalation of Debian Squeeze netinstall from USB key with LAN conection. I installed the necessary packages for a funtional Debian, with 2.6.32-5-686 kernel, a minimal gnome and the "wicd" application as network manager. All good, except that to compile the "rtl8187L_linux_26.1040.0820.2010.release.tar.gz" driver (previously downloaded from the official website of Realtek), the terminal throws an error and I can not continue. I clarify that my user is fdmogollon, I work from a root terminal and the driver was saved it in the "Descargas" folder.
I place the message it throws the terminal (brown color text) during the process:


root@lapfmogollo:/home/fdmogollon# cd Descargas
root@lapfmogollo:/home/fdmogollon/Descargas# tar -zxvf rtl8187L_linux_26.1040.0820.2010.release.tar.gz
rtl8187L_linux_26.1040.0820.2010.release/
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/scatterwalk.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/rtl_crypto.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/cipher.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/compress.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_wx.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/kmap_types.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/Makefile
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/digest.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_crypt_tkip.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_crypt_wep.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_softmac.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/scatterwalk.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/license
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_module.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_crypt.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_crypt.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/tags
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/readme
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_softmac_wx.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/api.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_crypt_ccmp.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/michael_mic.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/internal.h
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/proc.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/aes.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/arc4.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_tx.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/ieee80211_rx.c
rtl8187L_linux_26.1040.0820.2010.release/ieee80211/autoload.c
rtl8187L_linux_26.1040.0820.2010.release/Makefile
rtl8187L_linux_26.1040.0820.2010.release/wlan0down
rtl8187L_linux_26.1040.0820.2010.release/RadioPower.sh
rtl8187L_linux_26.1040.0820.2010.release/ReadMe
rtl8187L_linux_26.1040.0820.2010.release/wlan0up
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/changes
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_dm.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8187.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_wx.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/install
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_pm.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/Makefile
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_dm.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/license
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_hw.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8187_core.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8187_led.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_93cx6.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/readme
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_rtl8225.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_wx.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/copying
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_rtl8225z2.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/authors
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8187_led.c
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_pm.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_93cx6.h
rtl8187L_linux_26.1040.0820.2010.release/rtl8187/r8180_rtl8225.h
rtl8187L_linux_26.1040.0820.2010.release/release_note
rtl8187L_linux_26.1040.0820.2010.release/wlan0dhcp
rtl8187L_linux_26.1040.0820.2010.release/wpa1.conf
rtl8187L_linux_26.1040.0820.2010.release/wpa_supplicant-0.5.5.zip
rtl8187L_linux_26.1040.0820.2010.release/ifcfg-wlan0
root@lapfmogollo:/home/fdmogollon/Descargas# cd
rtl8187L_linux_26.1040.0820.2010.release
root@lapfmogollo:/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release#
./configure
bash: ./configure: No existe el fichero o el directorio



As the terminal throws the message "no such file or directory", I thought it was because the source code driver is in the "rtl8187" sub-folder. I go to that directory and I try again and get it following:


root@lapfmogollo:/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187# ./configure
bash: ./configure: No existe el fichero o el directorio


If I have forgotten something, I reviewed the contents of a file "ReadMe" found in the unzipped folder "rtl8187L_linux_26.1040.0820.2010.release" and which says:


Release Date: 2008-12-05, ver 1037
RTL8187L Linux driver version 1037

 --This driver supports RealTek RTL8187L Wireless LAN NIC for
   2.6 kernel:
   Fedora Core 2/3/4/5/6/7, Debian 3.1, Mandrake 10.2/Mandriva 2006,
   SUSE 9.3/10.1/10.2, Gentoo 3.1, etc, Ubuntu8.04/8.10.
   2.4 kernel:
   Redhat 9.2, etc
 - Support Client mode for either infrastructure or adhoc mode
 - Support WEP, WPAPSK and WPA2PSK connection

======================================================================================
                              Component
======================================================================================
The driver is composed of several parts:
      1. Module source code
         ieee80211
         rtl8187

      2. Script ot build the modules
         Makefile

      3. Script to load/unload modules
         wlan0up
         wlan0down

      4. Script and configuration for DHCP
         wlan0dhcp
         ifcfg-wlan0

      5. Supplicant source code:
         wpa_supplicant-0.5.5.tar.gz

      6. Example of supplicant configuration file:
         wpa1.conf

======================================================================================
                              Installation
======================================================================================
<<Method 1>>
Runing the scripts can finish all operations of building up modules
from the source code, installing driver to the kernel and starting up the nic.
      1. Build up the drivers from the source code
         make

      2. Install the driver to the kernel
         make install
         reboot

      3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
         ifconfig wlan0 up
         Note: use ifconfig to check whether wlan0 is brought up and
use iwconfig to
         check your wlan interface name,since it may change wlan0 to
wlan1,etc.

<<Method 2>>
Or only load the driver module to kernel and start up nic.
      1. Build up the drivers from the source code
         make

      2. Load driver module to kernel and start up nic.
         ./wlan0up

         Note: when "insmod: error inserting 'xxxx.ko': -1 File
exists" comes out
               after run ./wlan0up, please run ./wlan0down first,
then it should
               be ok..
         Note: If you see the message of "unkown symbol" during ./wlan0up, it
               is suggested to build driver by <<Method 1>>.



So, I ordered "Makefile" in the subfolder "rtl8187" and get this:


root@lapfmogollo:/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187#
Makefile
bash: Makefile: no se encontró la orden



As the terminal throws the message "order was not found", then I ordered "make" and get this:


root@lapfmogollo:/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187#
make
make -C /lib/modules/3.2.0-0.bpo.2-686-pae/build
M=/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187
CC=gcc modules
make: *** /lib/modules/3.2.0-0.bpo.2-686-pae/build: No existe el fichero o el directorio.  
Alto.
make: *** [modules] Error 2



Here I thought that was necessary install the 3.2.0-0.bpo.2-686-pae kernel, and I installed from the  squeeze-backports repositories. Then I tried again and get the same thing:


root@lapfmogollo:/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187#
make
make -C /lib/modules/3.2.0-0.bpo.2-686-pae/build
M=/home/fdmogollon/Descargas/rtl8187L_linux_26.1040.0820.2010.release/rtl8187
CC=gcc modules
make: *** /lib/modules/3.2.0-0.bpo.2-686-pae/build: No existe el fichero o el directorio.
Alto.
make: *** [modules] Error 2



Now I do not know what to do. I searched in the internet and I find not satisfactory solution. I read in a case, the driver was corrupt. But not idea ... Let me also that this is the first compilation attempt do, and I'm frustrated... :(

I hope you can help me. I really like GNU/Linux and I used Ubuntu, Puppy Linux, Canaima GNU/Linux, but Debian seems more robust, stable and higher.

Reply to: