kernel install how to

I think that is what you call it? I just installed opensuse 11 and after installed internet connectivity worked via hardline, then onboard hardline ethernet died so I want to install my PCI wireless Dlink N card. Opensuse 11 has found it and says it is active via the ath5k driver I believe but it does not work, so I believe I need the new ath9k driver, so I downloaded via my working winblows half and transfered it over to opensuse. Now after I untar it I can not “make” it and believe this is because I do not have the kernel sources installed? I went to kernel.org and got latest stable 2.6.26 but said it was a patch and it was a .bz2. I can not remember how to “unzip” a .bz2 and when I do, did I download what I needed? And where do I put it in the /boot directory and just placing it there is that going to be enough in order so I can “make” files?

thanks in advance

blakbery

If during install the hardwire internet connection using the ethernet card was working,
than in my opinion getting connection working again is the most easy way
startup yast2>network devices>network settings and configure you,re ethernet card.
If you use DHCP than it is DHCP IP dynamic if
not PPPE Ip dynamic

dobby9

If you have just installed,no updates, you can get the kernel sources from your install media,e.g. cd/dvd.As a bare minimum,when it comes to compiling,you will need: make,gcc/gcc++ & kernel sources/headers. All can be found on your install media

Andy

blakbery schrieb:
> …] I believe I need the new
> ath9k driver, so I downloaded via my working winblows half and
> transfered it over to opensuse. Now after I untar it I can not “make”
> it and believe this is because I do not have the kernel sources
> installed? I went to kernel.org and got latest stable 2.6.26 …]

The vanilla sources from kernel.org won’t help you. You need the exact
sources for the kernel you are running. IOW, you’ll have to install the
openSUSE 11.0 kernel-source package in the same version as your kernel
package. If you haven’t installed any kernel update yet, you can just
install it from your openSUSE DVD, otherwise you’ll have to get it
from the update server.

> it was a patch and it was a .bz2. I can not remember how to “unzip” a
> .bz2 and when I do, did I download what I needed? And where do I put it
> in the /boot directory and just placing it there is that going to be
> enough in order so I can “make” files?

No, no, and no. :slight_smile: .bz2 files can be uncompressed with bzcat, but if
it’s a patch file then it only contains the differences to the previous
version so you’d need that one too, plus the “patch” program to combine
the two. Also, the kernel sources do not go into /boot but into a
working directory of yours. (Historically, people would put them into
/usr/src/linux but that’s deprecated.) But as I said, those are not the
sources you need, anyway.

HTH
T.


Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Wow thanks all for your replies! Tilman Schmidt that is exactly what I was looking for, thank you!! This thread can now be closed, I will try to do that.

Well one more thing I guess, how do I close a thread? thanks