======Configurer une Pi en Point d'Accès WIFI====== Pour cela, il va falloir installer **hostapd** # apt install hostapd On va désactiver les services bloquants : # systemctl disable --now dhcpcd wpa_supplicant puis on va mettre une IP a l'interface **wlan0** en ajoutant dans le fichier **/etc/network/interfaces**: auto wlan0 iface wlan0 inet static address 192.168.7.1/24 On monte ensuite l'interface # ifup wlan0 On va ensuite configurer **hostapd** avec la configuration suivante : interface=wlan0 driver=nl80211 hw_mode=g # g pour 2.4Ghz, a pour 5Ghz, ag pour dual band channel=0 wmm_enabled=0 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=1 wpa=2 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP ssid=MON-SSID wpa_passphrase=MA-PASSPHRASE puis on va activer et démarrer **hostapd** # systemctl enable --now hostapd Maintenant, il vous reste a configurer tout ce qui gravite autour, par exemple un [[kb:linux:generalites:serveur_dhcp_avec_isc-dhcp-server|serveur DHCP]], du [[kb:cheatsheet:iptables|NAT]], ou autre...