How I got the "Belkin F5D6020" wireless PCMCIA card up and running in Linux
I use Gentoo, BTW.
Steps:
1. First you must make sure you have wireless support built into the
kernel. In you /usr/src/linux/.config file it would be
CONFIG_NET_RADIO=yes
2. Make sure you have installed the pcmcia_cs package. When I did this,
I found out that my card (maybe not yours) is actually a Realtek chipset:
'cardctl ident' returned:
Socket 0:
product info: "Realtek", "Rtl8180"
manfid: 0x0000, 0x024c
function: 6 (network)
but 'less /proc/pci' gave the proper Belkin ID for the card:
Bus 20, device 0, function 0:
Ethernet controller: PCI device 1799:6020 (rev 32).
IRQ 11.
Master capable. Latency=64. Min Gnt=32.Max Lat=64.
I/O at 0x4000 [0x40ff].
Non-prefetchable 32 bit memory at 0x10800000 [0x108010ff].
3. So then you download the Linux source code from the Realtek site, compile it
yourself (their presupplied driver will not load correctly, or work at all)
change the r8180_pci_init.c file to read, at lines 58-60:
static struct pci_device_id rtl8180_pci_id_tbl[] = {
{ 0x1799, 0x6020 /*0x8139*/, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
{0,},
};
...notice I used the '1799:6020' in the above 'struct' statement...
Then do 'make' and 'make install' for the realtek driver.
4. Install if you haven't already, the Wireless-tools package. (iwconfig, iwpriv, etc.)
5. Disable your normal, 'wired' eth0 card if you have one, in the startup script(s)
These would be, for instance, in Gentoo: /etc/conf.d/net. Your distro may be different.
Also, unload any modules for wired cards with 'modprobe -r insert_modulename_here'
6. Make a startup script to get online. I have a wireless hub, so I configured
things for a 'managed network'. Here's my startup script:
/sbin/modprobe rtl8180_24x
/usr/sbin/iwconfig wlan0 mode Managed
/usr/sbin/iwconfig wlan0 essid auto
/usr/sbin/iwconfig wlan0 nwid auto
/usr/sbin/iwconfig wlan0 ap any
/usr/sbin/iwconfig wlan0 freq 2.46G #### these are mine, maybe not yours--check your hub info
/usr/sbin/iwconfig wlan0 channel 10 #### ditto
/usr/sbin/iwpriv wlan0 enable ##### belkin card starts blinking
/sbin/dhcpcd wlan0 #### if your wireless hub uses a DHCP scheme, else use ifconfig and route
#### (more complex) as one would normally do in a static setup
BTW, I changed/ignored the 'wlanup' script that came with the realtek driver to the above. 'wlandown' will work fine....
Good luck !