You are on page 1of 1

%%%hostapd

interface=wlan0
driver=nl80211
ssid=AP-Radius
hw_mode=g
ieee80211n=1
channel=4
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=passwordap
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

%%%dnsmasq
interface=wlan0
listen-address=192.168.2.1
bind-interfaces
server=10.9.9.9
domain-needed
bogus-priv
dhcp-range=192.168.2.1,192.168.2.14,255.255.255.240,24h

%%%dhcpcd
denyinterfaces wlan0
interface eth0
static ip_address=10.9.9.3/26
static routers=10.9.9.1
static domain_name_servers=10.9.9.9

interface wlan0
static ip_address=192.168.2.1/28
static routers=192.168.2.1
static domain_name_servers=10.9.9.9

%%%interface
auto lo iface lo inet loopback
auto eth0
face eth0 inet dhcp

allow-hotplug eth0
iface eth0 inet static
address 10.9.9.3
netmask 255.255.255.192
gateway 10.9.9.1
dns-nameservers 10.9.9.9

auto lo iface lo inet loopback


allow-hotplug wlan0
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.240
network 192.168.2.0
broadcast 192.168.2.15
#dns-nameservers 10.9.9.9

You might also like