LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wireless pci enlwi-g2 problems (https://www.linuxquestions.org/questions/linux-newbie-8/wireless-pci-enlwi-g2-problems-631759/)

damian_dm@hotmail.co 03-30-2008 04:52 PM

Wireless pci enlwi-g2 problems
 
Hi, I've recently installed Mandriva 2008 ( kernel version: 2.6.22.9-desktop586-1mdv ) & I'm having problems trying to configure a wireless pci card encore enlwi-g2. I've the drivers, & I also tryied with NDISwrapper.

First of all, I'll copy the driver components:

< Component >
The driver is composed of several parts:
(1)source code
r818x.tar.gz
stack.tar.gz

(2)Script ot build the modules
makedrv

(3)Script to load/unload modules
wlan0up
wlan0down

(4)Script and configuration for DHCP
wlan0dhcp
ifcfg-wlan0

(5)Supplicant source code
wpa_supplicant-0.3.8.tar.gz

(6)Example of supplicant configuration file
wpa1.conf

-----------------------------------------------------------------------

So, I started building the driver ( logged as 'root' & executing: "./makedrv" ) , and I an error ( I'll copy the log .... )

[root@localhost ~]# cd '/root/Escritorio/rtl8185_linux_26.1010.0531.2006'
[root@localhost rtl8185_linux_26.1010.0531.2006]# ./makedrv
ieee80211/
ieee80211/ieee80211_tx.c
ieee80211/Modules.symvers
ieee80211/ieee80211_softmac_wx.c
ieee80211/LICENSE
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_module.c
ieee80211/Makefile
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_softmac.c
ieee80211/README
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_crypt.c
rtl818x-0.1/
rtl818x-0.1/r8180_wx.h
rtl818x-0.1/r8180_wx.c
rtl818x-0.1/r8180_rtl8225.h
rtl818x-0.1/r8180_rtl8255.h
rtl818x-0.1/AUTHORS
rtl818x-0.1/r8180_max2820.c
rtl818x-0.1/r8180.h
rtl818x-0.1/r8180_max2820.h
rtl818x-0.1/tags
rtl818x-0.1/r8180_sa2400.h
rtl818x-0.1/r8180_93cx6.c
rtl818x-0.1/ieee80211.h
rtl818x-0.1/r8180_gct.c
rtl818x-0.1/r8180_gct.h
rtl818x-0.1/.r8180_core.o.d
rtl818x-0.1/r8180_rtl8225.c.old
rtl818x-0.1/Modules.symvers
rtl818x-0.1/CHANGES
rtl818x-0.1/LICENSE
rtl818x-0.1/r8180_93cx6.h
rtl818x-0.1/README.master
rtl818x-0.1/r8180_hw.h
rtl818x-0.1/README
rtl818x-0.1/r8180_pm.c
rtl818x-0.1/r8180_sa2400.c
rtl818x-0.1/COPYING
rtl818x-0.1/README.adhoc
rtl818x-0.1/r8180_rtl8225.c
rtl818x-0.1/.tmp_versions/
rtl818x-0.1/.tmp_versions/r8180.mod
rtl818x-0.1/INSTALL
rtl818x-0.1/r8180_rtl8255.c
rtl818x-0.1/r8180_core.c
rtl818x-0.1/r8180_pm.h
rtl818x-0.1/Makefile
rtl818x-0.1/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/Escritorio/rtl8185_linux_26.1010.0531.2006/ieee80211/tmp
make -C /lib/modules/2.6.22.9-desktop586-1mdv/build M=/root/Escritorio/rtl8185_linux_26.1010.0531.2006/ieee80211 CC=gcc modules
make: *** /lib/modules/2.6.22.9-desktop586-1mdv/build: No existe el fichero o el directorio. Alto.
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/Escritorio/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/tmp
make -C /lib/modules/2.6.22.9-desktop586-1mdv/build M=/root/Escritorio/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1 CC=gcc modules
make: *** /lib/modules/2.6.22.9-desktop586-1mdv/build: No existe el fichero o el directorio. Alto.
make: *** [modules] Error 2

So, I'cant build the modules ( that's what I guess ), and I cant insmod them into the kernel.

I tryied with NDISwrapper , but I couldn't install the new version:

[root@localhost ~]# cd '/root/Escritorio/ndiswrapper-1.52'
[root@localhost ndiswrapper-1.52]# make install
make -C driver install
make[1]: se ingresa al directorio`/root/Escritorio/ndiswrapper-1.52/driver'
Makefile:35: *** Cannot find kernel version in/lib/modules/2.6.22.9-desktop586-1mdv/build, is it configured?. Alto.
make[1]: se sale del directorio `/root/Escritorio/ndiswrapper-1.52/driver'
make: *** [install] Error 2

Please, I'll apreciate if anyone can help me =S

AwesomeMachine 03-31-2008 10:18 AM

Install the kernel sources package. You need the development system installed, including the kernel sources. You also need to build the kernel once, or the kernel sources won't work. I'm not familiar with Mandriva, so I am not able to explain exactly how to do it.

damian_dm@hotmail.co 03-31-2008 03:18 PM

Thank you ! I'll try this when I've some time


All times are GMT -5. The time now is 07:10 AM.