1 # Wireless LAN adapter configuration
3 # Theory of operation :
5 # The script attempts to match a block of settings to the specific wireless
6 # card inserted, the *first* block matching the card is used.
7 # The address format is "scheme,socket,instance,hwaddr", with * as a wildcard.
8 # 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX').
9 # 'hwaddr' is the unique MAC address identifier of the wireless card.
10 # The MAC address is usually printed on the card, or can be found via ifconfig.
11 # Some examples here use only half of the MAC address with a wildcard to
12 # match a whole family of cards...
14 # All the Wireless specific configuration is done through the Wireless
15 # Extensions, so we will just call 'iwconfig' with the right parameters
17 # Of course, you need to have iwconfig installled on your system.
18 # To download iwconfig, or for more info on Wireless Extensions :
19 # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
21 # Note : you don't need to fill all parameters, leave them blank, in most
22 # cases the driver will initialise itself with sane defaults values or
23 # automatically figure out the value... And no drivers do support all
24 # possible settings...
26 # If you make any mistakes, you'll get a cryptic message in the system
27 # log. You'll need to figure out on your own which parameter was wrong:
28 # cardmgr[310]: executing: './network start wvlan0'
29 # cardmgr[310]: + SIOCSIWMODE: Invalid argument
30 # I've tried to give more troubleshooting help at :
31 # http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug
32 # In case of doubts, just check "/etc/pcmcia/wireless" for the gory details...
34 # Note also that this script will work only with the original Pcmcia scripts,
35 # and not with the default Red Hat scripts. Send a bug report to Red Hat ;-)
37 # Finally, send comments and flames to me, Jean Tourrilhes <jt@hpl.hp.com>