QUESTO È INET.CONF
...cut...
# Default gateway IP address:
#GATEWAY="192.168.1.1"
quì togli il cancelletto e metti l'indirizzo ip del router
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
## EXAMPLE CONFIG INFORMATION FOR WLAN0. UNCOMMENT THE LINES YOU NEED AND FILL
## IN YOUR DATA. (YOU MAY NOT NEED ALL OF THESE FOR YOUR WIRELESS NETWORK)
#IFNAME[4]="WLAN0"
quì metti il nome della tua interfaccia
#IPADDR[4]=""
#NETMASK[4]="255.255.255.0"
#USE_DHCP[4]="YES"
quì togli il cancelletto e basta
#DHCP_HOSTNAME[4]="ICCULUS-WIRELESS"
#DHCP_KEEPRESOLV[4]="YES"
#DHCP_KEEPNTP[4]="YES"
#DHCP_KEEPGW[4]="YES"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=DLINK_WIRELESS
#WLAN_MODE[4]=MANAGED
#WLAN_RATE[4]="54M AUTO"
#WLAN_CHANNEL[4]="6"
#WLAN_KEY[4]="SARAGONE"
#WLAN_IWPRIV[4]="SET AUTHMODE=WPAPSK | SET ENCRYPTYPE=TKIP | SET WPAPSK=96389DC66EAF7E6EFD5B5523AE43C7925FF4DF2F8B7099495192D44A774FDA16"
#WLAN_WPA[4]="WPA_SUPPLICANT"
#WLAN_WPADRIVER[4]="WEXT"
#WLAN_WPAWAIT[4]=30
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name instead of
# the default 'eth4'
#IFNAME[4]="eth0:1" # Set up an IP alias.
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_TIMEOUT[4]=15 # The default timeout for the DHCP client to
# wait for server resonse is 30 seconds, but
# you might want a shorter wait.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.
# Useful with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).
#WLAN_WPA[4]="wpa_supplicant" # Run wpa_supplicant for WPA support
#WLAN_WPADRIVER[4]="ndiswrapper"# Tell wpa_supplicant to specifically use the
# ndiswrapper driver (if you leave this empty
# the 'wext' driver is used by default)
#WLAN_WPAWAIT[4]=30 # In case it takes long for the WPA association
# to finish, you can increase the wait time
# (defaults to 10 seconds)
QUESTO INVECE È RC.WIRELESS.CONF
# Wireless LAN adapter configuration
#
# Theory of operation :
#
# The script attempts to match a block of settings to the specific wireless
# card inserted, the *first* block matching the card is used.
# The address format is "hwaddr", with * as a wildcard.
# 'hwaddr' is the unique MAC address identifier of the wireless card.
# The MAC address is usually printed on the card, or can be found via ifconfig.
# Some examples here use only half of the MAC address with a wildcard to
# match a whole family of cards...
#
# All the Wireless specific configuration is done through the Wireless
# Extensions, so we will just call 'iwconfig' with the right parameters
# defined below.
# Of course, you need to have iwconfig installled on your system.
# To download iwconfig, or for more info on Wireless Extensions :
#
http://www.hpl.hp.com/personal/Jean_...nux/Tools.html
#
# Note : you don't need to fill all parameters, leave them blank, in most
# cases the driver will initialise itself with sane defaults values or
# automatically figure out the value... And no drivers do support all
# possible settings...
#
# -- This is a modified '/etc/pcmcia/wireless.opts' script --
# -- I added sections for Prism/GT and Atheros based cards --
# -- (supported by the prism54 and madwifi drivers) --
# -- 16/sep/2004 * Eric Hameleers --
#
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"
quì metti l'essid della tua rete
;;
## ---------- END SECTION TO REMOVE ------------
----cut---
Te li ho messi completi senza omettere niente.
wpa supplicant non so cosa sia nè l'ho mai installato.