Commit a9dc8833 authored by markus's avatar markus

Add ip address at correct time

parent 143cdf68
......@@ -2,7 +2,6 @@
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
ip addr add 10.0.0.1/24 dev wlan0
echo '1' > /proc/sys/net/ipv4/ip_forward
nmcli r wifi off
......@@ -17,5 +16,7 @@ mkdir -p /etc/hostapd
cp hostapd.conf /etc/hostapd/
cp dnsmasq.conf /etc/
ip addr add 10.0.0.1/24 dev wlan0
systemctl start hostapd
systemctl start dnsmasq
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment