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. |
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 |
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!!
|
All times are GMT -5. The time now is 10:40 PM. |