[Home]Wireless Opts

I've got LUCENT/ORINOCO and LinkSys PCMCIA wireless cards...

PCMCIA wireless info is configured using the file /etc/pcmcia/wireless.opts, which should look something like this (with the correct values entered!):

 case "$ADDRESS" in

 *,*,*,*)
    INFO="Fill with your own settings..."
    # ESSID (extended network name) : My Network, any
    ESSID=""
    # NWID/Domain (cell identifier) : 89AB, 100, off
    NWID=""
    # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
    MODE=""
    # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
    FREQ=""
    CHANNEL=""
    # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
    SENS=""
    # Bit rate : auto, 1M, 11M
    RATE=""
    # Encryption key : 4567-89AB-CD, s:password
    KEY=""
    # RTS threshold : off, 500
    RTS=""
    # Fragmentation threshold : off, 1000
    FRAG=""
    # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
    IWCONFIG=""
    # iwspy parameters : + 01:23:45:67:89:AB
    IWSPY=""
    # iwpriv parameters : set_port 2, set_histo 50 60
    IWPRIV=""
    ;;
 esac

See also: http://inferno.slug.org/LDP-HOWTOS/Wireless-HOWTO.html
Instructions provided by Jean Tourillhes, the maintainer of the PCMCIA-CS package:

Pcmcia Wireless configuration
One of the most exciting thing having happen after release 20 is the addition of Wireless Extension support in the Pcmcia init scripts. Here is a quick intro on the subject...

 ----------- wireless.opts ---------------------
 case "$ADDRESS" in
 *,*,*,*)
     ESSID="MY_ESSID"
     MODE="Managed"
     ;;
 esac
 -----------------------------------------------
 

 # Each Wireless LAN will have the following configuration :
 --------- wireless.opts --------------------
 # Lucent Wavelan IEEE - Ad-Hoc mode for test card
 *,*,*,00:60:1D:03:9F:2D)
     ESSID="TEST"
     MODE="Ad-Hoc"
     FREQ="10"
     RATE="1M"
     ;;
 
 # Lucent Wavelan IEEE - Ad-Hoc mode at home
 home,*,*,00:60:1D:*|home,*,*,00:02:2D:*)
     ESSID="MY_HOME"
     MODE="Ad-Hoc"
     FREQ="5"
     ;;
 
 # Lucent Wavelan IEEE - infrastructured mode at work
 *,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
     ESSID="MY_WORK"
     MODE="Managed"
     KEY="s:verysecurekey"
     ;;
 --------------------------------------------
 
 # Don't forget the IP configuration :
 --------- network.opts ---------------------
 # Wavelan IEEE : ad-hoc mode for test card
 *,*,*,00:60:1D:03:9F:2D)
     DHCP="n"
     IPADDR="10.0.0.1"
     NETMASK="255.255.255.0"
     NETWORK="10.0.0.0"
     BROADCAST="10.0.0.255"
     ;;
 
 # Wavelan IEEE : ad-hoc mode at home
 home,*,*,00:60:1D:*|home,*,*,00:02:2D:*)
     DHCP="n"
     IPADDR="10.0.1.19"
     NETMASK="255.255.255.0"
     NETWORK="10.0.1.0"
     BROADCAST="10.0.1.255"
     GATEWAY="15.0.1.1"
     ;;
 
 # Wavelan IEEE : infrastructured mode at work
 *,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
     DHCP="y"
     ;;
 --------------------------------------------

 > cardctl scheme default
    And at home, you do :
 > cardctl scheme home
 

I guess you get the idea ;-)

Jean <jt@hpl.hp.com>

Silverlake Linux Users Group Wiki | Recent Changes | Preferences
Password required to edit | View other revisions
Last edited November 17, 2003 7:58 pm by gateway (diff)
Search: