Hope this is of some use to those trying to get the D-Link DWL-520+ (PCI) card working in kernel 2.6.
Here goes....
1. Go to http://lisas.de/~andi/acx100/
and download the latest version. acx100-0.2.0pre6_plus_fixes_14 was the version I downloaded.
2. Look at the Readme file and you will find the following
Download the latest firmware files. Check out this post which shows you how to wget the files... http://forums.gentoo.org/viewtopic.php?t=119681.--- LINUX 2.6 INSTALLATION ---
In order to use the acx100 driver with Linux 2.6 you'll need a complete 2.6
source tree and have to build the module "in-tree". You'll have to:
1. Create a directory drivers/net/wireless/acx100 in your 2.6 source tree.
2. Copy the files
- src/Makefile
- src/*.c
- include/*.h
from the acx100 sources into drivers/net/wireless/acx100 in your 2.6 tree.
3. Add a line reading "obj-m += acx100/" to the bottom of
drivers/net/wireless/Makefile .
4. Then build your kernel as usual, the acx100 driver will be built as module
(acx100_pci.ko). Make sure you have the required 2.6 module userspace
package (module-init-tools) and enjoy
If you cannot Wget the files as above, copy them from the CD if you have the Windows install disc. Or if you have a windows boto partition, download in windows and then mount the windows partition in Gentoo and copy the required files over.
mkdir /usr/src/linux-2.6.0-test6-mm1/drivers/net/wireless/acx100/firmware and copy the files (that have been downloaded above) WLANGEN.BIN RADIO0d.BIN and RADIO11.BIN into this directory
mkdir /usr/src/linux-2.6.0-test6-mm1/drivers/net/wireless/acx100/scripts
Copy the files from the scripts folder in acx100-0.2.0pre6_plus_fixes_14/scripts into the newly created scripts folder.
Edit the start_net script as follows
DEV=wlan0
IP=Enter your IP here
NETMASK=Enter your netmask here
GATEWAY=Enter your Gateway IP here
ESSID="Enter your ESSID here" # THIS IS CASE SeNsItIvE!! any == associate to any ESSID
# Default rate configured as 11Mbps to not cause connection problems with non-22Mbps hardware...
RATE=11M
CHAN=Enter Channel number here # it's useful to try to stick to channels 1, 6 or 11 only, since these don't overlap with other channels
#TXPOWER=16 # 16 == 16.5dBm, 18 == 18dBm (default)
MODE=Managed
DEBUG=0xb
#KEY="B401CD21B44CCD21DEADBEEF11" # WEP128
ALG=open # open == Open System, restricted == Shared Key
Find the line that starts with MODULE_AT="${SCRIPT_AT}
edit it to read MODULE_AT="${SCRIPT_AT}/../acx100_pci.ko"
Next find the line that starts FIRMWARE_AT="${SCRIPT_AT}
edit this to read FIRMWARE_AT="${SCRIPT_AT}/../firmware/"
Save your file.
Reboot
Once you have re-booted
Open a console
su
cd /usr/src/linux-2.6.0-test6-mm1/drivers/net/wireless/acx100/scripts
./start_net
type iwconfig (Available from wireless-tools if you do not have it installed) and you should see your wireless LAN configuration, similar to below
wlan0 IEEE 802.11b+ ESSID:"Diamond" Nickname:"acx100 v0.2.0pre6"
Mode:Managed Channel:13 Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=11Mb/s Tx-Power:20 dBm
Retry min limit:5
Encryption key:off
Power Management:off
Link Quality:95/100 Signal level:20/100 Noise level:5/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Wireless networking with your D-Link DWL-520+ should now work.
That's all I needed to do. If anyone has problems with this, I will try and help as much as possible. But if you follow this post you should really be ok.
Regards
Gary
P.S. If anyone knows how to run the start_net script at boot up (EG, as a /etc/init.d script) I would be grateful.




