Outils pour utilisateurs

Outils du site


informatique:linux:hostapd

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
informatique:linux:hostapd [2020/06/01 14:04]
benoit
informatique:linux:hostapd [2020/06/01 15:26] (Version actuelle)
benoit
Ligne 1: Ligne 1:
-  apt-get install bridge-utils+  apt-get install bridge-utils ​hostapd
   ​   ​
 Editer : Editer :
Ligne 14: Ligne 14:
   bridge_ports eth0 wlan0   bridge_ports eth0 wlan0
  
- +Editer : 
 +  vim /​etc/​default/​hostapd 
 + 
 +Modifier la variable : 
 +  DAEMON_OPTS="/​etc/​hostapd/​hostapd.conf"​ 
 + 
 +Créer et Editer: 
 +  vim /​etc/​hostapd/​hostapd.conf 
 + 
 +Insérer le contenu suivant en ajustant les paramètres selon les besoins : 
 + 
 +  interface=wlan0 
 +  driver=nl80211 
 +   
 +  # YOUR BRIDGE NAME 
 +  bridge=br0 
 +   
 +  # YOUR COUNTRY HERE 
 +  country_code=FR 
 +  ieee80211d=1 
 +   
 +  # MODIFY YOUR SSID HERE 
 +  ssid=My-own-AP 
 +   
 +  # CHANGE MODE HERE IF NEEDED 
 +  hw_mode=g 
 +   
 +  # CHANGE CHANNEL EVENTUALLY 
 +  channel=6 
 +   
 +  wme_enabled=0 
 +  macaddr_acl=0 
 +  auth_algs=1 
 +   
 +  # WE USE WPA2 
 +  wpa=2 
 +   
 +  # MODIFY YOUR PASSPHRASE HERE 
 +  wpa_passphrase=monmdp 
 +   
 +  wpa_key_mgmt=WPA-PSK 
 +  wpa_pairwise=TKIP 
 +  rsn_pairwise=CCMP 
 + 
 +Test: 
 +  hostapd /​etc/​hostapd/​hostapd.conf
informatique/linux/hostapd.1591013080.txt.gz · Dernière modification: 2020/06/01 14:04 par benoit