Advertisement
DeaD_EyE

/etc/network/interfaces

Jun 2nd, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #A start job is running LSB: Raise network interfaces
  2.  
  3. auto lo
  4. iface lo inet loopback
  5.  
  6. auto eth0
  7. iface eth0 inet static
  8. address 192.168.10.1
  9.  
  10. auto wlan0
  11. allow-hotplug wlan0
  12. iface wlan0 inet static
  13. address 192.168.0.254
  14. up /etc/init.d/hostapd start
  15. up /etc/init.d/dnsmasq start
  16. up /sbin/ifconfig wlan0 192.168.0.254
  17. down /etc/init.d/hostapd stop
  18. down /etc/init.d/dnsmasq stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement