Debian/Wifi

De openmoko-fr.

Wi-Fi ouverts

source : http://wiki.openmoko.org/wiki/Wifi

Un paquet

# apt-get install dhcp3-client

(wireless-tools wpasupplicant sont déjà dans la distribution)

Il faut

  • SSID
  • channel
  • requête DHCP

Les 2 premiers peuvent être obtenu en connaissant son wifi ou avec un

# iwlist eth0 scan

puis

# iwconfig eth0 essid <mon ssid>
# iwconfig eth0 channel <n° channel>
# dhclient eth0

Si tout fonctionne, le tout en une ligne :

# iwconfig eth0 essid <mon ssid> channel <n° channel> && dhclient eth0

Wi-Fi WEP

Voir au-dessus mais rajouter

# iwconfig eth0 key <ma clef wep> essid <mon ssid>

Important, le essid doit suivre la clé, et la clé doit être en hexadecimal

# dhclient eth0
Outils personnels