How to determine if WLAN usb card is detected
Ok, forgive me if this comes out as if I'm dense, but its been a while since I've had the opportunity to work with Linux and am (severerly) out of practice..
I am running a PIII system with Mandrake 10.1 and am fighting to install a Justec WLAN adapter. (USB Stick Model B245) . Apparently this adapter is manufactured by someone else and is repackaged for multiple resellers. The installation CD ships with prism2_usb drivers and I have attempted to d/l from other sources as well. I appear to have several issues, and some may simply be my mis-interpreting results.
lsusb shows: Bus 002 Device 002: ID 0ace:1201 which is the USB adapter. The Mandrake control center recognizes it as a WLAN device but without a manufacturer and labels it under the "Unknown Devices" category.
After several attempts I can get the prism2_usb driver to auto load or I can manually load with modprobe. I have created the wlan0.conf as well as the config files for my wireless network.
When setting up the drivers, the "make config" command completes without error, however
When attempting "make all" I get a ton of what looks like a total failure, but this is where I cannot quite determine what is happening. see below....
[root@localhost zdsta-1.0.4]# make all
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/home/russ/Desktop/zdsta-1.0.4/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory `/home/russ/Desktop/zdsta-1.0.4/src/mkmeta'
gcc -E -M -I../include -I/usr/src/linux-2.6.8.1-10mdk/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
mkdir -p obj
gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
echo "#endif" >> ../include/wlan/p80211metadef.h
gcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o
cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metastruct.h
make[2]: Leaving directory `/home/russ/Desktop/zdsta-1.0.4/src/mkmeta'
make[2]: Entering directory `/home/russ/Desktop/zdsta-1.0.4/src/p80211'
gcc -E -M -D__KERNEL__ -I/usr/src/linux-2.6.8.1-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -DMODULE -I../include -DCONFIG_NETLINK=1 -DCONFIG_PACKET=1 p80211conv.c p80211req.c p80211frm.c p80211wext.c p80211wep.c p80211netdev.c p80211mod.c > .depend
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from p80211conv.c:66:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from p80211req.c:65:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/netdevice.h:151,
from p80211wext.c:47:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/netdevice.h:151,
from p80211wep.c:54:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from p80211netdev.c:65:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-10mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/interrupt.h:12,
from /usr/src/linux-2.6.8.1-10mdk/include/asm/highmem.h:24,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/highmem.h:14,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/skbuff.h:27,
from /usr/src/linux-2.6.8.1-10mdk/include/linux/netdevice.h:151,
from p80211mod.c:67:
/usr/src/linux-2.6.8.1-10mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
make[2]: *** [.depend] Error 1
make[2]: Leaving directory `/home/russ/Desktop/zdsta-1.0.4/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/russ/Desktop/zdsta-1.0.4/src'
make: *** [all] Error 2
[root@localhost zdsta-1.0.4]#
Hopefully, some can shine some much needed light on this subject as I appear to be in the dark. Also, is there a simple way to determine if Linux has associated a driver with a particular device (ie... a USB card)?
Last edited by HTRednek; 11-09-2004 at 04:00 AM.
|