PDA

View Full Version : How do I compile to drivers for RaLink?


Cooldude1922
07-25-2006, 06:05 PM
I just installed knoppix on my laptop and I now have a wireless card that I want to install, knoppix comes with ndiswrapper, but I found linux driverson the ralink website, I am a newbie to compiling so could someone give me a quick yet detailed rundown on how to compile the drivers, and for some reason.....when I use Kpackage, I seem to get this error that says "sh: (something):" I dunno well long story short it wont install!!!! please help me or I'll pull out my hair!!!!

seablade
07-25-2006, 07:14 PM
Compiling drivers is a bit more complex than compiling a standard program.

The main thing is to check to make sure that you have the source files for your kernel installed, I cant remember if you need a .config or not(I always have it myself as I compile my own kernels). Also you need your driver set up to accept dynamic loading of modules(Most do this)

After that the installation should be described in a text file that is with the source file, if it isnt most of the time running the following 3 commands will cover you

./configure
make
sudo make install

After this you have to set up your boot process to automatically load the driver, this varies depend ing on distribution slightly unfortunatly(I wish it didnt) so maybe someone more familiar with Knoppix can explain how to do this.

In the meantime however you can manually load the driver by doing

sudo modprobe <Insert name of driver here>

Seablade

Cooldude1922
07-25-2006, 08:08 PM
I am running knoppix on a laptop

Colin Dean
07-29-2006, 11:54 PM
http://rt2x00.serialmonkey.com

Get the drivers that go with your card and do the ./configure
make
sudo make install to get things up and running.

HOWEVER, you will have to do this every time you boot unless you've actually installed Knoppix onto the hard drive.

If you're looking for a Linux distro to install onto your hard drive, I'd recommend Ubuntu--it's got out-of-the-box support for the RaLink cards.