The Linux, Intel PRO/Wireless 2011B, Technical University Munich FMI HOWTO Christoph Riedl (riedlc@in.tum.de) v0.1, 10 April 2003 This document describes how to get the wireless network working in the FMI building (Garching) of the Technical University Munich using - the Intel PRO/Wireless 2011B LAN PC Card you can rent for a deposit of 60,- euro at the RBG Service-Buero (http://wwwrbg.in.tum.de/rbg/service_buero.html) - a linux PC (laptop). ______________________________________________________________________ To access the university network you will need the decryption key from http://wwwrbg.in.tum.de/lan/funklan/ (this page can only be accessed from within the MWN) to get access to the WLAN. 1) Install the driver Download spectrum24-0.3.7.tar.gz from http://www.red-bean.com/~proski/symbol/ You will need the linux kernel sources to compile the driver. Compile and install the driver: # tar xvfz spectrum24-0.3.7.tar.gz # cd spectrum24-0.3.7 # cp Makefile.standalone Makefile # make && make install This should also place a configuration file in /etc/pcmcia telling the cardmanager to load the new installed driver when the Intel PRO/Wireless 2011B card is inserted in the PCMCIA port. You can also add the following manually to your /etc/pcmcia/config file: device "spectrum_cs" class "network" module "hermes", "orinoco", "spectrum_cs" card "Intel PRO/Wireless 2011B" manfid 0x0089, 0x0001 bind "spectrum_cs" Make sure you have only one entry with the "Intel PRO/Wireless 2011B" signature and that it binds to the spectrum_cs driver. There might be some older entries from your distribution with the wrong settings. Now restart the cardmanager: # /etc/init.d/pcmcia restart Now insert the card. The status LED of the card should be flashing now and you should see something like the following in /var/log/daemon.log Apr 10 22:35:10 crmobile cardmgr[275]: socket 1: Intel PRO/Wireless 2011B Apr 10 22:35:10 crmobile cardmgr[275]: executing: 'modprobe hermes' Apr 10 22:35:10 crmobile cardmgr[275]: executing: 'modprobe orinoco' Apr 10 22:35:10 crmobile cardmgr[275]: executing: 'modprobe spectrum_cs' If the modules load sucessfully, move on to section two. If you see some other modules but the hermes, orinoco and spectrum_cs loaded you have some misconfigured entries in /etc/pcmcia/config or any other .conf file in this directory telling cardmgr to load a different driver. If something went wrong "remove" the card from the PCMIC port: # cardctl eject Double check the files in /etc/pcmcia and remember to restart the cardmanager after changing some of the configuration files. # /etc/init.d/pcmcia restart Now try again inserting the card: # cardctl insert 2) Get the network up and running. In the following commands I assume your wlan card is device eth1 but it might also be something else. You can use the command # cardinfo to find out. If you have a different device, replace eth1 with your device in all the following commands. The command # iwconfig should now produce an output similar to this one: lo no wireless extensions. eth0 no wireless extensions. eth1 IEEE 802.11-DS ESSID:"" Nickname:"Prism I" Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00 Bit Rate:11Mb/s Tx-Power=15 dBm Retry limit:16 RTS thr:off Fragment thr=0 B Encryption key:off Power Management:off Link Quality:0/92 Signal level:134/153 Noise level:134/153 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 If you get a warning telling you that the "Wireless Extensions" the driver has been compiled with differs from the one the iwconfig tool has been compiled with you need to solve this first. To do this you can either try to recompile the driver with the correct kernel sources (the ones the wireless tools have been compiled with) or you try to reinstall the wireless tools. (On my Debian system I had kernel sources using version 14 of Wireless Extensions but the installed, precompiled wireless tools were compiled using version 15.). If this is the case on your system simply download and install the wireless tools from http://pcmcia-cs.sourceforge.net/ftp/contrib/ Choose the latest wireles_tools package (as of this writing it is wireless_tools.25.tar.gz ). Follow the instructions in the package's documentation but in general a # make && make install should work. Now configure the card: # iwconfig eth1 essid FMI mode managed enc [insert the WEP key here] Check the output of iwconfig. There should now be an access point listened. You now have to get a IP address: # dhcpcd eth1 (on Debian use: # pump -i eth1 ) Check the output of ifconfig to see if an IP address has been assigned to you. If you see an access point in the iwconfig output but you do not get an IP address (the dhcpd command failes) you most likely have a typo in the WEP key. Your network should work now. Try to access http://www.in.tum.de for testing. This page should be directely accessible. For "real" internet access you need to tunnel through one of the sunhalle machines (like when you are using cable access). This is not part of this tutorial. If everything works fine you can now configure /etc/pcmcia/wireless.opts for an automated startup. Refer to the wireless manual page for doing so. This tutorial only describes how to get the driver and most basic networking set up. If you have troubles getting PCMCIA working in general have a look in the pcmcia manual page. For questions, comments, corrections and additions please write to riedlc@in.tum.de