LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2003, 08:02 PM   #1
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Rep: Reputation: 15
Exclamation DWL-650+ problems...


hello. Just trying to get a dwl-650+ to start on my libranet2.8 laptop. I am using the Acx100 driver and have it inserted but the card won't connect to my access point for some reason. Have tried using iwconfig to set ap, essid, channel, key and others but still can't get it. any help would be greatly appreciated.
 
Old 09-12-2003, 11:00 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Speaking of open source, which driver (kernel module) are you using, and from where?
 
Old 09-13-2003, 12:34 PM   #3
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
driver

like i said i am using the acx100 driver from http://acx100.sourceforge.net/
i just can't get the card configured right
 
Old 09-13-2003, 12:39 PM   #4
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
oh and i am using the 2.4.20 kernel... sorry
 
Old 09-13-2003, 01:01 PM   #5
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Actually there are 2 drivers out there for this chipset, one is the project on sourceforge the other is the "leaked" binaries which came out earlier, this is why I asked.

Other than complete misconfiguration of the card, which doesn't sound like your problem, the problem may that your card has a different radio in it and thus needs different firmware in the acx100/firmware directory prior to compilation, check out this post: http://www.linuxquestions.org/questi...452#post446452
I've also found that v0.1h is far superior to v0.1g, in that you no longer get the degradation of the connection over time.
 
Old 09-14-2003, 05:12 PM   #6
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
still no go

hey... i still can't get anything going. I followed what was in the other post and downloaded the latest acx100 driver (version "h") and can't get it to configure or compile. When I run make or make config in the source directory i get errors.

here is what I get when i run make:

Quote:
...
acx100.c: /lib/modules/2.4.20/build/include/linux/modversions.h: No such file or directory
In file included from acx100.c:79:
../include/wlan_compat.h:373:31: linux/modversion.h : No such file or Directory
acx100.c: In function `acx100_interrupt':
acx100.c:929: warning: unused variable `flags'
make[1]: *** [acx100.o] Error 1
make[1]: Leaving directory `/home/bige/acx100/src'
make: *** [driver] Error 2
here is what i get when i run make config

Quote:
grep: /lib/modules/2.4.20/build/include/linux/version.h: No such file or directory
./Configure: line 32: [: -ge: unary operator expected
I read the readme and this is what it said to do but still I have trouble. I just really have no clue what to do. I think that by using libranet a few things are hairy and I don't know how to workaround.
 
Old 09-14-2003, 05:29 PM   #7
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
you need to install the kernel source, then the module should compile without incident, if you're using kernel 2.4.20, you can try downloading the pre-compiled module for slackware 9, which is also 2.4.20, from this little howto page I put together for that chipset: http://www.houseofcraig.net/acx100_howto.php

I should add that this module may not work for you depending on how different the libranet's config for their kernel is from slackware's, if your pcmcia_core and friends were compiled as modules, then it should work, if they were compiled-in, It may work, it may not.

Last edited by akaBeaVis; 09-14-2003 at 05:35 PM.
 
Old 09-15-2003, 07:18 PM   #8
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
Hey. I followed your howto. Got all the way to loading the module and checking it. I did lsmod | grep acx100_pci like you state, but it returned nothing... so i did tail -n 20 /var/log/messages and it returned among other GOOD things
Quote:
... can't load module acx100_pci
and
Quote:
missing kernel or user mode driver acx100_pci
I proceeded to setting up card variables like ip,key, etc... thinking those errors might be able to be ignored. I set it all up and tried to ping the router and nothing... tried iwconfig eth1 essid my_essid many times to no avail.

I did tail -n 20 /var/log/messages after all this and it gave me things like:
GSTWLAN0: The wirless driver starts ok!
Set Mode: 2
Transmit authentication request!
Transmit association request!
Associated!

I am so close. What the hell...
 
Old 09-15-2003, 07:31 PM   #9
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
It looks like you've got the binary driver somehow, it's the "leaked" binary, look for a module somewhere under /lib/modules with acx100 and "sta" in it. Those log messages are definitely from the leaked binary, not from the open source driver. Do an lsmod and see which module is loaded, it's going to have acx100 and "sta" in it. Do a cardctl eject and then rmmod that module, remember it's name as listed by lsmod and add it's name to the /etc/hotplug/blacklist file, this will stop it from loading for your dwl-650+, then if all else has gone well, when you plug your card back in the open source module should get loaded.

Let me add this: the leaked binary works for my cards, the firmware that was embedded in it happens to work with the radio in my cards. According to the post I linked to above, it does *not* work for the dwl-650+, which apparently has a different radio chip in it, it will appear to be associated and show all good in iwconfig but will never transmit, so you've got to go with the open-source driver, where both radios are represented, that's why the firmware you downloaded has both the RADIO0d.BIN and RADIO11.BIN files in it.

Last edited by akaBeaVis; 09-15-2003 at 08:44 PM.
 
Old 09-16-2003, 01:01 AM   #10
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
open source driver won't load

hey... you were right... the binary driver was my first attempt at this fiasco and it was obviously causing problems... so i did what you said... ejected the card... rmmod'ed the binary driver, put it on the blacklist and tried pluggin in the card again... BUT... for some reason the hotplug system doesn't load the open-source driver when i plug it in. I tried to do it myself w/ a modprobe but it returns: can't locate module acx100_pci.o. It is definately there, in /lib/modules/`uname -r`/kernel/drivers/net. I have tried updating module dependencies w/ depmod -A like you said before, but still nothing. I even tried gziping the module to no avail. WHAT IS MY DEAL, I am at the point where i think i am retarded.
 
Old 09-16-2003, 05:44 PM   #11
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Does a "grep acx100 /lib/modules/`uname -r`/modules.pcimap turn up a couple of lines with the driver? If not, do depmod -a, (not -A), this will take a good bit longer then -A, which is not working for you for some reason.
 
Old 09-16-2003, 07:36 PM   #12
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
ya. when i do grep acx100 /lib/modules/`uname -r`/modules.pcimap it returns two lines w/ acx100_pci in them. and when i try depmod -a it returns:
Quote:
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/net/acx100_pci.o
what does this mean?
 
Old 09-16-2003, 07:52 PM   #13
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
I have few modules that generate that error and yet still work, so it may still work for you, on the other hand this may mean that the module needs to be compiled locally, ie: on your machine. Does modprobe still not find the module? How about a "modinfo acx100_pci?
 
Old 09-16-2003, 07:53 PM   #14
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Oh, almost forgot this, those unresolved symbols may be references to things in the firmware files (the .BIN files) do you have the proper options line listing their location in your /etc/modules.conf?
 
Old 09-17-2003, 12:12 AM   #15
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
hey i am gonna try compiling the driver on my machine. In your howto it says to have kernel source installed. How might i go about this on my machine (libranet). I have a file named "kernel-source-2.4.20.tar.bz2 in my /usr/src directory... is this what I should use?
 
  


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
Dwl-650 + hostap problems.. tacogrande Linux - Networking 2 09-14-2005 04:02 PM
dwl-650+ problems es7us Linux - Networking 2 09-11-2004 06:32 PM
Problems w/ Kismet on Fedora Core 1, DWL-650+ atlantanewbie Linux - Wireless Networking 2 05-18-2004 06:15 PM
SuSE 9 w/ D-LINK DWL-650+ problems... captainhog Linux - Wireless Networking 4 03-23-2004 09:13 AM
D-Link DWL-650+ Problems pdepass Linux - Laptop and Netbook 32 12-05-2003 09:30 AM

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

All times are GMT -5. The time now is 01:28 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