#rc.inet1.conf IFNAME[4]="wlan0" IPADDR[4]="192.168.1.147" NETMASK[4]="255.255.255.0" USE_DHCP[4]="" DHCP_KEEPGW[4]="" DHCP_IPADDR[4]="" WLAN_MODE[4]=Managed WLAN_WPA[4]="wpa_supplicant" WLAN_WPADRIVER[4]="wext" #### #### #rc.wireless.conf VERBOSE=1 case "$HWADDR" in ## NOTE : Comment out the following five lines to activate the samples below ... ## --------- START SECTION TO REMOVE ----------- ## Pick up any Access Point, should work on most 802.11 cards #*) # INFO="Any ESSID" # ESSID="any" # ;; ## ---------- END SECTION TO REMOVE ------------ ### ... skipping all the crap to get to the last block: ### # Generic example (decribe all possible settings) *) # 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 ####### ####### wpa_supplicant.conf # WPA protected network, supply your own ESSID and WPAPSK here: network={ scan_ssid=0 ssid="SSID1" proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP WEP104 WEP40 psk="..." } network={ scan_ssid=1 ssid="SSID2" proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP WEP104 WEP40 psk="..." }