Configurer ubuntu en hotspot
Aller à la navigation
Aller à la recherche
| Fiche express | |
|---|---|
| Domaine | Point d'acces Wi-Fi (hotspot) |
| Outils | iwconfig, ifconfig
|
| Contexte | Transformer un poste Ubuntu en borne Wi-Fi |
Procedure pour creer une borne Wi-Fi (hotspot) a partir d'un poste Ubuntu, en mode ad-hoc.
Mise en place
Passer le peripherique en mode ad-hoc :
sudo iwconfig eth1 mode ad-hoc
Choisir le canal :
sudo iwconfig eth1 channel 4
Definir le SSID du hotspot :
sudo iwconfig eth1 essid nom_du_ap
Positionner une cle WEP :
sudo iwconfig eth1 key abcde12345
Attribuer une adresse IP a l'interface :
sudo ifconfig eth1 169.254.xxx.xxx