record my way to ubuntu

Tuesday, April 03, 2007

Install D-Link DWL-650+ on Debian 4.0 Etch (acx100)

The laptop for my wife is an Acer with C700 CPU and 192MB memory (incl. shared vga memory). I think it's quick enough (or slow enough :)) for internet, chat, text or film. But if i use Windows on this laptop, i muss install antivirus software and firewall software, then system will be very slow. I choice Debian instead of Ubuntu, because i want a small and clean system as required. Here to record is how to install the wireless lan card D-Link DWL-650+ on the Debian system.

The most popular Howto about DWL-650+ on Debian is from Aachen: http://stef.tvk.rwth-aachen.de/~nazgul/debian/DWL-650+_Howto.html
But it's not up-to-date, and should be changed a little.

Prepare for build
First of all, make sure the following line is in the /etc/apt/sources.list
deb http://ftp.debian.org/debian/ unstable main contrib
Then install the necessary applications, use
apt-get install wireless-tools module-assistant acx100-source
Pay attention: DON'T try to install the "hotplug", because "udev" is used instead of "hotplug" in the new Linux Distributions. When you use "apt-get install hotplug", the kernel-image will be removed and the whole system could be destroyed.

The kernel header source is also necessary. Use the following to get it:
apt-get install linux-headers-`uname -r`
Ask module-assistant to update the known modules.
module-assistant update
Compile drive module: acx100
Compile and install acx100 module by using:
module-assistant auto-install acx100
After build try to load the module, use
modprobe acx
When no error Message, then use following line to make acx module to be loaded automatically at boot time.
echo acx >>/etc/modules

Prepare the firmware
Only with the acx100 module and without the firmware, the card can not be drived. DON'T use the acx100-firmware_1.9.8.b_all.deb or acx100-firmware_1.9.8.b-3_all.deb from http://stef.tvk.rwth-aachen.de/~nazgul/debian/DWL-650+_Howto.html
Download the firmware from http://www.kazer.org/acx-firmware-20060207.tar.bz2
Extract the three files in folder acx100_1.10.7.K from this bz2 file and put them to /lib/firmware/. Maybe you should also make a link to /usr/lib/hotplug/firmware/ by using
ln -s /lib/firmware/tiacx* /usr/lib/hotplug/firmware/

Network Setting
The last step is network setting. Open the file /etc/network/interfaces and add the wireless lan setting. I paste my interfaces file here:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
allow-hotplug eth0

iface eth0 inet dhcp
#iface eth0 inet static
# address 192.168.1.5
# netmaske 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1


# The second network interface
allow-hotplug wlan0
auto wlan0

iface wlan0 inet dhcp

wireless_mode managed
wireless_channel 6
wireless_essid xc
wireless_key1 6a6975627567616f00756e6961
wireless_ap 00:15:0c:00:e7:c3


If you have problem when load the acx driver module, see the instruction in acx100 wiki:
http://acx100.sourceforge.net/wiki/Distribution_list/Debian

1 comment:

benjipete said...

Hi,

I am not sure if my pcmcia is working are there any tutorials on how to get this to work or test it.

Cheers
Ben

Followers