Acer Aspire Timeline 4810T laptop and ethernet under Debian 5.0.2 (Lenny)

Last week I bought a new laptop and found the Ethernet does not work. Here is how I got it to work.

$ lspci
01:00.0 Ethernet controller: Attansic Technology Corp. Device 1063 (rev c0)

First off we need to install compiling tools and the kernel headers

# apt-get install build-essential linux-headers-`uname -r`

Now to download the AR81Family Linux Driver for the Ethernet card.

Change directories to were you downloaded the drivers too

$ cd ~/Desktop/atheros/

I found the driver package was compressed funny and had to do

$ gunzip AR81Family-linux-v1.0.0.10.tar.gz

and then

$ tar xvf AR81Family-linux-v1.0.0.10.tar

to get the drivers uncompressed.

Now change into the source directory

$ cd src/

Now we are ready to compile and install the drivers

$ make

If there is no errors it time to login as root with su or sudo -s depending on your distro

$ su

To make the install

# make install

When the install was done the was an error about installing the man page for the driver but it not stop the driver from working.

Now to to load the driver with

# modprobe atl1e

Cause I compiled this driver under the 2.6.30 Kernel I had probs getting the Ethernet card to work correctly still till I blacklisted the old driver which is the atl1c, to do this I did

nano /etc/modprobe.d/blacklist

and added this to the file

blacklist atl1c

Now reboot your system and the Ethernet should be working.

People using the 2.6.30 kernel you have to edit the kcompat.h file and change lines 208 and 209 from

#define irqreturn_t void
#define IRQ_NONE


#define irqreturn_t void
#define IRQ_HANDLED 1
#define IRQ_NONE 0

before compiling the drivers or otherwise you’ll get errors and it will not compile.

Comments (1)

  1. 17:53, Saturday, September 19, 2009Oliver  / Reply

    You saved my bacon:)

Leave a Reply

Pingbacks (0)

› No pingbacks yet.

%d bloggers like this: