Guest User

/etc/network/interfaces

a guest
Jul 31st, 2015
981
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. allow-hotplug eth0
  6. iface eth0 inet static
  7. address 192.168.0.2
  8. netmask 255.255.255.0
  9. network 192.168.0.0
  10. broadcast 192.168.0.255
  11. gateway 192.168.0.1
  12. dns-servernames 192.168.0.1
  13.  
  14.  
  15. auto wlan0
  16. allow-hotplug wlan0
  17. iface wlan0 inet static
  18. address 192.168.1.1
  19. netmask 255.255.255.0
  20.  
  21. # iface wlan0 inet manual
  22. # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  23.  
  24. auto wlan1
  25. allow-hotplug wlan1
  26. # iface wlan1 inet manual
  27. # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  28.  
  29. #source /boot/octopi-network.txt
RAW Paste Data