Advertisement
Guest User

Untitled

a guest
Nov 13th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.71 KB | None | 0 0
  1. # Please note that this file is written to be used with dhcpcd.
  2. # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'.
  3.  
  4. auto lo
  5. iface lo inet loopback
  6.  
  7. auto eth0
  8. allow-hotplug eth0
  9. iface eth0 inet manual
  10.  
  11. #auto wlan0
  12. #allow-hotplug wlan0
  13. #iface wlan0 inet manual
  14. #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  15.  
  16. ###### Access Point ########
  17. allow-hotplug wlan0
  18. iface wlan0 inet static
  19.     address 192.168.42.1
  20.     netmask 255.255.255.0
  21. #post-up /etc/init.d/isc-dhcp-server restart
  22. #post-up /etc/init.d/hostapd restart
  23.     post-up /etc/init.d/access-point restart
  24. ############################
  25.  
  26. #auto wlan1
  27. #allow-hotplug wlan1
  28. #iface wlan1 inet manual
  29. #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement