Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 need to update my kernel in order to install ndiswrapper so that i can use my wireless drivers, but until then i have no internet. I have downloaded the newest kernel but am stuck on what commands to use to update it.
Umm I'm very new to this, but I'm using Ubuntu, and i have put the latest kernel on a Cd (2.6.21.5) from www.kernel.org. I don't know if that is a package update or a source update, how can i tell.
Dugon143, the kernel you downloaded is a source update, since it's in tar.gz or tar.bz2 format. So long as you're using Ubuntu Edgy or Feisty, you should be able to compile ndiswrapper as it is right now without a kernel update. Get your ubuntu install CD, put it in the drive, and when the menu pops up that says "We detected a CD with packages, do you want to open the package manager" or something along those lines, tell it yes, enter your password, and install the build-essential and (maybe) kernel-headers packages (kernel-headers will have some other stuff tacked onto the end of it). From there you should be able to compile ndiswrapper with:
Code:
make && make install
while you're in the ndiswrapper directory.
And as far as updating the kernel with ubuntu, it's kind of difficult because the Ubuntu people mess with the kernel some, so the one you downloaded might not work with it as well as it should. It happened to me.
If you want to use the source package (the one you downloaded from kernel.org), you will have to compile it first. However, you may want to leave that till later when you are more experienced with Linux, as the process is somewhat complicated at least for the first few times.
@Dugon143, what makes you think you need the "latest and greatest" kernel level for this ???. What Ubuntu are you running ?.
As I said before, more info needed ...
ingrix advice above should be sufficient - I really don't understand why Ubuntu don't ship those tools as standard.
Quote:
Originally Posted by ingrix
And as far as updating the kernel with ubuntu, it's kind of difficult because the Ubuntu people mess with the kernel some, so the one you downloaded might not work with it as well as it should.
Indeed - you really don't want to go there.
Can be done using the Debian based tools, but a mangling a "raw" kernel compile to work is just too much like hard work.
Originally Posted by ingrix Get your ubuntu install CD, put it in the drive, and when the menu pops up that says "We detected a CD with packages, do you want to open the package manager" or something along those lines, tell it yes, enter your password, and install the build-essential and (maybe) kernel-headers packages (kernel-headers will have some other stuff tacked onto the end of it).
When I put in the CD all that happens is that a window pops up containing all the files on the CD, might i have a different CD? Is there a way to manually install the packages?
@Syg00, when going through the instructions on how to install ndiswrapper, it said make sure you have an updated kernel at least 2.6.6 or 2.4.26 while mine was 2.6.20. I didn't know if that meant I was out of date, or updated. Also when I compiled ndiswrapper I got a bunch of errors, so I thought maybe I needed to update the kernel. To answer your other question I'm running feisty.
Feisty will be at the appropriate kernel level. However it doesn't ship the compiler packages by default.
From a terminal do "uname -r", then use that number with synaptic to get build-essential and linux-header-`uname -r` (or similar).
Then tell use what (compile) errors you get - if any.
Ok, so i installed those packages and ndiswrapper, and I think I installed my driver from the windows CD because when I type ndiswrapper -l it says:
"wmp544gs : driver installed
device (14e4:4318) present (alternate driver: bcm43xx)"
I restarted my computer, but yet I am still not getting any connection. Did I miss a step in installing this or might there be another problem with my wireless card?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.