Advertisement
DeaD_EyE

/etc/network/interfaces.ap-mode

Feb 23rd, 2016
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. allow-hotplug eth0
  6. iface eth0 inet manual
  7.  
  8. auto wlan0
  9. allow-hotplug wlan0
  10. iface wlan0 inet static
  11. address 192.168.0.254
  12. up /etc/init.d/hostapd start
  13. up /etc/init.d/dnsmasq start
  14. up /sbin/ifconfig wlan0 192.168.0.254 # workaround for race condition
  15. down /etc/init.d/hostapd stop
  16. down /etc/init.d/dnsmasq stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement