LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-09-2004, 03:58 AM   #1
HTRednek
LQ Newbie
 
Registered: Nov 2004
Location: Idaho, US
Posts: 1

Rep: Reputation: 0
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.
 
Old 11-09-2004, 07:03 AM   #2
dimgr
Member
 
Registered: Jun 2004
Posts: 92

Rep: Reputation: 15
Re: How to determine if WLAN usb card is detected

Did you try ndiswrapper?


locate the WIndows driver for your card

cd /windriver
unzip driver.exe
ndiswrapper -i filename.inf
modprobe ndiswrapper
update-modules
 
  


Reply



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
im having trouble init wlan0 for twinmos g240 usb stick wlan card pyenos Linux - Hardware 5 03-01-2005 02:44 PM
need help with TWINMOS G240 USB STICK WLAN CARD pyenos Linux - Hardware 3 03-01-2005 01:55 AM
USB wlan card SetAbomination Linux - Wireless Networking 1 11-29-2004 09:53 AM
USB WLAN Card Setup? Prince Simba Linux - Wireless Networking 6 11-25-2004 03:15 PM
usb wlan card from ericsson? brynjarh Linux - Newbie 0 06-02-2004 06:34 PM

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

All times are GMT -5. The time now is 10:09 AM.

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