PDA

View Full Version : Installing drivers



Visceral
05-19-2004, 04:53 AM
I downloaded drivers for my PCMCIA 802.11b card. It's a zip file containing C source files and headers, as well as various other files, many without extensions. How do I compile and install this?

user unknown
05-19-2004, 07:24 AM
a) Isn't there a README or INSTALL file?

b)If not: Is there a 'Makefile' and a file named 'configure'?
If yes, in most cases you install linux-sources via the magic three commands:

configure
make
(get root - doesn't count)
su
*****
make install

Visceral
05-19-2004, 05:26 PM
'make' successfully compiles the driver (albeit with some warnings). 'make install' returns the following, however:

root@ttyp0[rtl8180_1.5]# make install
cp rtl8180_24x.o /lib/modules/2.4.26/kernel/drivers/net/wireless
cp: cannot create regular file `/lib/modules/2.4.26/kernel/drivers/net/wireless/rtl8180_24x.o': Read-only file system
make: *** [install] Error 1I'm guessing this is because that directory exists on the CD, right? I read somewhere (in one of the FAQs I believe) that with a persistent home I would be able to install certain things, so I wanted to try installing this so I could use the Internet under Knoppix. I guess that's not going to fly unless I do a HD install.

OErjan
05-19-2004, 05:48 PM
you should be able to insmod the module from your /home just go to the directory where you have the module and do insmod ./modulename