OPEN / WEP WLAN (DHCP):
iwconfig [interface] mode managed key [WEP key]
(128 bit WEP use 26 hex characters, 64 bit WEP uses 10)
iwconfig essid "[ESSID]"
(Specify ESSID for the WLAN)
dhclient [interface]
(to receive an IP address, netmask, DNS server and default gateway from the Access Point)
ping www.google.it
(if you receive a reply you have access)
OPEN / WEP WLAN (Manual IP Setup):
iwconfig [interface] mode managed key [WEP key]
(128 bit WEP use 26 hex characters, 64 bit WEP uses 10)
iwconfig essid "[ESSID]"
ifconfig [interface] [IP address] netmask [subnetmask]
route add default gw [IP of default gateway]
(Configure your default gateway; usually the IP of the Access Point)
echo nameserver [IP address of DNS server] >> /etc/resolve.conf
(Configure your DNS server)
ping www.google.it
(if you receive a reply you have access)
Configurazione "statica":
aggiungere nel file /etc/network/interfaces:
iface wlan0 inet auto
wireless_essid casa
wireless_mode ad-hoc
wireless_nick username
wireless_rate 54M
Se invece vuole ad es impostare un ip fisso, magari 10.0.0.1:
iface wlan0 inet static
wireless_essid casa
wireless_mode ad-hoc
wireless_nick username
wireless_rate 54M
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.255.255.255
in seguito basta dare il comando "/sbin/ifup wlan0" Per caricare l'intero profilo della scheda, così come configurato.