Unofficial 2.6 version

(see http://www.admtek.com.tw/download/ADM8211.htm for offical drivers)

Edit the KERNEL_DIR variable in the Makefile to point to your kernel-2.6 source directory.  Then run make.

This will build 8211.ko, which you will need to place in /lib/modules/`uname -r`/kernel/drivers/net/

NOTE:  This is just a hacked together Makefile since ADMtek has not released an official version that will compile under 2.6 at this point.  If you have problems with this driver under 2.6, don't email me for help because I have little understanding of the actual code.  This is just for people who want to run 2.6, but can't because there wasn't a ADM8211 driver available yet.  I have only tested this on Debian unstable, with kernel 2.6.0 and 2.6.1-rc1.  GL!

Know problems under 2.6:
The driver doesnt seem to report the current transmit speed correctly under 2.6.  Programs like gkrellm will not show the current download and upload speeds correctly.

wadey@facehat.com

****************************************************************************
		       ADMtek ADM8211 Wireless Adapter

			 Linux Driver Installation
			 ~~~~~~~~~~~~~~~~~~~~~~~~~

	           Copyright (C) 2002,2003 ADMtek Incorporated.
		           All rights reserved.
****************************************************************************

This document includes the following sections,
	I.   Installation Guide
	II.  OS supported List
	III. Notice
	IV.  Errata


I. Installation Guide 
    
    Please follow the below to install your ADMtek ADM8211 wireless 
    Adapter linux driver,

    1. Power on, make sure you have the privilege of superuser, and login as 
       root.

    2. If you use CARDBUS, make sure your PCMCIA device work well. 
       You can try the command 'lsmod' to see the output. If the keyword 
       "pcmcia_core" had been found, it means that you had installed 
       pcmcia-cs (Normally, most laptops can be autodetected in the 
       installation step).

    3. Choose the proper version of installation file.
   
    4. Install your ADMtek ADM8211 Wireless Adapter Linux driver for different 
       OS version.
       a. If your OS is RedHat 7.3, please tar zxvf Install_RH73_100.tar.gz.
          If your OS is RedHat 8.0, please tar zxvf Install_RH80_100.tar.gz.
          The directory "Install" will be made. 
       b. Type command "cd Install" to enter directort "Install". 
       c. Type command "./install" to begin installing Linux driver.

       After upper command, ADMtek ADM8211 Linux driver will be installed. 
       And the utilities including wireless-tool and kwifimanager will be also 
       installed.The two utilities are popular tools that can help you configure       the Wireless Lan. 
       For further reading, please reference the Linux Wireless LAN Howto, 
       located at <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/>.

    5. If you get the source code and you want to compile it by yourself.
       a. Install wireless-tool by yourself.
	  (We recommand wireless-tools-25)
       b. Make sure you have the kernel 2.4.x source code.
       c. You can modify the Makefile to fit your enviroment. We recommad
          you make a soft link linux-2.4 of kernel source in /usr/src/
          eg. If you had kenrel source linux-2.4.20 in /usr/src/
              type "ln -s linux-2.4.20 linux-2.4"
       d. Type "make"
       e. The file 8211.o is the ADM8211 linux driver
       f. "insmod 8211.o" to test your linux driver
         (If you encounter some error messages, please try "insmod -f 8211.o")
            

    6. Reboot your system and use the command "netconfig" to configure your 
       network.You may need start network using "/etc/rc.d/init.d/network start"       to take effect.
       You can use either iwconfig or kwifimanager(In KDE) to setup up your
       wireless lan.


II. OS supported List

    We announce the binary files and now support RedHat 7.3 and 8.0.
    RedHat 7.3 binary driver file is called Install_RH73_100.tar.gz.
    RedHat 8.0 binary driver file is called Install_RH80_100.tar.gz.
    Source code for other distributions.
    Please choose the proper file to install.


III. Notice

    After installing driver, you can setup your wireless lan card by 
    iwconfig or kwifimanager. Kwifimanager is based on KDE 3. If you 
    do not install KDE in RedHat, kwifimanager will not work. Iwconfing 
    is a text command based tool that can configure your WLAN and it 
    works well. In using iwconfig, everything will take effect after 
    you set ESSID by typing like "iwconfig eth0 essid "any" ". 
    Our default channel is auto scan. In normal condition, the driver can 
    find the suitable channel to join. It you want to set channel by yourself, 
    you can use iwconfig to setup your channel. You also can set channel 0 to 
    let driver auto scan the channel.

    For example, 
    If you want to change channel to 2, you could do as follows:
	1. iwconfig eth0 channel 2
	2. iwconfig eth0 essid "any"
    If you want to change channel to 1 and ESSID "Wirelss", you could do 
    as follows:
	1. iwconfig eth0 channel 2
	2. iwconfig eth0 essid "Wireless"
    If you want to chage mode to Ad-Hoc mode ,channel 2 and ESSID "AD", you 
       could do as follows:
	1. iwconfig eth0 mode Ad-Hoc
	2. iwconfig eth0 channel 2
	3. iwconfig eth0 essid "AD"

    If yor use WEP and the key is 1011121314 (64 bits encryption, and key 
    length is 5), you could do
    as follows:
	1. iwconfig eth0 key 1011121314
        2. iwconfig eth0 essid "any"    	
    If yor use WEP and the key is 101112131415161718191a1b1c (128 bits 
    encryption, and key length is 13), you could do as follows:
	1. iwconfig eth0 key 101112131415161718191a1b1c
        2. iwconfig eth0 essid "any"   
 
    Anyway, the driver settings will take effect after you set the essid.	

    
IV. Errata
  
    If you change data rate in kwifimanager and you use DHCP to get IP, the
    default gateway will disappear. This may be a bug of wireless extension
    or kwifiamaner. We test other wireless lan cards including Cisco 350 
    and Lucent Orinoco and the same conditions happened. You can run
    the following command to solve this problem,
    in RedHat 7.3

	killall dhcpcd
	dhcpcd ethX

    in RedHat 8.0 

	killall dhclient
	dhclient ethX

    with X being your network interface.

