diff options
Diffstat (limited to 'meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts')
| -rw-r--r-- | meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts new file mode 100644 index 0000000000..3e498297fc --- /dev/null +++ b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | # Wireless LAN adapter configuration | ||
| 2 | # | ||
| 3 | # Theory of operation : | ||
| 4 | # | ||
| 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... | ||
| 13 | # | ||
| 14 | # All the Wireless specific configuration is done through the Wireless | ||
| 15 | # Extensions, so we will just call 'iwconfig' with the right parameters | ||
| 16 | # defined below. | ||
| 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 | ||
| 20 | # | ||
| 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... | ||
| 25 | # | ||
| 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... | ||
| 33 | # | ||
| 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 ;-) | ||
| 36 | # | ||
| 37 | # Finally, send comments and flames to me, Jean Tourrilhes <jt@hpl.hp.com> | ||
| 38 | # | ||
| 39 | |||
| 40 | case "$ADDRESS" in | ||
| 41 | *,*,*,*) | ||
| 42 | INFO="Default Config" | ||
| 43 | ESSID=any | ||
| 44 | MODE=Managed | ||
| 45 | RATE=auto | ||
| 46 | ;; | ||
| 47 | esac | ||
