Editar o arquivo interfaces com o editor vi em uma janela terminal usando o usuário root:
$ su root
Senha:
# vi /etc/network/interfaces
#Interface Eth0
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameserver 192.168.1.1
$ su root
Senha:
# vi /etc/network/interfaces
#Interface Eth0
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameserver 192.168.1.1
Linux é o céu.
ResponderExcluir