Debianized by Jarno Elonen <elonen@debian.org>, 2006-01
This is a source package for a Debian style kernel module for the newly GPL'd RT61 WLAN driver by RaLink. The package is just a quick, temporary solution to get my own D-Link DWL G510 (revision C, firmware ver. 5.00) working on Linux 2.6.14 -- the RT2x00 project (http://rt2x00.serialmonkey.com/) is planning to integrate the code into their tree, so if this page is more than a few months old now, you might want to check their site before installing this one. It also means I'm most likely not going to update this package - ever.
Download: debian-rt61-modules-src.tar.gz
Installation goes something like this (use sudo as needed):
# Unpack the sources:
cd /
export KERNEL_VERS=`uname -r | sed "s/[-].*//"`
export KERNEL_FLAV=`uname -r | sed "s/[^-]*//"`
tar xvfz /path/to/debian-rt61-modules-src.tar.gz
# Install kernel sources & configure it (assuming a Debian vanilla kernel):
apt-get install linux-source-${KERNEL_VERS}
cd /usr/src
tar xvfj linux-source-${KERNEL_VERS}.tar.bz2
ln -s /usr/src/linux-source-${KERNEL_VERS} /usr/src/linux
cd linux
cp /boot/config-${KERNEL_VERS}${KERNEL_FLAV} .config
fakeroot make-kpkg --append-to-version ${KERNEL_FLAV} --revision ${KERNEL_VERS} --config old configure
# Build & install the module:
cd /usr/src/linux
fakeroot make-kpkg --append-to-version ${KERNEL_FLAV} --revision ${KERNEL_VERS} --added-modules rt61 modules_image
dpkg -i rt61-module-${KERNEL_VERS}${KERNEL_FLAV}*.deb
depmod -a
modprobe rt61
# Configure the network interface, see for example /usr/share/doc/rt61-module/examples/