Reply To: Accesspoint issues

Max2Play Home 2016 (en) Forums Max2Play Add-ons Accesspoint issues Reply To: Accesspoint issues

14. Januar 2016 at 23:31 #17873

As good as the last I hope 🙂

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

#auto eth0 # managed by ifplugd
iface eth0 inet dhcp
#hwaddress ether 1a:64:b6:bf:36:37

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -B w -D wext -i wlan0 -c /opt/max2play/wpa_supplicant.conf
post-down killall -q wpa_supplicant

#Accesspoint start
iface wlan0 inet static
up iptables-restore < /etc/hostapd/iptables.ap
#Accesspoint end