LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-04-2004, 04:59 PM   #1
y00b
LQ Newbie
 
Registered: Oct 2004
Posts: 29

Rep: Reputation: 15
Kernel Source/Making a Link


How do you copy the kernel source to another folder (usr/src/rpms), and then create a link from the /lib folder?
 
Old 11-05-2004, 12:24 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

for creating symbolic links , have a look at

man ln

regards
 
Old 11-05-2004, 08:17 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Hmm. Do you really want to do this?

Why not

urpmi kernel-source
 
Old 11-06-2004, 02:22 PM   #4
y00b
LQ Newbie
 
Registered: Oct 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Im trying to load a driver for the wusb54g network adapter and I need to create a link to use ndiswrapper.

I ran urpmi kernel-source and installed the files, and now the make and make install work for ndiswrapper.

When I try to install the .inf using ndiswrapper it tells me it's already installed. Even if I use -e to remove it.

Also, when I use -l it says that it's an invalid driver.

How can I uninstall ndiswrapper?

Last edited by y00b; 11-06-2004 at 02:40 PM.
 
Old 11-07-2004, 03:57 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Any installed drivers are located in /etc/ndiswrapper/*

merely remove the contents of that directory.

Make sure you use the included ndiswrapper which was provided with 10.1.

I'm currently using it for my laptop and it works just great.

You do NOT have to recompile the kernel to utilize it, and it's better if you do not.

However make sure you have the kernel sources installed and that you have installed ndiswrapper via urpmi.

At worst you can uninstall it then reinstall it to clean anything up.

e.g. type this in EXACTLY as root.


rpm -e `rpm -qa | grep ndiswrapper`

The above does the following...

The rpm -qa lists ALL of your installed rpm files and passes the results to the grep command.

Grep filters out everything EXCEPT the entry containing the word ndiswrapper.

The backquote causes the result of this to be passed to the outer rpm -e command which uninstalls the found file.

Now wait a few seconds and re-install it.

urpmi ndiswrapper
 
Old 11-18-2004, 06:33 PM   #6
y00b
LQ Newbie
 
Registered: Oct 2004
Posts: 29

Original Poster
Rep: Reputation: 15
That command didn't work.

Last edited by y00b; 11-18-2004 at 06:35 PM.
 
Old 11-19-2004, 12:52 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Then you either do not have ndiswrapper installed via rpm or you mistyped.

rpm -e `rpm -qa | grep ndiswrapper `

The vertacle bar (shift \ ) is important as are the backquotes.
 
  


Reply


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
NDIS Wrapper needs link to kernel source... amobius Linux - Wireless Networking 1 09-20-2005 10:30 PM
help making symbolic link mykrob Linux - Software 9 09-11-2004 10:43 PM
how to link to kernel source for Debian ndiswrapper installation case1984 Linux - Newbie 0 09-10-2004 11:32 AM
Making a link RussJB Linux - Newbie 3 11-15-2003 10:22 PM
Making a link... cloneempe Linux - Newbie 5 10-17-2002 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:24 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