/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.5.61
netmask 255.255.255.0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.33.1
netmask 255.255.255.0
pre-down /etc/init.d/hostapd stop
pre-down /etc/init.d/udhcpd stop
post-up /etc/init.d/udhcpd start
post-up /etc/init.d/hostapd start
/etc/hostapd/kulturtankstelle.conf
# hardware
interface=wlan0
driver=nl80211
hw_mode=g
# network
ssid=Kulturtankstelle
country_code=EU
channel=1
/etc/udhcpd.conf
start 192.168.33.20
end 192.168.33.254
interface wlan0
remaining yes
option dns 192.168.33.1
option subnet 255.255.255.0
option domain piraten-lsa.de
option lease 864000
/etc/bind/named.conf.options
options {
directory "/var/cache/bind";
listen-on { 192.168.33.1; };
statistics-file "/var/cache/bind/named.stats";
};
/etc/bind/named.conf.default-zones
zone "." {
type master;
file "/etc/bind/db.root";
allow-update{ none; };
};
/etc/bind/db.root
$TTL 86400
@ IN SOA @ bind(
1
3H
15M
1W
1D
)
. IN NS localhost
*. IN A 192.168.33.1
*. IN MX 10 localhost