Guest User

Untitled

a guest
Jan 21st, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. auto eth0
  2. iface eth0 inet static
  3. address 192.168.0.8
  4. netmask 255.255.255.0
  5. gateway 192.168.0.1
  6.  
  7. ifconfig eth0 up
  8. /etc/init.d/networking restart
  9.  
  10. apt-get update && apt-get upgrade
  11.  
  12. allow-hotplug eth0
  13.  
  14. sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
  15.  
  16. DEVICE="eth0"
  17. BOOTPROTO="static"
  18. BROADCAST="192.168.254.255"
  19. DNS1="192.168.254.25"
  20. GATEWAY="192.168.254.254"
  21. HWADDR="F2:24:08:AE:93:10"
  22. IPADDR="192.168.254.236"
  23. NETMASK="255.255.255.0"
  24. ONBOOT="yes"
  25. TYPE="Ethernet"
  26.  
  27. sudo service network restart
  28.  
  29. sudo update-rc.d network defaults
Add Comment
Please, Sign In to add comment