LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-23-2006, 05:27 PM   #1
cybercullen
LQ Newbie
 
Registered: Jun 2004
Location: US
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Ndiswrapper Installation Problem with Fedora 5


I have a built-in wireless card that I'd like to use on my laptop. I have just installed Fedora Core 5 and am attempting to install the ndiswrapper software (v1.10).

I'm following the wiki instructions at http://ndiswrapper.sourceforge.net/m...p/Installation but am having trouble pretty much at the beginning. When I download the ndiswrapper software and try to install I get the following:


Code:
[stroh@localhost ndiswrapper-1.10]# make install
make -C driver install
make[1]: Entering directory `/home/stroh/Desktop/ndiswrapper-1.10/driver'
Can't find kernel sources in /lib/modules/2.6.15-1.2054_FC5/build;
  give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/stroh/Desktop/ndiswrapper-1.10/driver'
make: *** [install] Error 2
I have downloaded kernel-2.6.15-1.2054_FC5.src.rpm (which I assume to be the kernel source that is needed) and have installed it.

Per the ndiswrapper advice, they say that I should create a symlink using

Code:
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
However, the kernel source that I am using seems to install these files to /usr/src/redhat/SOURCES/ instead of the above directory. I have tried using their method as well as replacing /usr/src/linux-<kernel-version> with /usr/src/redhat/SOURCES/linux-2.6.15-1.2054_FC5 but I still get the same error.

I'm a linux newb so I'm sure this is probably something really stupid that I'm missing here.

Thanks in advance!
Michael
 
Old 03-23-2006, 06:18 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Have you tried just moving the folder it creates into /usr/src/linux so it's in the right spot?
 
Old 03-25-2006, 04:12 PM   #3
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
I have the exact same problem as cybercullen..
Please let me know if you find the answer to this.

Isnt the source installed with the fedora installation ?
 
Old 03-25-2006, 07:20 PM   #4
cybercullen
LQ Newbie
 
Registered: Jun 2004
Location: US
Distribution: Fedora Core 5
Posts: 12

Original Poster
Rep: Reputation: 0
According to the release notes for Fedora Core 5, the kernel source is not included with the Fedora installation http://fedora.redhat.com/docs/releas...fc5/#id3126937

I have tried moving the source files into the directory and have followed instructions on the Fedora website (same section as link given above) which tells how to install the files into a folder called rpmbuild/linux-<version>/kernel-<version> (or something along those lines).

From there I have tried creating a symlink to that directory and have also tried copying the entire directory to the ones that ndiswrapper looks for.

Still stuck...
 
Old 03-26-2006, 05:13 AM   #5
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
Ill try some more recipes today.. The steps you have mentioned above, have been tried here to..

Someone told me that i could boot up the install cd's and choose upgrade of the system, and install the source from the package list...
I dont know if that works, but ill give it a try..

Ill let you know if i make a breakthrough..

Also i read someone made ndiswrapper work through installing this rpm version :
http://rpm.livna.org/fedora/5/i386/

Youll find ndiswrapper for Core 5 down the list there..

Last edited by soze; 03-26-2006 at 05:18 AM.
 
Old 03-26-2006, 04:14 PM   #6
nigel_1820
LQ Newbie
 
Registered: Mar 2006
Distribution: OpenSUSE, Parsix, etc.
Posts: 20

Rep: Reputation: 0
Have you tried to install the kernel-devel packages available from the fedora site? That fixed my kernel module building problems.

Nigel MacPherson
 
Old 03-26-2006, 05:15 PM   #7
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
Hey..

I haven tried that.. I'm going to try that as well..
Was that all you had to do ?
install those, and then ndiswrapper ?

Where they in rpm format ?
thanks for your tip.
 
Old 03-26-2006, 06:07 PM   #8
nigel_1820
LQ Newbie
 
Registered: Mar 2006
Distribution: OpenSUSE, Parsix, etc.
Posts: 20

Rep: Reputation: 0
Actually, I wasn't trying to compile the ndiswrapper kernel module from source, I was trying to compile the RT2500 driver source, but it came up with basically the same error message and directory (actually, by default, it's a broken symbolic link).

You can get the kernel-devel rpm from download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/kernel-devel-2.6.15-1.2054_FC5.i686.rpm
(sorry that it's not a link...I can't post links yet...)
 
Old 03-27-2006, 07:13 AM   #9
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
when you have installed this rpm, do you have to create a new symbolic link ?
or will everything set up itself..?

Sorry for the newbie questions.. but i have really been trying everything for this to work..
 
Old 03-27-2006, 09:55 PM   #10
nigel_1820
LQ Newbie
 
Registered: Mar 2006
Distribution: OpenSUSE, Parsix, etc.
Posts: 20

Rep: Reputation: 0
Newbie questions are just fine! (I'm not much more than one myself...) On mine, the link did not need to be re-linked; I think it just keeps pointing it at that path, which now exists, so there shouldn't be an error now (I'm pretty sure).
 
Old 03-28-2006, 05:35 AM   #11
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
Ok.. thanks

Ill try it later today..

Btw.. the difference between i586 and i686, is that the cpu type ?
Will an i686 rpm, work on a i586 installation ?
 
Old 03-28-2006, 07:59 AM   #12
nigel_1820
LQ Newbie
 
Registered: Mar 2006
Distribution: OpenSUSE, Parsix, etc.
Posts: 20

Rep: Reputation: 0
The difference between an i586 and an i686 is the architecture of the processor, I think. I'm never quite sure which one to get, and I'm not sure whether an i586 rpm will work on an i686 computer.
 
Old 03-28-2006, 02:12 PM   #13
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
Hmm..
I finally got ndiswrapper installed.. make and make install works fine.

So im doing ndiswrapper -i rt2500.inf, works fine
ndiswrapper -m , works fine..

But when i do : modprobe ndiswrapper ... i get the following error message :
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.15-1.2054_FC5/misc/ndiswrapper.ko): Invalid module format

Any suggestions ?.. I am so sick and tired of this linux stuff now
 
Old 03-28-2006, 09:21 PM   #14
nigel_1820
LQ Newbie
 
Registered: Mar 2006
Distribution: OpenSUSE, Parsix, etc.
Posts: 20

Rep: Reputation: 0
Don't give up yet!

I don't know much about ndiswrapper, so what you said doesn't tell me much. Are you sure that your kernel and your kernel-devel package are matched in the way of versions? If they aren't, then that could happen.

Also, are you using an RT2500 based chipset? I could help with that more easily because that's what I use and I got it to work on FC5.
 
Old 03-29-2006, 02:33 AM   #15
soze
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
hehe.. Ok.. ill hang in there..
Yes the kernel packages match in versions. I have double checked now.

Regarding the RT2500 chipset, if you now are referring to the WLAN card, so yes. That is the drivers that is supplied with my card. Linksys WPMG54 or something G is the name of the card..

Have you got this working without using ndiswrapper?

I have used ndiswrapper before and it worked fine.. But not under Fedora

But how did you get this working without ndiswrapper ?
 
  


Reply



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
Ndiswrapper installation problem *matt* Linux - Software 9 01-26-2006 07:35 AM
ndiswrapper problem on Fedora Core 4 c_mcgeecc Linux - Wireless Networking 5 08-27-2005 08:22 AM
Netgear WG311 and Fedora Core 2 problem, and ndiswrapper = confusion emiphiste Linux - Wireless Networking 2 08-18-2005 04:23 PM
ndiswrapper installation problem KulaShaker Debian 3 12-15-2004 12:30 PM
ndiswrapper routing problem under fedora core 2? rpdillon Linux - Wireless Networking 2 06-01-2004 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration