Linux - NewbieThis 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
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.
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.
I found the file. At first I was looking at the wrong one...
Also, keep in mind that I know nothing about linux. I have followed several sets of instructions online, but really not sure WHAT it is that I'm doing. As far as installing a RPM file, there seems to be two ways to install it. One, rpm -i <filename.rpm>, and the second is urpmi <filename.rpm>. Is this correct and is one command preferred over the other?
I found this explanation of the urpm tools, and it looks like for Mandrake, those are the ones to use. The ability to resolve dependencies could be particularly valuable for a new user.
Ok that's the one I used and I got an error saying "some package cannot be installed (due to unsatisfied gcc)". I guess I am going to google and see what (or if) I can find.
When you installed Mandrake, did you install development toos? GCC is the C compiler that comes with pretty much every distro, however you may have the option of not installing it. If you didn't install it, do so and see if that does the trick.
Ok I finally got GCC and the kernel source installed without any errors. In the usr/src directory, there is still no linux-xxxxxxxx folder.
Just to check what I did, I copied the kernel source rpm file to a CD and in a terminal window (as root) typed:
urpmi kernel-2.6.8.1.12mdk-1-1mdk.src.rpm
It ran for a second and stopped with no errors. I then checked the /usr/src directory to see if the folder was there and it wasn't. Is there another step that I left out?
This makes no sense to me. Is there anything in the /usr/src directory? By the way, be sure you are using /usr/src, not usr/src (you had both in the last post). They are NOT the same thing at all.
The only thing in the /usr/src directory is the /RPM directory that I listed previously. There is no /build directory in /usr/src. How would I search for a directory in linux (either in GUI or terminal)? Also the source file that I listed should be the correct one, right?
One other thing I need to do is check dmesg after installing the source code and see if it lists anything out of the ordinary.
I am writing this from my linux box. I ended up using the GUI setup tool to get it finalized but I was real close before that. All that matters is that I made it this far. Now the real fun can begin!!!
(I am still planning to post the newbie version of the steps I took to get this working...)
Here's the deal. GCC needed to be installed during the original install of Linux. This is done by checking 'Development' package during install. It is on CD-2.
Then I tried installing the src package that I downloaded. It ran with no errors but didn't display anything on the screen. Then I tried typing 'urpmi kernel-source-2.6'. I was then instructed to insert CD-3 of the 10.1 distro. After doing that the src installed successfully. Then I followed the ndiswrapper instructions with no problem up to bringing the adapter online. I then ran drakconf.real (under system>configuration>configure your computer). I went through the GUI wizard and it was working perfectly after that.
Hopefully anyone having trouble gets ahold of this before they waste a couple of weeks like I did.
Any time I restart my computer, the wireless lan will not connect from KDE. I also have tried ifup wlan0 from a terminal window as root and it still doesn't bring the lan up. The only way I can get it back up is to modprobe ndiswrapper, then do an ifup wlan0 and the lan comes up fine. Is this normal?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.