{PROJECT} ./../../../template/home.en.ini {MENU} 00.04 {TITLE} Allnet ALL0281 under Linux {LANG} {INFO_TITLE} No warranty {INFO_BODY}

This document is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

{CONTENT}

Allnet ALL0281 under Linux

This article describes my experience with the installation and the configuration of the WLAN PCI card Allnet ALL0281 under Debian Linux using the madwifi-ng driver. Among other things I describe how I installed the driver, how I configured my card and in which environment my card works.

This project is licensed under the terms of the GNU General Public License.

Content

  1. Information about the card
  2. Features I use (so obviously supported)
  3. Installation
  4. Configuration
  5. In service
  6. Conclusion
  7. Sources
  8. Pictures

Information about the card

I bought this card in ebay for 34,90 EUR because I knew that there is an Atheros chip set on it and that there is a Linux driver for it.

Here the output of the program lspci:

    0000:00:0b.0 Ethernet controller: Atheros Communications,
                 Inc. AR5212 802.11abg NIC (rev 01)

Here is some technical information about the card:

Manufacturer Allnet
Name of the card ALL0281
Chip set Atheros
Linux driver madwifi
Interface 32bit PCI
Frequency 2.4 GHz
Max. bandwidth 108 Mbps
Encryption 128bit WEP, WPA

Here is a list of all the cards supported by madwifi:
http://madwifi.org/wiki/Compatibility

Features I use (so obviously supported)

I used this card with all kernels starting with 2.6.11.4 to 2.6.16.27 and I could patch and compile all of them with the newest madwifi version. Since June 2006 I use the new madwifi-ng driver. Since I use Debian Linux only I only tested the card with Debian 3.2 (etch) and Debian 3.1 (sarge).

Since July 2005 there is the new madwifi-ng driver with some new features (see http://madwifi.org/wiki/NewCodebase). The old driver was renamed in madwifi-old and there is no developement of this driver anymore. So I use the newest version of madwifi-ng since June 2006.

Right now my card works under Debian 3.2 (etch), (last dist-upgrade from 3. August 2006). I use the official kernel 2.6.16.27 patched with madwifi-ng 0.91 only.

My Access Point is a FRITZ!Box WLAN 3030. The card works with 54Mbit and I encrypt my WLAN using WEP. WPA worked very fine too but it needs a newer version of wpasupplicant which comes along with Debian 3.2 (etch) but not with Debian 3.1 (sarge). So you need Debian etch if you wish to use WPA.

Installation

I install the madwifi-ng driver by compiling a new kernel patched with madwifi-ng. It is very easy when you use Debian. You just have to download and unpack the kernel sources, execute the madwifi-ng patch and configure your kernel (one mark is enough). Then you compile the new kernel with one command and install it with a second one. Restart and your card is ready. Now all these steps more detailed:

Configuration

After the restart all modules needed should be loaded automatically. You can check it using lsmod::

    wlan_wep                5568  1
    wlan_scan_sta          10560  1
    ath_pci                74148  0
    ath_rate_sample         9536  1 ath_pci
    wlan                  155740  5 wlan_wep,wlan_scan_sta,
                                    ath_pci,ath_rate_sample
    ath_hal               189264  3 ath_pci,ath_rate_sample
  

If they are not loaded, then you have to execute the following command: modprobe ath_pci. Now you can configure your card by editing /etc/network/interfaces:

    auto ath0
    iface ath0 inet static
          address 192.168.2.42
          netmask 255.255.255.0
          network 192.168.2.0
          broadcast 192.168.2.255
          gateway 192.168.2.1
          wireless-essid MyHomeESSID
          wireless-mode Managed
          wireless-rate 54M auto
          wireless-channel 11
          wireless-key open MYVE-RYSE-CRET-KEY0-ABCD-1234-AB
  

Now call the following commands:

    $ ifdown ath0
    $ ifup ath0
  

The ping to other computers should function now.

In service

The transfer rate is about 1 MB/sec in average, although the card works with 54MBit. Of course the rate seriously depends on the channel you use, for me channel 11 works fine.

Conclusion

The WLAN-PCI-Card Allnet ALL0281 functions very well for me after the compilation of a new kernel patched with the madwifi-ng driver. With supported WEP and WPA encryption and a transfer rate near by 1 MB/sec it covers my needs.

Sources

Pictures

 

14. August 2006, http://www.pussep.de/anton/en/projects/ALL0281_Linux/index.html