Installing Atmel WLAN driver on Gentoo on Sotec 3120X This should help for those trying to get Wireless PCMCIA support on their Sotec's, This is based mostly on the generic wireless card that I got from the sotec website. (If only I had known that this card would be so unsupported) However the first 6 steps are generic just for getting pcmcia support on the laptop For help on the actual compiling of the kernel refer to the Gentoo installation documentation 1) Compile kernel with the following options, to do this run # cd /usr/src/linux # make menuconfig [*] Support for hot-pluggable devices PCMCIA/CardBus support ---> PCMCIA/CardBus support CardBus yenta-compatible bridge support Only these two options needed to be checked to work for me Wireless LAN (non-hamradio) ---> [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions nothing else in Wireless LAN section should be checked 2) Now compile the kernel using your new configuration # make clean # make && make modules_install 3) Copy new kernel boot image to the right location ( I used gento-dev-sources which is kernel 2.6.3 ) # cp arch/i386/boot/bzImage /boot/kernel-2.6.3 # cp System.map /boot/System.map-2.6.3 4) Restart the system to reload kernel 5) Install the pcmcia-cs tools (i'm not SURE if this is necessary since yenta_socket is a kernel module, and the Atmel driver is not included in pcmcia-cs anyway) # emerge pcmcia-cs 6) Install wireless-tools whis will be used for configuring the wireless options for your Access Point 7) Now if you have that generic wireless card that was from the Sotec online purchase section then you should hop on over to http://atmelwlandriver.sourceforge.net and get the latest driver. Go ahead and save the file (atmelwlandriver-3.2.4.4.tar.bz2 at time of writing) and save it to your home directory 8) Open a terminal and unzip the file by doing # tar xjvf atmelwlandriver-3.2.4.4.tar.bz2 9) Change into the new atmelwlandriver directory and run make config. this is how I answered the questions: # cd atmelwlandriver # make config Build all [y/N] : n Set extra module version information [y/N] : n Build Debug version [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] : y Build PCMCIA rfmd revision d Driver [y/N] : y Build PCMCIA rfmd revision e Driver [y/N] : y Build PCMCIA 504 Driver [y/N] : y Build PCMCIA 504+2958 Driver [y/N] : y Build PCMCIA 504A+2958 Driver [y/N] : y Build miniPCI Driver [y/N] : n Build applications [y/N] : n # make all # make install 10) After this the drivers are installed and you are ready to configure your card. Go ahead and run # /etc/init.d/pcmcia restart 11) Setup the configuration files for your wireless card. Get the info for your card, and then add it to the atml0 configuration file in /etc/pcmcia/ # cardctl info PRODID_1="OEM" PRODID_2="11Mbps Wireless LAN PC Card V-3" PRODID_3="" PRODID_4="" MANFID=0000,0000 FUNCID=6 Using this information I added these lines to the bottom of the /etc/pcmcia/atmel.conf file card "OEM 11Mbps Wireless PCMCIA card" version "OEM", "11Mbps Wireless LAN PC Card V-3" manfid 0x0000, 0x0000 bind "pcmf502r" 12) Now run # cardctl eject # cardctl insert And your lights SHOULD start flashing indicating that your driver has been loaded. You can check this by running: # lsmod sis 48064 - agpgart 25544 - pcmf502r 80896 - ds 10724 - yenta_socket 13920 - pcmcia_core 56320 - The important parts here are pcmf502r, ds, yenta_socket and pcmcia_core If both lights did not light up try restarting the laptop with the card in the socket and see if it works after the system has been booted up. You can check to see that the card is indeed recognized by running # ifconfig -a # iwconfig You should see some reference to atml0 if the card was indeed recognized 13) Now I used these files for setting up the wirless connection which essentially edited the files /etc/conf.d/net /etc/init.d/net.atml0 My files will be linked here soon so you can see their content. The net.atml0 file does not need to be edited. The /etc/conf.d/net file is well commented, so just go ahead and edit it to work with your Access Point 14) At this point it should be working (i know it is here) 15) Feel free to contace me with questions joe at koston dot net