Advertisement
Guest User

Untitled

a guest
Jul 16th, 2015
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #/etc/network/interfaces
  2.  
  3. ##Auto loop
  4. auto lo
  5. iface lo inet loopback
  6. allow-hotplug wlan0
  7. iface wlan0 inet manual
  8. wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
  9.  
  10.  
  11. ##WiFi Static IP
  12. auto wlan0
  13.  
  14. iface wlan0 inet static
  15. address 192.168.1.40
  16. gateway 192.168.1.1
  17. netmask 255.255.255.0
  18. network 192.168.1.1
  19. broadcast 192.168.255
  20.  
  21.  
  22. ##Ethernet Static IP
  23. auto eth0
  24.  
  25. iface eth0 inet static
  26. address 192.168.1.40
  27. gateway 192.168.1.1
  28. dns-nameservers 8.8.8.8 8.8.4.4
  29. netmask 255.255.255.0
  30. network 192.168.1.1
  31. broadcast 192.168.1.255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement