Reply To: Accesspoint issues

Max2Play Home 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
address 192.168.189.1
#network 192.168.189.0
netmask 255.255.255.0
#gateway 192.168.189.1
up iptables-restore < /etc/hostapd/iptables.ap
#Accesspoint end