[Buildroot] DNS resolv issue with localhost

Jigar SOLANKI jigar.solanki at labri.fr
Mon Jul 4 22:42:18 UTC 2011


Hello all,

I have a LEON3 / XILINX Virtex / Buildroot Linux running on my fpga.

I have a weird issue with localhost :

When there is no default route, ping localhost works fine.
When I set a default route (route add default gw 1.2.3.4), ping localhost doesnt work anymore (but ping 127.0.0.1 still does).

I have checked my /etc/hosts and my /etc/network/interfaces, they are fine :

auto lo
iface lo inet loopback

hosts :
127.0.0.1 localhost


What am I missing ? 

Thanks.




More information about the buildroot mailing list