Bom para esse tutorial uso o editor de texto VI , voce pode usar qualquer um da sua preferencia.
sudo bash
cp /etc/network/interfaces /etc/network/interfaces.old
vi /etc/network/interfaces
Troque o texto abaixo....
auto eth0
iface eth0 inet dhcp
.... pelo texto
auto eth0
iface eth0 inet static
address 192.168.1.52 < fica ao seu criterio
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
sudo bash
cp /etc/network/interfaces /etc/network/interfaces.old
vi /etc/network/interfaces
Troque o texto abaixo....
auto eth0
iface eth0 inet dhcp
.... pelo texto
auto eth0
iface eth0 inet static
address 192.168.1.52 < fica ao seu criterio
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Comment