LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-30-2008, 05:52 PM   #1
damian_dm@hotmail.co
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Unhappy 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
 
Old 03-31-2008, 11:18 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
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.
 
Old 03-31-2008, 04:18 PM   #3
damian_dm@hotmail.co
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you ! I'll try this when I've some time
 
  


Reply

Tags
driver, install, mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless PCI Card : Installation problems tatra Linux - Hardware 3 01-28-2006 11:57 AM
Netgear Wireless PCI problems revjmcaldwell Fedora - Installation 0 09-15-2005 03:10 PM
Mandrake 10.1 PCI Wireless Driver Problems schwascore Linux - Hardware 2 03-05-2005 12:52 AM
rtl8180 PCI wireless problems AMD-user Mandriva 0 01-15-2005 12:30 PM
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 01:48 PM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration