Page 2 of 7

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 11:40
by mimosa
I don't know where to get the files from (try having a look on the official Slackware website) but you cannot use slapt-get to install them once you have. It installs packages from the repos. As Akuna said, use spkg or installpkg:

Code: Select all

#installpkg kernel.foo.txz
etc

or you can even put them all together in a directory (make sure it contains no other packages) and just do

Code: Select all

#pkgtool
... and yes I imagine you do need to update your bootloader.

EDIT

Here is a mirror of it, you should find what you need in this directory:

http://slackware.osuosl.org/slackware-c ... ackware/a/

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 11:55
by djemos
kernel files are here http://ftp.ntua.gr/pub/linux/slackware/ ... kware64/a/
kernel-headers are here http://ftp.ntua.gr/pub/linux/slackware/ ... kware64/d/

install them with spkg -i or installpkg if you want to have both kernels and boot in 2.6.37 and in 3.2.7
or
spkg -u or upgradepkg if you want to have only one kernel version 3.2.7

and run update-grub

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 12:14
by mimosa
Sorry, I lost track of the fact that you need the 64-bit kernel ;)

EDIT

Note also that you need to blacklist the old kernel, otherwise your new kernel will be automatically downgraded by the package manager.

Gslapt --> preferences --> excludes

It already is in mine, and maybe this is standard anyway - but I can't think why it would be, except just to make life easier in this situation :)

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 12:25
by globetrotterdk
djemos wrote:kernel files are here http://ftp.ntua.gr/pub/linux/slackware/ ... kware64/a/
kernel-headers are here http://ftp.ntua.gr/pub/linux/slackware/ ... kware64/d/

install them with spkg -i or installpkg if you want to have both kernels and boot in 2.6.37 and in 3.2.7
or
spkg -u or upgradepkg if you want to have only one kernel version 3.2.7

and run update-grub
Thanks djemos. Do I need to worry about the Nvidia driver? Those kind of things have a "blob" I think that it is called, that has to go into the kernel, don't they?

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 12:31
by djemos
Thanks djemos. Do I need to worry about the Nvidia driver? Those kind of things have a "blob" I think that it is called, that has to go into the kernel, don't they?
You have to recompile after reboot the nvidia driver since kernel have changed.
Also have to install kernel-source-3.2.7 download from here http://ftp.ntua.gr/pub/linux/slackware/ ... kware64/k/
and install with installpkg or spkg -i

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 12:51
by mimosa
I've been trying this on my machine but lilo fails with the following error:

Code: Select all

Boot image: /boot/vmlinuz-huge-smp-3.2.7-smp
Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 13:11
by globetrotterdk
mimosa wrote:I don't know where to get the files from (try having a look on the official Slackware website) but you cannot use slapt-get to install them once you have. It installs packages from the repos. As Akuna said, use spkg or installpkg:

Code: Select all

#installpkg kernel.foo.txz
etc or you can even put them all together in a directory (make sure it contains no other packages) and just do

Code: Select all

#pkgtool
... and yes I imagine you do need to update your bootloader.
Cheers. Can I confirm that I should only run

Code: Select all

# update-grub
? There is no need for me to manually edit /etc/default/grub ?

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 13:23
by globetrotterdk
Just to confirm that I have all that I need:

Code: Select all

$ ls -l
kernel-firmware-20120202git-noarch-1.txz
kernel-headers-3.2.7-x86-1.txz
kernel-huge-3.2.7-x86_64-1.txz
kernel-modules-3.2.7-x86_64-1.txz
kernel-source-3.2.7-noarch-1.txz
Edit:
Is it recommended to run

Code: Select all

# spkg -nv
first???

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 13:31
by globetrotterdk
mimosa wrote:Note also that you need to blacklist the old kernel, otherwise your new kernel will be automatically downgraded by the package manager.
Gslapt --> preferences --> excludes
OK, so I can either edit /etc/slapt-get/slapt-getrc or do it the easy way as you suggest :) The question is what expression do I use to exclude other kernels?

Re: Driver for Asus PCE-N15 wireless card needed.

Posted: 17. Mar 2012, 13:40
by globetrotterdk
djemos wrote:
Thanks djemos. Do I need to worry about the Nvidia driver? Those kind of things have a "blob" I think that it is called, that has to go into the kernel, don't they?
You have to recompile after reboot the nvidia driver since kernel have changed.
If I do this after a reboot, I will need to unblacklist the nouveau driver or won't have any X on reboot will I?