On Sun, May 26, 2002 at 12:21:10PM -0800, W.D. McKinney wrote:
Not sure what's up with the pcmcia in 7.3 but it's still not working with my Orinco Gold Wireless card. If anyone has the /etc/pcmcia config for this card and is DHCP to connect to a network, I'd be most greatful. Or any pointers.
Here are my notes on PCMCIA in 7.3. Caution, long post... The cardmgr program is the daemon that waits for a PCMCIA card to be inserted. Then, it checks to see what card was inserted and loads the correct driver, with settings from several configuration files. All the configuration files for the PCMCIA system (before SuSE 8.0) are in /etc/pcmcia. File /etc/pcmcia/config.opts reserves hardware resources for PCMCIA. It comes with a standard range of IO ports, IRQs, and DMA channels. These can be changed. Most of the time, they are fine the way they are. This file can also be used to pass parameters to card drivers, but there are better places for that so I recommend NOT to set up any parameters in this file, only hardware resources. Drivers for the Orinoco Silver (and gold) 802.11b PCMCIA card. Because the Orinoco Silver card is so well supported, there are 3 drivers available for this card: wvlan.cs -- old open source driver for the original wavelan card. orinoco_cs -- new open source driver for the new generation cards. wavelan2_cs -- Lucent supplied Linux driver (partially open source). I have used both the orinoco_cs driver and wavelan_2 driver working on different laptops. You have to compile the Lucent driver since it only comes in source code form. The wvlan_cs driver is no longer maintained. I decided to use the orinoco_cs driver. It is installed as the default on most Linux distros and supports all important features including encryption. File /etc/pcmcia/config is a text database that maps PCMCIA card names to their drivers. You should not have to change this file. This file appends the /etc/pcmcia/config.opts file and *all* /etc/pcmcia/*.conf files. The config database includes driver mappings for all types of PCMCIA cards, network, modem, storage, sound, etc. SuSE 7.3 includes a file called /etc/pcmcia/orinoco_cs.conf that contains the card name to driver settings for the Orinoco cards. File /etc/pcmcia/network.opts contains the network settings to use for a pcmcia card. Edit this file to assign an IP address, net address, gateway, etc to your card or set it to use DHCP. Since PCMCIA cards can be used in many settings (for example, home and work), you need a way to store different configurations. The Linux solution (at least in SuSE before 8.0) is something called "schemes". A scheme is a set of network configuration settings. You can set up multiple schemes in the network.opts file and control which scheme to use with the cardctl program. You have to be root to use cardctl. To see what the current scheme is, use cardctl scheme To check to see what cards are currently recognized, use cardctl status To shut down a PCMCIA card (socket 0 or socket 1), use cardctl eject 0 cardctl eject 1 SuSE 7.3 uses a scheme called "SuSE" which is the first one listed in the network.opts file. It is important to define your PCMCIA network card in YaST2 and enter the network settings there (either static address or DHCP). The reason is that YaST will save the settings into /etc/pcmcia/network.opts and overwrite anything you have manually put in the SuSE scheme. It will NOT overwrite settings you have created in a different scheme. File /etc/pcmcia/wireless.opts is used for setting parameters for wireless card drivers. Cards are matched in this file using their MAC address. You can define each specific card to have different settings, or define all cards from a manufacturer (the first 3 bytes of the MAC) to have the same settings. There is a lot of flexibility in setting up this file. The comments at the top of the file describe the layout very well. It is in this file that you define your access point, network name, encryption key, and other things. Here are example settings from my wireless.opts. It defines my access point network, managed (infrastructure) mode (vs. ad-hoc), and my 40-bit encryption key using key 3. No, that's not my real network name or key. # Lucent Wavelan IEEE (+ Orinoco, RoamAbout and ELSA) # Note : wvlan_cs driver only, and version 1.0.4+ for encryption support *,*,*,00:60:1D:*|*,*,*,00:02:2D:*) INFO="Wavelan IEEE example (Lucent default settings)" ESSID="mynetworkname" MODE="Managed" # RATE="auto" KEY="5454-0606-33 [3] key [3]" # To set all four keys, use : # KEY="s:secu1 [1] key s:secu2 [2] key s:secu3 [3] key s:secu4 [4] key [1]" # For the RG 1000 Residential Gateway: The ESSID is the identifier on # the unit, and the default key is the last 5 digits of the same. # ESSID="084d70" # KEY="s:84d70" ;; I commented out all other cards in wireless.opts since I only use Orinoco cards. Best Regards, Keith -- LPIC-2, MCSE, N+ Got spam? Get spastic http://spastic.sourceforge.net