LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can Not install driver "No Rule to Make" (https://www.linuxquestions.org/questions/linux-software-2/can-not-install-driver-no-rule-to-make-480208/)

zonemikel 09-04-2006 02:18 AM

Can Not install driver "No Rule to Make"
 
Hello i have FC5 and im trying to install a driver but my kernel is messed up. I have 3 different versions of kernels and ive tried with all of them (booting each kernel). Im trying to load a driver for usb rt2750 wireless card and i always get the error "No rule to make" or i get "no dir build" error. does anyone know how i could fix my kernel so i could "make" because pretty much i cant install anything unless itz a rpm. ive tried the same driver in slax and it works fine.

odcheck 09-04-2006 02:21 AM

Did you install the Development Tools? GCC Compiler and so on...?
Are you sure that your using the correct RPM that matchs to your kernel?

zonemikel 09-04-2006 03:19 PM

thats the thing its not a rpm this driver isnt available in rpm format the only way i found it was in a tarball or gzip all i can do is extract the files to a folder and run "make" from within that folder .. i was reading another post about how you can make your own rpms out of files do you think thats a good idea ?

odcheck 09-05-2006 01:09 AM

It seems that you want to use ndiswrapper is that correct?
If so you'll need the windooze driver files. and the ndiswrapper tar.gz files.
And in order to install them correctly you'll have the Development tools and the kernel sources installed as I posted already.

so 1st get the kernel sources (everything as root) on a console
e.g. change to /tmp then
Code:

wget ftp://mirror.switch.ch/mirror/fedora/linux/core/updates/5/SRPMS/kernel-2.6.17-1.2174_FC5.src.rpm
rpm -ivh kernel-2.6.17-1.2174_FC5.src.rpm

download the ndiswrapper from this location
next step
Code:

tar zxvf ndiswrapper-1.23.tar.gz
cd ndiswrapper-1.23
make install

Everything is prepared so far...
Now I hope that you know how to extract the winxp driver files of your wireless card. Copy them to for e.g. /tmp/wlan
Do this as next step
Code:

ndiswrapper -i /tmp/wlan/THE NAME OF THE INF FILE e.g. btw10.inf
modprobe ndiswrapper

with this command you can check if everthing worked well so far
Code:

less /var/log/messages
and
ndiswrapper -l

-l = list inserted drivers
then you will have to edit the modprobe.conf with this command
Code:

ndiswrapper -m
now you're able to configure your card
Code:

system-config-network
That's it.

zonemikel 09-05-2006 10:34 PM

Um no im trying to install drivers for linux from something.serialmonkey.com they are the drivers for linux rt2570 which is the usb Ra chipset. Ive gotten ndiswrapper to work using the install program that came with FC5 it was pretty easy and works great but you cant do some things with the windows driver ;) thanks for the tip anyway, ndiswrapper is a really easy way to get a card up quick.


All times are GMT -5. The time now is 11:27 AM.