Skip to content

Instantly share code, notes, and snippets.

@gugat
Created January 21, 2015 17:12
Show Gist options
  • Select an option

  • Save gugat/2a44c4c2cc348a10b26a to your computer and use it in GitHub Desktop.

Select an option

Save gugat/2a44c4c2cc348a10b26a to your computer and use it in GitHub Desktop.
Ubuntu conf files
#
#
#/etc/network/interfaces
#
#
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.104
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameserver 192.168.0.1
# sudo /etc/init.d/networking restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment