Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-04-2004, 04:59 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 29
Rep:
|
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?
|
|
|
11-05-2004, 12:24 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
for creating symbolic links , have a look at
man ln
regards
|
|
|
11-05-2004, 08:17 AM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Hmm. Do you really want to do this?
Why not
urpmi kernel-source
|
|
|
11-06-2004, 02:22 PM
|
#4
|
LQ Newbie
Registered: Oct 2004
Posts: 29
Original Poster
Rep:
|
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.
|
|
|
11-07-2004, 03:57 PM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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
|
|
|
11-18-2004, 06:33 PM
|
#6
|
LQ Newbie
Registered: Oct 2004
Posts: 29
Original Poster
Rep:
|
That command didn't work.
Last edited by y00b; 11-18-2004 at 06:35 PM.
|
|
|
11-19-2004, 12:52 AM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|