Ceci est une ancienne révision du document !
Configuration de hostAP
Fichier /etc/hostapd/hostapd.conf :
interface=wlan1 driver=nl80211 ssid=pine64 hw_mode=g channel=1 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_key_mgmt=WPA-PSK wpa_passphrase=raspiratebox rsn_pairwise=CCMP
SSID à raspiratebox
Modifier
Configuration de dnsmasq
Fichier /etc/dnsmasq.conf :
interface=wlan1 # Use interface wlan0 bind-interfaces # Bind to the interface to make sure we aren't sending things elsewhere server=8.8.8.8 # Forward DNS requests to Google DNS domain-needed # Don't forward short names bogus-priv # Never forward addresses in the non-routed address spaces. dhcp-range=192.168.64.50,192.168.64.150,2h
Qui écoutera sur wlan1 et utilisera la plage 192.168.64.50-150 avec des baux de 2h.