LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-22-2007, 04:32 PM   #1
Dugon143
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
HOW TO: Update Kernel w/o internet


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.
 
Old 06-22-2007, 04:38 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Which distribution are you using?
 
Old 06-22-2007, 05:24 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
And how did you post the question ... ???

We need to know whether you are talking a package (binary) update or a source update.
If you don't give us info, we can't give you answers.
 
Old 06-25-2007, 12:06 PM   #4
Dugon143
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Edit: How to: Update Kernel w/o internet

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.
 
Old 06-25-2007, 12:39 PM   #5
ingrix
LQ Newbie
 
Registered: Mar 2007
Distribution: Slackware, Knoppix
Posts: 15

Rep: Reputation: 0
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.
 
Old 06-25-2007, 04:46 PM   #6
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Rep: Reputation: 15
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.
 
Old 06-25-2007, 05:00 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
@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.
 
Old 06-26-2007, 06:28 PM   #8
Dugon143
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
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.

Last edited by Dugon143; 06-26-2007 at 06:30 PM.
 
Old 06-26-2007, 06:43 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Perhaps if you post the compile errors we could help with that.
 
Old 06-26-2007, 07:52 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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.
 
Old 06-27-2007, 09:31 AM   #11
Dugon143
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
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?
 
  


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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Can't connect to Internet after kernel update! lonelyghost317 Linux - Newbie 4 07-04-2005 09:52 PM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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