LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-25-2003, 06:18 PM   #31
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

No, actually you're almost ready to compile, do this:
ln -s /usr/src/kernel-source-2.4.20 /lib/modules/2.4.20/build
that should do it, beware typos in the above command won't generate an error since you're allowed to symlink to non-existant directories. To test this, do ls /lib/modules/`uname -r`/build/include/linux/version.h, again, one line should be returned, then go into your acx100 directory and make clean, then make. Although, there's a newer version of the source out now: version 0.2.0pre2, so I suggest you cd to the acx100 source dir, then do cvs update, then do make clean, make.
 
Old 09-25-2003, 08:21 PM   #32
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
shitty, make failed, it returned:
Quote:
...
../include/wlan_compat.h:373:31: linux/modversions.h: No such file or directory
make[1]: *** [acx100.o] Error 1
make[1]: Leaving directory `/home/bige/acx100/src'
make: *** [driver] Error 2
wtf.
 
Old 09-25-2003, 08:37 PM   #33
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
All-righty then...(this is me giving up on compiling this module on libranet...)

and yet all may not be lost...

Let's re-visit using my already-compiled module for slackware 9.0 that you downloaded (or go download the newest version 0.2.0pre2 for slack9), the kernel version matches yours.

if you're game:
after you tar zxf the module to /lib/modules/2.4.20/kernel/drivers/net/pcmcia and tar zxf the firmware to the same directory
add this line to your /etc/modules.conf file:
options acx100_pci use_eth_name=1 debug=0x01 firmware_dir=/lib/modules/2.4.20/kernel/drivers/net/pcmcia

do an insmod acx100_pci, if errors use insmod -f, if more errors, post 'em.
do iwconfig, if you get some kind of output for the wireless card, continue.
do iwconfig ethX mode managed rate 11M channel X essid <essid name of your access point> key xxxx-xxxx-xx (if you're using WEP) substitute your channel in there for "X".
do dhcpcd -d ethX, using the device name for the wireless card.
see what happens...

Last edited by akaBeaVis; 09-25-2003 at 08:43 PM.
 
Old 09-26-2003, 07:44 PM   #34
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
dam, this is ugly. I tried insmod and w/ the -f option. I checked my modules.conf file, added the line you specified and i get lots of errors. Here is what is returned when i do and insmod -f and insmod:
Quote:
Using /lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_set_power_state
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol eth_type_trans
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol schedule_timeout
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol filp_open
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __kfree_skb
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol alloc_skb
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_register_driver
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __generic_copy_from_user
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __release_region
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol ether_setup
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol kmalloc
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_free_consistent
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_enable_device
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __get_free_pages
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol vfree
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol boot_cpu_data
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol cpu_raise_softirq
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol free_irq
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol unregister_netdev
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __out_of_line_bug
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol iounmap
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol free_pages
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_alloc_consistent
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol filp_close
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __ioremap
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol del_timer
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol register_netdev
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol dev_alloc_name
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol mod_timer
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol iomem_resource
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol kfree
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol request_irq
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol netif_rx
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_unregister_driver
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol skb_over_panic
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol pci_set_master
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol sprintf
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol jiffies
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __vmalloc
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol softnet_data
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __request_region
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol printk
/lib/modules/2.4.20/kernel/drivers/net/pcmcia/acx100.o: unresolved symbol __generic_copy_to_user
huh?
 
Old 09-26-2003, 08:17 PM   #35
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 just got some email from a guy who downloaded the slack 9 module and the firmware from the howto (of course, he's using slack 9) and has his dwl-650+ working. Don't give up.

I'm wondering how the module ends up being named "acx100.o" instead of "acx100_pci.o", any ideas? The problem with the module being acx100.o is that the options line in /etc/modules.conf will be ignored since it's for acx100_pci.o, meaning no firmware will be found, which is probably causing those errors. I'm not sure how the module got that name, but if you're sure that acx100.o module is the same slack9 module you downloaded, then "cd /lib/modules/2.4.20/kernel/drivers/net/pcmcia", then "mv acx100.o acx100_pci.o". I'm assuming by all those errors that the module did not get loaded, make sure: "lsmod", and if you see acx100 in the list, "rmmod acx100", if your card is in at the time, "cardctl eject" first, or the machine may hang, then "rmmod acx100". After the "mv", do "depmod -a", then "cardctl insert". At no time should you physically remove the card from the machine.

Last edited by akaBeaVis; 09-26-2003 at 08:29 PM.
 
Old 09-26-2003, 08:27 PM   #36
highartboi
LQ Newbie
 
Registered: Sep 2003
Location: California
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
Hi guys, I'm trying to get my D-Link DWL650+ card to work with RedHat 9. I also installed the acx100 driver from acx100.sf.net. After successful compilation and installation, i get wlan0 up running, but the mode is default to Ad-Hoc. Even though i set the mode to be Managed in the start_net scripts, it still comes up to be Ad-Hoc. So i tried to use "iwconfig wlan0 mode managed" to force it to change mode. I also tried "iwconfig wlan0 retry" and "iwconfig wlan0 commit". but they both gave me an error saying the operation is not supported. I'm using iwconfig version 25. No matter what i do, i can't get the mode to change to managed. I know i need managed mode to talk to the AP. Does anyone know why mode is not changing? Do i need to install a new iwconfig rpm?
Thanks alot!
 
Old 09-26-2003, 08:30 PM   #37
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
mybad. I must have posted wrong or sumthing b/c after a reboot it is listing "acx100_pci.o", w/ all the same errors. And no, the module obviously doesn't load. What would an "Unresolved symbols" error mean. When I do a "depmod -a" it gives me unresolved symbols messages like the ones when i try to insmod.
 
Old 09-26-2003, 08:53 PM   #38
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
Unresolved symbols are the result of C function calls in the source code that are supposed to exist in other files outside the acx100 source directory, the *.h files in the kernel-source directory define how to make the function call and the parameters for it, but the actual compiled code is another file on the system, or it's *supposed* to be. "Unresolved" means the already-compiled-code (object code) for these external function calls was not found for all those function calls you listed, it suggests a library or two that the acx100 source code links to was not found, or the *.h files point to locations that were not found, etc.. Unlike the atmelwlandriver or the admtek source, the acx100 source never gives me unresolved symbol errors. Not on 6 different machines running mdk8.2, mdk9, mdk9.1, rh9, and slack9.

I truly wish I knew what was wrong, tomorrow I will install debian 3.0 on one of my machines, and yet I don't know how close libranet is to debian, so maybe this will give a clue, maybe not.
 
Old 09-26-2003, 08:56 PM   #39
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
It is pretty close from what I know, Plus, I have posted on Libranet's official forum to see what they have to say. I linked it to this post too, so that maybe help can go from here. Thanks a TON for your help!
 
Old 09-26-2003, 09:07 PM   #40
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
highartboi,
check your /var/log/messages for lines with "/etc/hotplug/pci.agent...setup....for PCI slot...." in them, start at the end of the file and work backwards, does any other module appear on that line besides acx100_pci?
 
Old 09-26-2003, 09:15 PM   #41
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
bige,
this chipset gave me fits, it took over 2 months for me to find out what it was and find a driver and get it working, at the time the open source project had just begun and nothing was released, I finally found and used the leaked binaries, they worked but were very touchy. I would like nothing more than for every linux-er who owns a card w/this chipset in it to get it working with the open source driver. Helping linux people get this chipset to work is my ultimate revenge on Texas Instruments and the US military who would both probably prefer users of the chipset be limited to a closed-source driver, so...you're welcome, and please don't give up.
 
Old 09-26-2003, 09:16 PM   #42
highartboi
LQ Newbie
 
Registered: Sep 2003
Location: California
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
hi akaBea Vis, I'm using a D-Link PCMCIA card on my laptop, so there is no messages about pci.agent related to acx100. Any idea it's telling me the following?

[root@chris scripts]# iwconfig wlan0 ap any
Error for wireless request "Set AP Address" (8B14) :
SET failed on device wlan0 ; Operation not supported.

I'm using iwconfig version 26. Thanks alot
 
Old 09-26-2003, 09:40 PM   #43
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
high, (and may I call you "high"?, heh)
we need to see your /etc/modules.conf, output from lsmod, ifconfig -a, and iwconfig wlan0, additionally, please check and see what's in the acx100/firmware directory, It should be a few files ending in ".BIN", which were copied there from either your windows installation or from the driver disk, or from the downloaded driver from d-link. We will get this working, it's just a matter of time...
 
Old 09-26-2003, 11:18 PM   #44
bige
Member
 
Registered: Mar 2003
Location: Kansas
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
nope, just says:
pci.agent: .. can't load module acx100_pci
pci.agent: missing kernel or user mode driver acx100_pci
 
Old 09-30-2003, 11:16 AM   #45
highartboi
LQ Newbie
 
Registered: Sep 2003
Location: California
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
hi aka (may I call you "aka"? ^_^),
Thank you very much for your reply. I do not have access to my Linux box right now, but I will post the output of the commands you mentioned earlier asap. I however did a thourough RedHat 9 RPM update through redhat network. I have make sure that I have all three BIN files in the /usr/acx100/firmware directory. I was able to successfully recompile the acx driver, but i still can't change the mode of wlan0. I will also post the output of dmesg later on today. I figure i should just give you guys a heads-up. Thanks alot

high
 
  


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
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 02:25 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