LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-09-2003, 01:17 PM   #1
lowly_tech
Member
 
Registered: May 2001
Posts: 34

Rep: Reputation: 15
wlan driver issue with wireless prism crd


I am tring to setup a wireless PCI card in my linux box. I have found the WLAN driver that supports my D-link 520 card at
http://www.linux-wlan.com/linux-wlan/
I am totally new at compiling sorce and I don't know what I am doing. I downloaded the newest one (0.1.16-pre9) and followed
the directions of

make config
make all
make install
All three seem to work OK. I don't see any error messages or anything like that. However I still don't have a wlan0 device. I also noticed that there is no /etc/wlan directory. I did run the
RPM's for this driver and it worked. I saw the card and everything, except it was older and I wanted to use the lastest one. I also saw something about kernel source. I went to the /usr/src/kernel-2.4 and ran make config (sure didn't know what was going on) and thats all I did. I did try to run the makes for the wlan again after this with same results.

Basically I need to complile the source for wlan for a PCI card. My kernel is the one that shipped with RH 8.0 My processor is a PII
and the /boot/kernel.h shows i686. I was hoping someone could give me some pointers on what I need to do after the Make install
I also tried to run modprobe prism2_pci after the make command but get a 'can't locate module prism2_pci'

Any help would be appricated. Thanks again.
 
Old 02-09-2003, 02:38 PM   #2
lowly_tech
Member
 
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
More Information

I thought I would add some more info...
I downloaded the following
ftp://ftp.linux-wlan.org/pub/linux-wan-ng/
the file was linux-wan-ng-0.1.16-pre9.tar.gz

I expanded the files.
I run make config
answer questions accordingly
prism2.x pcmcia driver NO
Prism2 PLX9052 Based PCI driver. NO
Prism2.5 Native PCI Driver YES
Prism2.5 USB Driver NO
Source Directory (changed to /usr/src/linux-2.4)
(NOTE: I copied the i686 file from the Sources folder to the linux-2.4 directory and renamed that file to .config like it asked)
Alternate Target Install Root Directory on Host (not sure what that is but I selected "/sbin/wland" and created that directory.
Module install directory /lib/modules/2.4.18-14 (this give a text message stating that it looks like you have a system V init file setup.)
Prefix for build host compiler NO
Build for Debugging NO
Configuration Successful.

Next I run make all
The first time I ran this it displayed quite a bit of information. Now however when I run it at the bottom I am getting make errors.
a copy of the info currently seen is this.


[root@LCARS linux-wlan-ng-0.1.16-pre9]# make config

-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [n]: n

Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n

Build Prism2.5 native PCI (_pci) driver? (y/n) [y]: y

Build Prism2.5 USB (_usb) driver? (y/n) [n]: n

Linux source directory [/usr/src/linux-2.4]:

The kernel source tree is version 2.4.18-14.
The current kernel build date is Wed Sep 4 13:35:50 2002.

Alternate target install root directory on host [/sbin/wland]:
Module install directory [/lib/modules/2.4.18-14]:

It looks like you have a System V init file setup.


Prefix for build host compiler? (rarely needed) [n]: n

Build for debugging (see doc/config.debug) (y/n) [n]: n


Configuration successful.

[root@LCARS linux-wlan-ng-0.1.16-pre9]# make all
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/home/jamie/linux-wlan-ng-0.1.16-pre9/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory `/home/jamie/linux-wlan-ng-0.1.16-pre9/src/mkmeta'
ngcc -E -M -I../include -I/usr/src/linux-2.4/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
/bin/sh: line 1: ngcc: command not found
make[2]: *** [.depend] Error 127
make[2]: Leaving directory `/home/jamie/linux-wlan-ng-0.1.16-pre9/src/mkmeta'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jamie/linux-wlan-ng-0.1.16-pre9/src'
make: *** [all] Error 2
[root@LCARS linux-wlan-ng-0.1.16-pre9]#

I guess I will stop at this point , but before I starting messing with all my config files and such I never got these errors. The main thing I can think that I did was run Make Config in the kernel directory which resulted in about 200 questions being asked. Most of which I just pressed enter.

Thanks,

Jamie
 
Old 02-09-2003, 04:24 PM   #3
lowly_tech
Member
 
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
I may have got it fixed. I ran the install again totally from scratch from another directory on the root. I did the same steps as before but this time when I typed the command to start the prism driver it worked!!
 
  


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
how to choose PCI WLAN card (Prism 2/2.5/3 based) jasdeep_js Linux - Wireless Networking 5 09-03-2005 02:14 PM
Driver for Prism 2.5 wireless card? Brnzwngs Linux - Wireless Networking 5 07-25-2005 11:13 AM
Intersil Prism Javelin WLAN problems Heliode Linux - Wireless Networking 7 05-05-2005 09:18 PM
ma111 wireless card + prism 2 driver + SuSE 9.1 pro !!!HELP!! catmandu123 Linux - Wireless Networking 6 10-09-2004 02:44 AM
prism wireless driver pasalacqua128 Linux - Software 1 06-05-2004 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration