# This is an interfaces(5) example for implementing an Access Point with
# WPA-PSK encryption, working in 2.4 GHz.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual
	# IP configuration is done for the bridge interface instead,
	# no other configuration needed here for this device

# The access point VAP
auto ath0
iface ath0 inet manual
	ath_parent wifi0
	ath_vaptype ap
	ath_wirelessmode 11bg
	ath_channel 10
	ath_ssid TuxAP
	ath_hidessid no
	ath_txpower 15
	ath_security wpa
	ath_wpa_passphrase madwifirocks

# The bridge interface that connects wired and wireless LAN
auto br0
iface br0 inet static
	bridge_ports eth0 ath0
	address 192.168.2.42
	netmask 255.255.255.0
	network 192.168.2.0
	broadcast 192.168.2.255
	gateway 192.168.2.253
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 192.168.2.253
	dns-search intern
	