Sitecom Wireless PCMCIA (WL-011) and Linux HOWTO

Original document written by Asim Saglam yoda2 at gmx dot net

C code corrections by Tom Barcellona

This version written by Dennis Leeuw

Sitecom WL-011 PCMCIA card

The Sitecom WL-011 PCMCIA card uses a ATMEL chipset. From the sitecom website one can download the GNU/Linux source code to these drivers Sitecom Download page

The sources contains the sources to the ATMEL drivers.

What is expected to be available

A working development environment with gcc and (gnu)make

The kernels include files, and the PCMCIA include files (-dev packages from most GNU/Linux providers

Your kernel does have to support PCMCIA and wireless networking.

The PCMCIA drivers need to be compiled to match the kernel they will be used with, or some or all of the modules may fail to load. If you are not sure what to do, please consult the PCMCIA-HOWTO.

If you want to use the X tools, install xforms. The xvnet tool expects xforms 0.89, but 1.0 does work.

The kernel versions reported to work are 2.4.19 and 2.4.20, 2.4.22 pcmcia versions 3.1.22

Building the atmelwlan-driver-2.1.1

cd /usr/src
bunzip2 atmelwlandriver.2.2.1.tar.bz2
tar -xvf atmelwlandriver.2.2.1.tar
cd /usr/src/atmelwlandriver

edit src/Pcmcia_Pci/fastvnet_cs.c and change line 712 from return 1; into ; The code should now look like this:

           if (serv.Revision !=3D CS_RELEASE_CODE){
                printk("%s: CardServices release does not match!\n", = dev_info);
If you kernel headers are not in the usual place set the environment variable KERNEL_SRC, like this:
export KERNEL_SRC=/path/to/kernel/src
Save the file an continue with:
make realclean
make config
A configuration might look like this:
Build all (y/n) : n
Kernel Version Running 2.4.19
Found Kernel Source Directory (/lib/modules/2.4.19/build)
Build Debug version (y/n) : n
Set extra module version information (y/n) : n
Build USB Drivers (y/n) : n
Build PCMCIA Drivers (y/n) : y
Build PCMCIA rfmd Driver (y/n) : y
Build PCMCIA 3COM Driver (y/n) : n
Build PCMCIA rfmd revision d Driver (y/n) : n
Build PCMCIA rfmd revision e Driver (y/n) : n
Build PCMCIA 504 Driver (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : y
Build command line application (y/n) : y
You have to install the xforms library in order to use the xvnet application
Finished. Now run make clean, all, install
And continue with:
make clean
make all
make install
depmod -a
The install and depmod should be done as root.

The setup

First we need to detect what the card thinks it is (how it shows itself to the system. Make sure the card is in the socket.

cardctl ident

should give you something like:

        Socket 1:
           product info: " ", "WCard"
           manfid: 0xd601, 0x0007
           function: 6 (network)

With this information we can adjust the atmel.conf file which can be found in /etc/pcmcia. Add to that file the following lines.

card "Sitecom wireless 11Mbps WLAN PC Card"
     manfid 0xd601, 0x0007
     bind "pcmf502r"
Note: chipset with module pcmf502r

Laptop specific stuff:

Getting it to work

Restart your pcmcia services:

/etc/init.d/pcmcia restart
Note that in /var/log/messages you should now see the card being detected.

Setup the network card like:

ifconfig eth1 up
ifconfig eth1
Ofcourse you could use another IP address, but if you have a Sitecom NAT router as well, which is configured with a default IP of, this gives you the direct ability to talk to the router.