Creato da pastuweb.com
Share My Page
My Social Accounts
Account FaceBook Account LinkedIn Account Twitter Account Google Plus Account Git Hub

$ sudo nano /etc/network/interfaces

After that, you should edit the last part:

# The primary network interface
auto eth0
#iface eth0 inet dhcp
 iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
dns-nameservers 212.216.112.112 151.99.125.2

And finally, update interface settings:

$ sudo /etc/init.d/networking restart

 

Average (1 Vote)
The average rating is 5.0 stars out of 5.