Wireless driver updates from linuxwireless.org

From MEPIS Documentation Wiki

Jump to: navigation, search

Upgrading the kernel Wireless drivers

In MEPIS 8.0 and 8.5, many of the native Linux wireless drivers have moved from external modules to the kernel. The official organization that develops these drivers, linuxwireless.org, provides daily tarballs of the sources from the development repositories. These can be compiled and installed into MEPIS 8.0/8.5 to update the existing drivers. The standard drivers are not overwritten, just disabled, and can be restored if the new modules are uninstalled.

The download page is here, with instructions. The basic recipe is:

Install your kernel headers and build packages. In MEPIS, this can be done with the terminal command

su -c "m-a update&&m-a prepare"

Get the latest tarball from the download site. http://www.orbit-lab.org/kernel/compat-wireless-2.6/

Get the dated tarball of your choice--do not use the "old" drivers (have "old" in the file name.)


Extract the tarball, enter the new compat-wireless-date folder, open a terminal there, and enter

./scripts/driver-select

to see what specific targets are available, then run the same command again with the target, for example:

./scripts/driver-select ath9k

Then run

make

if you have a multiple-core CPU, you can use more than one core on the build by adding -jX, where X=number of cores to use + 1. For example, to use two cores:

make -j3  (BFS kernels are supposed to be a bit faster when j=number of cores)

NOTE: Currently, there are some harmless messages about a missing script at the start, they can be safely ignored:

bin/sh: /usr/src/linux-headers-2.6.27-1-mepis-smp/scripts/gcc-x86_64-has-stack-protector.sh: No 
such file or directory


After the build is finished, switch to root with su, and execute

make install
make unload

Then reboot, or manually load your new driver with modprobe. Example:

modprobe ath9k

To revert to the original drivers:

make uninstall
Personal tools