Guest User

Untitled

a guest
May 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # Ubuntu fixed IP
  2.  
  3. /etc/network/interfaces :
  4.  
  5. auto eth0
  6. iface eth0 inet static
  7. address 192.168.0.142
  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.  
  13. /etc/resolv.conf :
  14.  
  15. nameserver 8.8.8.8 # google DNS
  16. nameserver 8.8.4.4 # google DNS
  17.  
  18. $ sudo /etc/init.d/networking restart
Add Comment
Please, Sign In to add comment