Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

How do I get the Cisco VPN client to work with madwifi?

Apparently if you use version 4.0.4A or later, it might work right out of the box, but for previous versions or if you are having problems, read on…

According to Tom Marshall, vpnclient needs fixing. This is what Tom has to say:

vpnclient has (bad, evil) code to look for acceptable interfaces based on their name. You need to add “ath” to that list. In interceptor.c you will find the supported_device() function. Add these lines at the appropriate place:

else if(!strncmp(dev->name,"ath",3) && (dev->name[3]>='0' &&
                +dev->name[3]<='9'))
 
{
 
                rc=1;
 
}

Then recompile it and you should find that it works. Alternatively, you could rename the interface.

For version 4.0.4A or later, you might find that you can connect to your VPN server, but you may not get any other traffic through. If "/sbin/ifconfig wifi0" (or whatever your wifi device is) shows receive frame errors, then the issue is related to the latest supported_device() code in interceptor.c.

According to Mitch Sukalski the code intercepts incoming traffic for both the wifiX and athX devices. It should only intercept the athX device. Modify the supported_device() code in interceptor.c to something like this:

    int rc=0;

    if (strncmp(dev->name,"wifi",4) == 0)
    {
        rc=0;
    }
    else if(dev->type == ARPHRD_ETHER)
    {
        rc=1;
    }
    else if(dev->type == ARPHRD_PPP)
    {
        rc=1;
    }

    return rc;