Acertando hosts

De MochilaWiki
Ir para navegaçãoIr para pesquisar

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