From: Jigar SOLANKI <jigar.solanki@labri.fr>
To: buildroot@busybox.net
Subject: [Buildroot] DNS resolv issue with localhost
Date: Tue, 05 Jul 2011 14:28:03 +0200 [thread overview]
Message-ID: <4E130353.7030207@labri.fr> (raw)
In-Reply-To: <23843298-AAFD-4E03-A77D-2883BBA856B2@labri.fr>
Problem SOLVED :
I was missing the nsswitch.conf file in /etc, so the resolv order was
wrong (nslookup localhost was requesting the dns server in
/etc/resolv.conf whereas it should have beeb /etc/hosts)
I just added a nsswitch.conf from an another correctly running linux.
Le 05/07/2011 00:42, Jigar SOLANKI a ?crit :
> 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.
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Jigar SOLANKI
LaBRI - UMR 5800
Universit? Bordeaux 1
351 Cours de la Lib?ration
F-33405 Talence Cedex
Phone : (+33) 5 4000 24 87
Fax : (+33) 5 4000 66 69
* Please do not print this e-mail unless it's really necessary *
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110705/851d329f/attachment.asc>
next prev parent reply other threads:[~2011-07-05 12:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 22:42 [Buildroot] DNS resolv issue with localhost Jigar SOLANKI
2011-07-05 12:28 ` Jigar SOLANKI [this message]
2011-07-05 19:04 ` Thomas Petazzoni
2012-09-21 8:38 ` Lionel Orry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E130353.7030207@labri.fr \
--to=jigar.solanki@labri.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox