LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-04-2004, 10:53 PM   #1
askia4life
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Rep: Reputation: 0
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.

Last edited by askia4life; 04-04-2004 at 11:20 PM.
 
Old 04-05-2004, 02:05 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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
 
Old 04-05-2004, 03:46 AM   #3
askia4life
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 04-05-2004, 03:49 AM   #4
askia4life
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 04-05-2004, 08:50 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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
 
Old 04-05-2004, 02:21 PM   #6
askia4life
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
in which directory? what are the steps for this?
 
Old 04-05-2004, 06:17 PM   #7
MrSmee
Member
 
Registered: Sep 2003
Location: Plano, TX
Distribution: Slack
Posts: 84

Rep: Reputation: 15
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
 
Old 04-05-2004, 06:47 PM   #8
andychauhan
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to install NVIDIA driver punx120 Debian 2 11-13-2004 02:06 PM
Driver Install Problem Chico_GreenLeaf Linux - Newbie 4 05-23-2004 05:30 AM
Yet Another nVidia Driver install problem Jimbo99 Linux - Hardware 7 05-17-2004 10:39 AM
Driver Install Problem Assassin Linux - Newbie 5 11-28-2003 02:54 PM
DRI Driver Install Problem Thylakoid Linux - Software 13 08-15-2003 04:50 PM


All times are GMT -5. The time now is 07:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration