LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Driver install problem (https://www.linuxquestions.org/questions/linux-hardware-18/driver-install-problem-166286/)

askia4life 04-04-2004 10:53 PM

Driver install problem
 
I have a linksys B wireless pcmcia card. I have the linux-wlan-ng drivers and i configure them accordingly. When i go to compile it with the make all command, it doesnt work and part way through gives me an error message, about not finding a command for a file that is needed by another file, i think its .config. This is on Fedora Core 1 on an hp laptop. Any ideas, its kind of pointless to me if i cant get interenet on the pc.

hw-tph 04-05-2004 02:05 AM

When posting about problems like this, including the actual error message helps a lot. In your case, I'd start by checking if the kernel-source package corresponding to the kernel version you are running is installed. Also, if it is, make sure the /usr/src/linux symlink points to the directory in which the source is installed.


Håkan

askia4life 04-05-2004 03:46 AM

the source package is installed, its in /usr/src/linux-2.4

the error is after i run make all from the driver directory:

entering directory '\root\linux-wlan-ng-0.2.0\src'
Makefile:45 ../config.mk: No such file or directory
make[1]: *** No rule to make target '../config.mk'. Stop.
make[1]: Leaving directory '\root\linux-wlan-ng-0.2.0\src'
make: *** [all] Error 2

askia4life 04-05-2004 03:49 AM

if i run make mrproper and make tags then config then make all, i get error in the /usr/src/linux-2.4/.config saying no rule to make target..then it goes into the p80211 and src directorys of the drviers and leaves with error 2

hw-tph 04-05-2004 08:50 AM

Try creating a symbolic link called /usr/src/linux pointing to the actual kernel source directory. ln -s /usr/src/linux-2.4.18 /usr/src/linux (assuming your source lives in /usr/src/linux-2.4.18, of course).


Håkan

askia4life 04-05-2004 02:21 PM

in which directory? what are the steps for this?

MrSmee 04-05-2004 06:17 PM

you are making the link in /usr/src
try this
Code:

cd /usr/src
ln -s linux-2.4.18 linux

that will give you a symbolic link from /usr/src/linux to /usr/src/linux-2.4.18
which may fix the error in your makefile.
You can also edit the makefile by hand, changing the portion that directs it to /usr/src/linux to /usr/src/linux-2.4.18 although that seems a bit overkill for this situation.

Which Linksys card do you have?? I ask because I've yet to have to compile drivers for a wireless PCMCIA card since the 2.4 kernels........
maybe I'm just getting lucky though ;)
best of luck,
Smee

andychauhan 04-05-2004 06:47 PM

If you basic problem is getting wireless to work. I would recommend the following 2 alternate procedures.

PROCEDURE-1
==========
edit your file /etc/modules.conf
add the following line :

alias eth0 ornico_pci

Now I understand that you do not have Ocrnico wireless card, however this driver which comes inbuilt(in mandrake 9.2 atleast) is known to work with most of the wireless cards. It worked on my HP Pavillion ze5385 running Mandrake 9.2. Give it a shot and let me know if it worked.

PROCEDURE-2
==========
If you have windows drivers working fine for your WLAN card, you can make them work on Linux too. There is a wrapper available which makes Windows drivers work in Linux. This can be downloaded from http://ndiswrapper.sourceforge.net/
This needs atleast kernel(2.4.25 or 2.6.4)


All times are GMT -5. The time now is 02:03 AM.