Acertando hosts: mudanças entre as edições

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição
 
Sem resumo de edição
 
Linha 11: Linha 11:
  echo "ff02::2 ip6-allrouters" >> /etc/hosts
  echo "ff02::2 ip6-allrouters" >> /etc/hosts
  echo "ff02::3 ip6-allhosts" >> /etc/hosts
  echo "ff02::3 ip6-allhosts" >> /etc/hosts
[[Categoria:gnuzinho]]
[[Categoria:dicas]]

Edição atual tal como às 17h12min de 11 de janeiro de 2009

da uma treta no hosts e resolvi assim:

echo "127.0.0.1       localhost.localdomain   localhost" > /etc/hosts
echo "127.0.0.1       $(hostname)" >> /etc/hosts
echo " " >> /etc/hosts
echo "# The following lines are desirable for IPv6 capable hosts" >> /etc/hosts
echo "::1     ip6-localhost ip6-loopback" >> /etc/hosts
echo "fe00::0 ip6-localnet" >> /etc/hosts
echo "ff00::0 ip6-mcastprefix" >> /etc/hosts
echo "ff02::1 ip6-allnodes" >> /etc/hosts
echo "ff02::2 ip6-allrouters" >> /etc/hosts
echo "ff02::3 ip6-allhosts" >> /etc/hosts