Sunday, September 30, 2007

Installing Wireless D-Link DWL-G520+ on Debian etch

I got a desktop pc, nothing fancy and old p4 with 700MB RAM and a 40GB disk. I will be using it at home where I normally use my work Laptop (Latitude D620 with Ubuntu 7.04) and there is wireless access.

Instead of Ubuntu I installed Debian on it, I downloaded the netinstall of Debian 4 (etch) and did the basic installation. For the first step I did the installation in the office connecting the pc to the network as I am not good doing everything from zero.

Once the pc was up and running I started investigating about my wireless card. I am using a D-Link DWL-G520+. I has been working great on a windows box for the last year and was time to move it to linux.

Looking around you find two main options (although I found some new drivers) using ndiswrapper and acx100.

Much of the googling I read mentioned that acx100 was the correct one for the g520 so I install that one. The installation is simple enough and the steps are below. Note that I've been using it for the last 24hrs and I am not happy with it. I even try to put the Ubuntu install cd and forget about debian/acx100 as the connection fails every now and them (I have on my desk my laptop and this pc and while the pc fails some times and have to either restart X or reboot the machine due a complete freeze the laptop stays connected all the time, arghhh).

The information on how to install the driver ison the acx100 wiki page. The steps I followed are listed below:

http://acx100.sourceforge.net/wiki/Distribution_list/Debian


(as root)

# apt-get update

# apt-get install acx100-source wireless-tools

# module-assistant prepare

(the below step is a menu driven, you have to build the acx100 module)
# module-assistant # It will show a menu to build and install it.
|---> Select / acx100 / Build
|----> Yes
|----> Yes
# modprobe acx

If you want you could load the driver automatically with:
#echo acx >>/etc/modules

#cp tiacx111c16 /lib/firmware/`uname -r`/acx/1.2.1.34
(manually created `uname -r`/acx )

#vi /etc/network/interfaces
# The wireless network interface
allow-hotplug wlan0
iface wlan0 inet dhcp

#shutdown -r now

That was it, after the reboot the machine detected the wireless networks around. Selected mine and enter password and was logged (again I fails time to time).



No comments: