Created
July 1, 2010 15:16
-
-
Save aurels/460090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu fixed IP | |
/etc/network/interfaces : | |
auto eth0 | |
iface eth0 inet static | |
address 192.168.0.142 | |
netmask 255.255.255.0 | |
network 192.168.0.0 | |
broadcast 192.168.0.255 | |
gateway 192.168.0.1 | |
/etc/resolv.conf : | |
nameserver 8.8.8.8 # google DNS | |
nameserver 8.8.4.4 # google DNS | |
$ sudo /etc/init.d/networking restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment