[CentOS-pt-br] Up link automŠtico

Thiago T. Faioli thiago.faioli em gmail.com
Quinta Julho 31 22:33:12 UTC 2014


Outra coisa camarada... seu servidor dhcp pode também influenciar nisso!!
Devido ao tempo que é configurado para fixar o ip no client....
Se o tempo é pequeno.....

E network manager somente faz ifup... ele n√£o faz dhclient...
Em 30/07/2014 07:40, "F√°bio de Sousa" <fabiocs em gmail.com> escreveu:

> Obrigado pelas sugest√Ķes!
>
> Grato,
> F√°bio
>
>
>
>   ~   *| F√°bio de
> Sousa
> *
> .¬ļv¬ļ. *| T√©c. Inf.*
> /(_)\ | *Seja livre, use LINUX*
> .^.^. | *Socialmente justo, economicamente vi√°vel e tecnologicamente
> sustent√°vel*
>
>
>
>
>
>
>
> Em 30 de julho de 2014 00:26, Thiago T. Faioli <thiago.faioli em gmail.com>
> escreveu:
>
>> Outra coisa também Fábio,
>>
>>
>> Ja ia me esquecendo...
>>
>> tem o nosso amigo:  sysctl
>>
>> Normalmente implementa√ß√Ķes arbrit√°rias no kernel por desenvolvedores,
>> implementa funcionalidade que pode ser desagrad√°vel para o administrador
>> ... como quem sabe, TALVEZ, esse "problema" que est√° enfrentando....
>>
>> # sysctl -a
>>
>> pode filtrar por tcp...  (grep tcp
>>
>>
>> E ainda temo o DOCAO..rs   " /usr/share/doc/kernel-doc-*/Documentation/sysctl/"
>>  e "/usr/share/doc/kernel-doc-*/Documentation/networking/ip-sysctl.txt"
>>
>>
>> Mas uma vez... Boa sorte! ;-)
>>
>> *-*
>> *Thiago Torres Faioli*
>>
>>
>>
>> Em 29 de julho de 2014 23:39, Thiago T. Faioli <thiago.faioli em gmail.com>
>> escreveu:
>>
>> F√°bio,
>>>
>>>
>>> Da uma olhada no documento do sysconfig... Se existir algum par√Ęmetro
>>> para iserir no arquivo da interface (ifcfg-xxxx) ele vai estar descrito
>>> nesse documento provavelmente:
>>>
>>> "/usr/share/doc/initscripts-*/sysconfig.txt"
>>>
>>>
>>> Boa sorte! : -)(
>>>
>>> *-*
>>> *Thiago Torres Faioli*
>>>
>>>
>>> Em 29 de julho de 2014 17:01, F√°bio de Sousa <fabiocs em gmail.com>
>>> escreveu:
>>>
>>> Bom... em todas as distros derivadas do  debian funciona sem problemas...
>>>>  Instalando o NM o serviço de rede fica meio engessado!
>>>> Por isso minha insistência em saber como se faz..
>>>>
>>>> Grato,
>>>> F√°bio
>>>>
>>>>
>>>>
>>>>   ~   *| F√°bio de
>>>> Sousa
>>>> *
>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>> /(_)\ | *Seja livre, use LINUX*
>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e tecnologicamente
>>>> sustent√°vel*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Em 29 de julho de 2014 16:34, Gilberto Nunes <
>>>> gilberto.nunes32 em gmail.com> escreveu:
>>>>
>>>> Entendo...
>>>>> Mas acho difícil funcionar sem o NM, uma vez que é ele quem monitora
>>>>> as conex√Ķes de rede...
>>>>>
>>>>>
>>>>>
>>>>> Em 29 de julho de 2014 16:28, F√°bio de Sousa <fabiocs em gmail.com>
>>>>> escreveu:
>>>>>
>>>>> Sim...
>>>>>> Mas a minha d√ļvida √© justamente esta... fazer funcionar sem o NM!
>>>>>>
>>>>>> Abraço,
>>>>>> F√°bio
>>>>>>
>>>>>>
>>>>>>
>>>>>>   ~   *| F√°bio de
>>>>>> Sousa
>>>>>> *
>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e tecnologicamente
>>>>>> sustent√°vel*
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Em 29 de julho de 2014 16:26, Gilberto Nunes <
>>>>>> gilberto.nunes32 em gmail.com> escreveu:
>>>>>>
>>>>>> J√° instalou o NetworkManager??
>>>>>>>
>>>>>>> yum install NetworkManager
>>>>>>>
>>>>>>>
>>>>>>> Em 29 de julho de 2014 16:17, F√°bio de Sousa <fabiocs em gmail.com>
>>>>>>> escreveu:
>>>>>>>
>>>>>>>> Obrigado, Jo√£o..
>>>>>>>>
>>>>>>>> Aguardo ansioso... j√° pesquisei tanto esta parada...
>>>>>>>>
>>>>>>>> Abraço,
>>>>>>>> F√°bio
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>   ~   *| F√°bio de
>>>>>>>> Sousa
>>>>>>>> *
>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Em 29 de julho de 2014 15:39, Jo√£o Paulo Ferreira <
>>>>>>>> jferreira.ba em gmail.com> escreveu:
>>>>>>>>
>>>>>>>>>  F√°bio,
>>>>>>>>>
>>>>>>>>> Na parte gráfica o responsável por fazer isto é o NetworkManage,
>>>>>>>>> ja no modo texto eu vou pesquisar e lhe respondo.
>>>>>>>>>
>>>>>>>>> Atenciosamente,
>>>>>>>>>
>>>>>>>>> *Jo√£o Paulo Ferreira*
>>>>>>>>> *B.S. Computer Science* - UNIVERSIDADE SALVADOR
>>>>>>>>> Cel.: +55 (71) 9297-1260 TIM
>>>>>>>>> Cel.: +55 (71) 8837-7080 OI
>>>>>>>>> Skype.: joaopaulo.cf
>>>>>>>>> G-Talk/Mail: jferreira.ba em gmail.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Em 24 de julho de 2014 07:46, F√°bio de Sousa <fabiocs em gmail.com>
>>>>>>>>> escreveu:
>>>>>>>>>
>>>>>>>>>> Bom dia Jo√£o..
>>>>>>>>>>
>>>>>>>>>> A versão do CentOS é a 6.5
>>>>>>>>>> Esta configuração que me passou é padrão, foi a primeira tentada
>>>>>>>>>> e ela só funciona se o cabo de rede estiver conectado no momento do boot!
>>>>>>>>>> Eu preciso é que, uma vez o cabo  de rede conectado, em qualquer
>>>>>>>>>> momento, o serviço de rede solicite o IP via Dhcp.
>>>>>>>>>> Como citando antes, instalando o NetworkManager, funciona bem,
>>>>>>>>>> mas minha intenção era descobrir como se faz isso sem o NM instalado!
>>>>>>>>>>
>>>>>>>>>> Abraço,
>>>>>>>>>> F√°bio
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>   ~   *| F√°bio de
>>>>>>>>>> Sousa
>>>>>>>>>> *
>>>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Em 23 de julho de 2014 20:37, Jo√£o Paulo Ferreira <
>>>>>>>>>> jferreira.ba em gmail.com> escreveu:
>>>>>>>>>>
>>>>>>>>>>>  # vi /etc/sysconfig/network-scripts/ifcfg-eth0
>>>>>>>>>>>
>>>>>>>>>>> DEVICE=eth0
>>>>>>>>>>> TYPE=Ethernet
>>>>>>>>>>> ONBOOT=yes
>>>>>>>>>>> NM_CONTROLLED=no
>>>>>>>>>>> BOOTPROTO=dhcp
>>>>>>>>>>> NAME=eth0
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Solicitando o DHCP Client.
>>>>>>>>>>>
>>>>>>>>>>> 1) Conecte o cabo de rede
>>>>>>>>>>>
>>>>>>>>>>> 2) # dhclient <interface>
>>>>>>>>>>>
>>>>>>>>>>> Atenciosamente,
>>>>>>>>>>>
>>>>>>>>>>> *Jo√£o Paulo Ferreira*
>>>>>>>>>>> *B.S. Computer Science* - UNIVERSIDADE SALVADOR
>>>>>>>>>>> Cel.: +55 (71) 9297-1260 TIM
>>>>>>>>>>> Cel.: +55 (71) 8837-7080 OI
>>>>>>>>>>> Skype.: joaopaulo.cf
>>>>>>>>>>> G-Talk/Mail: jferreira.ba em gmail.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Em 23 de julho de 2014 20:34, Jo√£o Paulo Ferreira <
>>>>>>>>>>> jferreira.ba em gmail.com> escreveu:
>>>>>>>>>>>
>>>>>>>>>>> F√°bio,
>>>>>>>>>>>>
>>>>>>>>>>>> Qual a vers√£o do seu CentOS ?
>>>>>>>>>>>>
>>>>>>>>>>>> Atenciosamente,
>>>>>>>>>>>>
>>>>>>>>>>>> *Jo√£o Paulo Ferreira*
>>>>>>>>>>>> *B.S. Computer Science* - UNIVERSIDADE SALVADOR
>>>>>>>>>>>> Cel.: +55 (71) 9297-1260 TIM
>>>>>>>>>>>> Cel.: +55 (71) 8837-7080 OI
>>>>>>>>>>>> Skype.: joaopaulo.cf
>>>>>>>>>>>> G-Talk/Mail: jferreira.ba em gmail.com
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Em 14 de maio de 2014 10:05, F√°bio de Sousa <fabiocs em gmail.com>
>>>>>>>>>>>> escreveu:
>>>>>>>>>>>>
>>>>>>>>>>>>>  Um salve a todos,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Respondendo as solicitação do João Paulo, segue:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Saidas dos comandos:
>>>>>>>>>>>>>
>>>>>>>>>>>>> #runlevel
>>>>>>>>>>>>> 3
>>>>>>>>>>>>>
>>>>>>>>>>>>> # chkconfig --list | egrep 'dhclient'
>>>>>>>>>>>>> (n√£o foi retornado nada)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Grato,
>>>>>>>>>>>>>
>>>>>>>>>>>>>   ~   *| F√°bio de
>>>>>>>>>>>>> Sousa
>>>>>>>>>>>>> *
>>>>>>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Em 21 de fevereiro de 2014 15:32, Jo√£o Paulo Ferreira <
>>>>>>>>>>>>> jferreira.ba em gmail.com> escreveu:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> F√°bio,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Digite o comando
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> # runlevel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> # chkconfig --list | egrep 'dhclient'
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> e cole o resultado aqui.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Atenciosamente,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Jo√£o Paulo Ferreira*
>>>>>>>>>>>>>> *B.S. Computer Science* - UNIVERSIDADE SALVADOR
>>>>>>>>>>>>>> Cel.: +55 (71) 9297-1260 TIM
>>>>>>>>>>>>>> Cel.: +55 (71) 8837-7080 OI
>>>>>>>>>>>>>> Skype.: joaopaulo.cf
>>>>>>>>>>>>>> G-Talk/Mail: jferreira.ba em gmail.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Em 27 de janeiro de 2014 08:50, F√°bio de Sousa <
>>>>>>>>>>>>>> fabiocs em gmail.com> escreveu:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Bom dia,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Realmente o dhclient n√£o t√° rodando!
>>>>>>>>>>>>>>> Com o comando ps axu | grep dhclient não é encontrado nenhum
>>>>>>>>>>>>>>> processo!
>>>>>>>>>>>>>>> Mas tem o detalhe de que o IP é solicitado no boot, vejo que
>>>>>>>>>>>>>>> no boot, o sistema para por alguns segundo solicitando IP e depois segue!
>>>>>>>>>>>>>>> Procurando o nome do serviço para ativá-lo  não consegui
>>>>>>>>>>>>>>> encontrar! Dhclient não é, sabem me dizer qual é?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Obrigado,
>>>>>>>>>>>>>>> F√°bio
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>   ~   *| F√°bio de
>>>>>>>>>>>>>>> Sousa
>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Em 25 de janeiro de 2014 14:22, willian mayan <
>>>>>>>>>>>>>>> willianmayan em gmail.com> escreveu:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ;) isso
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2014-01-24 Jo√£o Paulo Ferreira <jferreira.ba em gmail.com>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Errata de Willian.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> BOOTPROTO=dhcp e n√£o BOOTPROTO=dhco
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Atenciosamente,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> *Jo√£o Paulo Ferreira*
>>>>>>>>>>>>>>>>> *B.S. Computer* - UNIVERSIDADE SALVADOR
>>>>>>>>>>>>>>>>> Cel.: +55 (71) 9297-1260 TIM
>>>>>>>>>>>>>>>>> Cel.: +55 (71) 8837-7080 OI
>>>>>>>>>>>>>>>>> Skype.: joaopaulo.cf
>>>>>>>>>>>>>>>>> G-Talk/Mail: jferreira.ba em gmail.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Em 24 de janeiro de 2014 16:57, Sergio Mira <
>>>>>>>>>>>>>>>>> shbmira em gmail.com> escreveu:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Exato.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Como eu disse, verifique se o seu dhclient est√° rodando.
>>>>>>>>>>>>>>>>>> √Č ele quem fica "pedindo"/verificando IP nas interfaces
>>>>>>>>>>>>>>>>>> disponíveis.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Do jeito que o Willian disse, com DHCP ativado no boot, o
>>>>>>>>>>>>>>>>>> dhclient deve iniciar rodando.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> N√£o importa se tem cabo ou n√£o, o dhclient sempre ficar√°
>>>>>>>>>>>>>>>>>> rodando.
>>>>>>>>>>>>>>>>>> Se houver cabo, ele pede IP para o gateway da rede.
>>>>>>>>>>>>>>>>>> Se n√£o houver cabo ele fica esperando alguma interface
>>>>>>>>>>>>>>>>>> fechar um enlace.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Verifique também o arquivo /etc/sysconfig/network
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Abs!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>> || --------------------------------------------
>>>>>>>>>>>>>>>>>> ||        Sergio Mira
>>>>>>>>>>>>>>>>>> ||   _    BSc of Computer Science (in progress)
>>>>>>>>>>>>>>>>>> ||  ¬įv¬į   Federal University Of Lavras (UFLA)
>>>>>>>>>>>>>>>>>> || /(_)\
>>>>>>>>>>>>>>>>>> ||  ^ ^   sergiohbmira em computacao.ufla.br||        http://graduacao.dcc.ufla.br/~shbm95|| ---------------------------------------------
>>>>>>>>>>>>>>>>>> || Linux User #497558
>>>>>>>>>>>>>>>>>> || "Use Linux and be free."
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ------ Mensagem original ------
>>>>>>>>>>>>>>>>>> De: "F√°bio de Sousa" <fabiocs em gmail.com>
>>>>>>>>>>>>>>>>>> Para: "Portuguese (Brazilian) CentOS mailing list" <
>>>>>>>>>>>>>>>>>> centos-pt-br em centos.org>
>>>>>>>>>>>>>>>>>> Cc: "Sergio Mira" <shbmira em gmail.com>
>>>>>>>>>>>>>>>>>> Enviado(s): 24/01/2014 17:43:19
>>>>>>>>>>>>>>>>>> Assunto: Re: [CentOS-pt-br] Up link autom√°tico
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Tranquilo galera!
>>>>>>>>>>>>>>>>>> Mas acho q n√£o entenderam!
>>>>>>>>>>>>>>>>>> Vamos partir do principio que usei as sugest√Ķes citadas!
>>>>>>>>>>>>>>>>>> A placa sobe no boot, solicita o IP via dhcp, pega ip, ok!
>>>>>>>>>>>>>>>>>> Agora eu puxo o cabo de rede! Fico sem rede ok?, ent√£o..
>>>>>>>>>>>>>>>>>> Agora conecto o cabo! Ai t√° o pulo do gato!
>>>>>>>>>>>>>>>>>> Com interface gráfica, acho q é o NetworkManager que
>>>>>>>>>>>>>>>>>> cuida disso, o sistema j√° solicita um novo ip, para o gateway da rede, sem
>>>>>>>>>>>>>>>>>> interferência do usuário!
>>>>>>>>>>>>>>>>>>  A minha d√ļvida √© essa, se consigo implementar de modo q
>>>>>>>>>>>>>>>>>> fique da mesma, porém em modo texto!
>>>>>>>>>>>>>>>>>> A qualquer hora eu conectar um cabo na placa de rede. o
>>>>>>>>>>>>>>>>>> sistema solicitar um IP para gateway da rede!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Grato,
>>>>>>>>>>>>>>>>>> F√°bio
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>   ~   *| F√°bio de
>>>>>>>>>>>>>>>>>> Sousa
>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>>>>>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>>>>>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>>>>>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Em 24 de janeiro de 2014 16:57, willian mayan <
>>>>>>>>>>>>>>>>>> willianmayan em gmail.com> escreveu:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> GATEWAY=192.168.1.1 **(errata)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2014-01-24 willian mayan <willianmayan em gmail.com>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  Você pode deixar configurado as interfaces de rede:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  /etc/sysconfig/network-scripts/ifcfg-eth0
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Exemplo IP fixo:
>>>>>>>>>>>>>>>>>>>>  DEVICE=eth0
>>>>>>>>>>>>>>>>>>>> BOOTPROTO=none
>>>>>>>>>>>>>>>>>>>> ONBOOT=yes
>>>>>>>>>>>>>>>>>>>> HWADDR=XX:XX:XX:XX:XX:XX
>>>>>>>>>>>>>>>>>>>> NETMASK=255.255.255.0
>>>>>>>>>>>>>>>>>>>> IPADDR=192.168.1.10
>>>>>>>>>>>>>>>>>>>> GATEWAY=192.168.1.10
>>>>>>>>>>>>>>>>>>>> TYPE=Ethernet
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Exemplo IP por DHCP:
>>>>>>>>>>>>>>>>>>>> DEVICE=eth0
>>>>>>>>>>>>>>>>>>>> BOOTPROTO=dhco
>>>>>>>>>>>>>>>>>>>> ONBOOT=yes
>>>>>>>>>>>>>>>>>>>> TYPE=Ethernet
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2014-01-24 Sergio Mira <shbmira em gmail.com>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>   Salve, F√°bio!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Verifique se o dhclient est√° rodando na sua interface
>>>>>>>>>>>>>>>>>>>>> de rede, com, por exemplo, o comando:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *ps axu | grep dhclient*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Se não estiver rodando, peça um IP ao gateway com o
>>>>>>>>>>>>>>>>>>>>> comando:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *dhclient -v eth0*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Onde *eth0* é a sua interface de rede.
>>>>>>>>>>>>>>>>>>>>> Para verificar as interfaces disponíveis, faça:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *ifconfig*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Caso n√£o tenha nenhuma interface ativa, verifique se
>>>>>>>>>>>>>>>>>>>>> possui interfaces listadas:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *ifconfig -a*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Se houver apenas a interface de loopback, aí o
>>>>>>>>>>>>>>>>>>>>> problema é mais embaixo, rs!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Abraço!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>> || --------------------------------------------
>>>>>>>>>>>>>>>>>>>>> ||        Sergio Mira
>>>>>>>>>>>>>>>>>>>>> ||   _    BSc of Computer Science (in progress)
>>>>>>>>>>>>>>>>>>>>> ||  ¬įv¬į   Federal University Of Lavras (UFLA)
>>>>>>>>>>>>>>>>>>>>> || /(_)\
>>>>>>>>>>>>>>>>>>>>> ||  ^ ^   sergiohbmira em computacao.ufla.br||        http://graduacao.dcc.ufla.br/~shbm95|| ---------------------------------------------
>>>>>>>>>>>>>>>>>>>>> || Linux User #497558
>>>>>>>>>>>>>>>>>>>>> || "Use Linux and be free."
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ------ Mensagem original ------
>>>>>>>>>>>>>>>>>>>>> De: "F√°bio de Sousa" <fabiocs em gmail.com>
>>>>>>>>>>>>>>>>>>>>> Para: "Portuguese (Brazilian) CentOS mailing list" <
>>>>>>>>>>>>>>>>>>>>> centos-pt-br em centos.org>
>>>>>>>>>>>>>>>>>>>>> Enviado(s): 24/01/2014 14:06:40
>>>>>>>>>>>>>>>>>>>>> Assunto: [CentOS-pt-br] Up link autom√°tico
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Um salve a todos,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Um d√ļvida: no centOS com interface gr√°fica, ligo
>>>>>>>>>>>>>>>>>>>>> máquina sem o cabo de rede conectado. Após o sistema subir eu conecto o
>>>>>>>>>>>>>>>>>>>>> cabo de rede e o sistema reconhece  e solicita o ip via dhcp!
>>>>>>>>>>>>>>>>>>>>>  Dá para fazer isso também em uma sistema somente em
>>>>>>>>>>>>>>>>>>>>> modo texto?
>>>>>>>>>>>>>>>>>>>>> Eu até consigo fazer o sistema solicitar o IP via dhcp
>>>>>>>>>>>>>>>>>>>>> somente no boot! Depois do sistema inicializado eu conecto o cabo de rede e
>>>>>>>>>>>>>>>>>>>>> nada acontece!
>>>>>>>>>>>>>>>>>>>>>  Alguém sabe como fazer em um sistema modo texto?
>>>>>>>>>>>>>>>>>>>>> Uso centOS 6.5
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Grato,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>   ~   *| F√°bio de
>>>>>>>>>>>>>>>>>>>>> Sousa
>>>>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>> .¬ļv¬ļ. *| T√©c. Inf.*
>>>>>>>>>>>>>>>>>>>>> /(_)\ | *Seja livre, use LINUX*
>>>>>>>>>>>>>>>>>>>>> .^.^. | *Socialmente justo, economicamente vi√°vel e
>>>>>>>>>>>>>>>>>>>>> tecnologicamente sustent√°vel*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Willian.A.Mayan
>>>>>>>>>>>>>>>>>>>> GNU/Linux user:#536163
>>>>>>>>>>>>>>>>>>>> Fedora Project - Ambassador
>>>>>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Willian.A.Mayan
>>>>>>>>>>>>>>>>>>> GNU/Linux user:#536163
>>>>>>>>>>>>>>>>>>> Fedora Project - Ambassador
>>>>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Willian.A.Mayan
>>>>>>>>>>>>>>>> GNU/Linux user:#536163
>>>>>>>>>>>>>>>> Fedora Project - Ambassador
>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>> <https://fedoraproject.org/wiki/User:Willianmayan>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> CentOS-pt-br mailing list
>>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> CentOS-pt-br mailing list
>>>>>>>> CentOS-pt-br em centos.org
>>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Obrigado
>>>>>>>
>>>>>>> Cordialmente
>>>>>>>
>>>>>>> Gilberto Ferreira
>>>>>>>
>>>>>>>
>>>>>>> Konnecta TI Tecnologia - Sistemas de Virtualiza√ß√£o, Solu√ß√Ķes de
>>>>>>> Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação
>>>>>>> de Linux e Windows server.
>>>>>>>
>>>>>>>  Fundação Softville
>>>>>>> Rua Otto Boehm, 48
>>>>>>>
>>>>>>> (47) 9676-7530
>>>>>>>
>>>>>>> Skype: gilberto.nunes36
>>>>>>>
>>>>>>>
>>>>>>> www.konnectati.com.br
>>>>>>>
>>>>>>> blog.konnectati.com.br
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> CentOS-pt-br mailing list
>>>>>>> CentOS-pt-br em centos.org
>>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> CentOS-pt-br mailing list
>>>>>> CentOS-pt-br em centos.org
>>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Obrigado
>>>>>
>>>>> Cordialmente
>>>>>
>>>>> Gilberto Ferreira
>>>>>
>>>>>
>>>>> Konnecta TI Tecnologia - Sistemas de Virtualiza√ß√£o, Solu√ß√Ķes de
>>>>> Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação
>>>>> de Linux e Windows server.
>>>>>
>>>>>  Fundação Softville
>>>>> Rua Otto Boehm, 48
>>>>>
>>>>> (47) 9676-7530
>>>>>
>>>>> Skype: gilberto.nunes36
>>>>>
>>>>>
>>>>> www.konnectati.com.br
>>>>>
>>>>> blog.konnectati.com.br
>>>>>
>>>>> _______________________________________________
>>>>> CentOS-pt-br mailing list
>>>>> CentOS-pt-br em centos.org
>>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> CentOS-pt-br mailing list
>>>> CentOS-pt-br em centos.org
>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> CentOS-pt-br mailing list
>> CentOS-pt-br em centos.org
>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>
>>
>
> _______________________________________________
> CentOS-pt-br mailing list
> CentOS-pt-br em centos.org
> http://lists.centos.org/mailman/listinfo/centos-pt-br
>
>
-------------- Průxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.centos.org/pipermail/centos-pt-br/attachments/20140731/e2b40ad0/attachment.html 


Mais detalhes sobre a lista de discuss„o CentOS-pt-br