Fedora Linux Support Community & Resources Center
  #1  
Old 11th July 2006, 01:36 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
Still trying to get ndiswrapper working, six months and counting.......

Hi I've been trying to get ndiswrapper working for months to no avail.

My kernel version is 2.6.15-1.2054_FC5 and I'm trying to get a D-Link DWL-G650 PCMCIA card working with it.

When I try and establish a link to the Kernel I get a:

[root@localhost modules]# cd /lib/modules/2.6.15-1.2054_FC5/build
bash: cd: /lib/modules/2.6.15-1.2054_FC5/build: No such file or directory
[root@localhost modules]# ln -s /usr/src/linux-2.6.15-1.2054_FC5 /lib/modules/2.6.15-1.2054_FC5/build
ln: creating symbolic link `/lib/modules/2.6.15-1.2054_FC5/build' to `/usr/src/linux-2.6.15-1.2054_FC5': File exists
[root@localhost modules]#

The wiki article doesn't say what to do in this case so what do I do next? My bash experience has been so far, "this is why I can't do what you want, good luck finding someone who knows how".

If someone can help me with this I'll be blown away, I'll buy lunch for a homeless person or something.
Reply With Quote
  #2  
Old 11th July 2006, 01:43 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Just to make sure you have it. Do you have the kernel source installed?
Its called kernel-devel-2.6.15-1.2054_FC5. It would have been installed as an RPM.
To see if you have type the command
rpm -qa | grep kernel

Brian1
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 11th July 2006, 01:52 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
Hi thanks Brian when I run that cmd I get:

[root@localhost modules]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-devel-2.6.17-1.2141_FC4
[root@localhost modules]#

thanks
Reply With Quote
  #4  
Old 11th July 2006, 03:33 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
so does this mean I am trying to link ndiswrapper to the old kernel I installed FC5 over? How do I get ndiswrapper to work under FC5?
Reply With Quote
  #5  
Old 11th July 2006, 04:33 AM
stanmc Offline
Registered User
 
Join Date: Jun 2004
Location: Chicago, IL, USA
Age: 71
Posts: 215
Quote:
Originally Posted by Fone Star
Hi thanks Brian when I run that cmd I get:

[root@localhost modules]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-devel-2.6.17-1.2141_FC4
[root@localhost modules]#

thanks
Your kernel and kernel-devel are out of sync. They have to be the same level. I believe 2054 was the original kernel at the install of FC5 and it was problematic. You need to update to a newer kernel & kernel-devel if you can or get the kernel devel for the kernel you are using.
Reply With Quote
  #6  
Old 11th July 2006, 04:51 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
Okay, thanks. I try:

yum update kernel-devel

It fails, tells me all mirrors won't work seems Yum hasn't worked for the last couple days. Any Ideas?
Reply With Quote
  #7  
Old 11th July 2006, 05:36 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
I have the kernel and kernel-devel now in sync:

[root@localhost modules]# rpm -qa | grep kernel
kernel-2.6.17-1.2145_FC5
kernel-devel-2.6.17-1.2145_FC5

but when I try and make, make file:

[root@localhost ndiswrapper-1.19]# make
make -C driver
make[1]: Entering directory `/home/FONE_STAR/Desktop/ndiswrapper-1.19/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/FONE_STAR/Desktop/ndiswrapper-1.19/driver'
make: *** [all] Error 2

So it looks like it's still trying to find the modules in the old kernel even though I now have the new kernel and kernel-devel?
Reply With Quote
  #8  
Old 11th July 2006, 06:35 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
I am guessing I have to remove and reinstall ndiswrapper-1.19 so it will go to my updated /lib/modules? I know that they are correct as I do:

[root@localhost FONE_STAR]# cd /lib/modules
[root@localhost modules]# ls
2.6.17-1.2145_FC5
[root@localhost modules]#

Thing now is that I cannot delete an older copy folder of ndiswrapper I somehow created. Won't let me chmod it's permissions either. Sorry, but this is Stupid! If I've already deleted it's parent folder and I'm logged on as root why the hell shouldn't I be able to delete a file?
Reply With Quote
  #9  
Old 11th July 2006, 07:40 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
Okay, I finally got ndiswrapper installed, and downloaded the correct drivers for the DWL-G650 X-treme Rev B.5 PCMCIA card.

I located the only .inf extension and tried installing it going:

[root@localhost ndiswrapper-1.19]# ndiswrapper -i net5211.inf
Installing net5211
couldn't copy net5211.inf at /usr/sbin/ndiswrapper line 144.
[root@localhost ndiswrapper-1.19]# chmod 777 /usr/sbin/ndiswrapper
[root@localhost ndiswrapper-1.19]# ndiswrapper -i net5211.inf
net5211 is already installed. Use -e to remove it
[root@localhost ndiswrapper-1.19]# ndiswrapper -l
Installed drivers:
net5211 invalid driver!
[root@localhost ndiswrapper-1.19]# ndiswrapper -e net5211.inf
Driver net5211.inf is not installed.Use -l to list installed drivers
[root@localhost ndiswrapper-1.19]# ndiswrapper -l
Installed drivers:
net5211 invalid driver!
[root@localhost ndiswrapper-1.19]#

I thought it was the permission that wasn't letting me import it so I changed it. Then it tells me that it has been installed, it hasn't been installed and that it is an invalid driver. What is this about?
Reply With Quote
  #10  
Old 11th July 2006, 07:53 AM
Fone Star Offline
Registered User
 
Join Date: Dec 2005
Posts: 32
I did

lspci and it doesnot seem to find any D-Link card in there so maybe that is why it is giving me invalid driver. So I tried modprobe and it says:

[root@localhost Desktop]# modprobe PCMCIA
FATAL: Could not load /lib/modules/2.6.15-1.2054_FC5/modules.dep: No such file or directory

shouldn't yum update all of the kernel? Why is it still trying to find the 2054 release?
Reply With Quote
Reply

Tags
counting, months, ndiswrapper, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper - Just can't get it working... cluckinchicken Installation and Live Media 25 15th September 2008 03:29 AM
I am not able to get ndiswrapper working for bcm43xx in FC7 saqer Servers & Networking 6 10th September 2007 09:57 PM
ndiswrapper not working KD5FEG Hardware & Laptops 5 6th March 2007 12:03 AM


Current GMT-time: 09:34 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat