- Configurar Internet
+ Responder ao Tópico
-
Configurar Internet
Olá pessoal,
Sou novo por aqui !
Amigos, fiz a instalação do ubuntu server LTS 12.04.
E preciso configurar o acesso de internet para instalar uma interface, pois está rodando em prompt!
Alguém pode me ajudar como faço para configurar o acesso a internet ?
Abraços,
João
-
Re: Configurar Internet
Amigo... está rodando em prompt?? Qual a topologia da sua rede?
Abs.;
-
Re: Configurar Internet
-
Re: Configurar Internet
Carísimo, abra o arquivo interfaces com o nano usando o comando
nano /etc/network/interfaces
E coloque as configurações de rede necessárias(altere-as conforme sua necessidade):
# this file describes the network interfaces available on your system
# and how to activate them. For more information, se ainterfaces(5)
# The loopback network interface
auto lo
ifcae lo inet loopback
# the primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.13
netmask 255.255.255.0
network 192.168.1.0
boradcast 192.168.1.255
gateway 192.168.1.99
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.40 192.168.1.41
dns-search nome_do_seu_dominio_se_tiver
Depois, salve o arquivo usando as teclas
Crtl + o
E então, reinicie suas interfaces de rede com o comando
/etc/init.d/networking restart
Dai é só testar a configuração e ver se funfa.