You are not logged in.

#1 2010-03-07 17:37:58

ramsesiitr
Member
Registered: 2010-03-07
Posts: 5

Kernel Headers without internet connection without pacman -S

Hi all,
I need to rebuild the wl module after upgrading to kernel 2.6.32. When I compile the source code it gives an error saying I have to install kernel headers. The problem is that I dont have access wired internet so I have to download the kernel headers to another computer and move it to mine with a usb stick. Is there any way to find the kernel headers as a package and install it with the command pacman -u ?

Thanks in advance

Regards

Last edited by ramsesiitr (2010-03-07 22:38:39)

Offline

#2 2010-03-07 18:11:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Headers without internet connection without pacman -S

You need the kernel26-headers package.

Offline

#3 2010-03-07 18:25:31

ramsesiitr
Member
Registered: 2010-03-07
Posts: 5

Re: Kernel Headers without internet connection without pacman -S

Thank you tomk,
But as I said before, I dont have internet connection on the target computer. When I take a look at PKGBUILD file, I think it tries to connect to the internet and download the source files.(Please correct me if I am wrong) What should I do?

Offline

#4 2010-03-07 18:27:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Headers without internet connection without pacman -S

OK - I thought you had already decided you would get the package and pacman -U it, which is the right thing to do. As for getting, just go to your nearest Arch mirror and download it.

Offline

#5 2010-03-07 21:24:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: Kernel Headers without internet connection without pacman -S

To get the download urls do:
pacman -Sp kernel26-headers

Offline

#6 2010-03-07 22:55:10

ramsesiitr
Member
Registered: 2010-03-07
Posts: 5

Re: Kernel Headers without internet connection without pacman -S

Hi again,
The problem is solved. First of all, I just realized that I opened the topic with wrong subject title. Sorry for that.
As I said before, I could only reach wireless internet, but in order to make the wireless work I had to compile wl module. But, after I performed the upgrade to kernel 2.6.32, I needed the kernel header in order to compile it. What I did was downloaded the kernel26-headers 2.6.32.9-1 package from here: http://repos.archlinux.org/wsvn/package … re-x86_64/ then I downloaded the kernel-2.6.32 and patch-2.6.32.9-1-Arch files as indicated in PKGBUILD file.
Then I place these two files same folder with PKGBUILD. I changed the source lines in PKGBUILD and ran

makepkg --asroot
pacman -U <created_package_name>

then I was able to compile the necessary module.
I am newbee for Archlinux. Hope I have done the right things so far.

Thanks

Offline

#7 2010-03-08 01:20:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel Headers without internet connection without pacman -S

You got it working, so yes you have done some right things. You could have skipped the makepkg step by downloading the kernel26-headers package from any Arch mirror, as already suggested.... but as long as you're happy.... smile

Offline

Board footer

Powered by FluxBB