
olhadopanda
(usa Outra)
Enviado em 08/11/2018 - 17:18h
Boa tarde instalei o Ubuntu Server, apenas modo texto. E por isso preciso toda vez que inicia digitar. ALGUEM PARA ME AJUDAR ???
sudo ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
ifconfig - a
eth0 Link encap:Ethernet Endereço de HW a4:bf:01:0d:66:b6
inet end.: 192.168.0.2 Bcast:192.168.0.255 Masc:255.255.255.0
endereço inet6: fe80::a6bf:1ff:fe0d:66b6/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:2013 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:742 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:156959 (156.9 KB) TX bytes:63637 (63.6 KB)
Memória:b1200000-b127ffff
eth1 Link encap:Ethernet Endereço de HW a4:bf:01:0d:66:b7
BROADCAST MULTICAST MTU:1500 Métrica:1
pacotes RX:0 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:0 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memória:b1100000-b117ffff
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACK RUNNING MTU:65536 Métrica:1
pacotes RX:3892 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:3892 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1
RX bytes:288000 (288.0 KB) TX bytes:288000 (288.0 KB)
nano /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.2.101
ifconfig eth0:0 inet estatic
address 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.101