[Fwd: Re: Query regarding DNS client on BusyBox]
Peter S. Mazinger
ps.m at gmx.net
Fri Apr 21 13:48:33 UTC 2006
On Fri, 21 Apr 2006, Ranga Raju B wrote:
> Alexander Griesser wrote:
>
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Ranga Raju B wrote:
> >
> >
> >>Next I was trying to make the nslookup work. The nslookup is working
> >>fine in my host system and the nameservers are OK on the network. I was
> >>unable to make the nslookup work on my target board. I copied the
> >>resolv.conf into the etc directory. I used
> >>
> >># nslookup www.yahoo.com 192.168.2.3
> >>
> >>www.yahoo.com is the host machine and 192.168.2.3 is my nameserver in
> >>the LAN. Can you please guide me to make the DNS client work in a
> >>busybox system? Finally I should able to ping the www.yahoo.com on my
> >>target board.
> >>
> >>
> >
> >You will need a bunch of libraries and files installed (copy them from
> >your host system) for this to work:
> >
> >/etc/nsswitch.conf
> >/lib/libnss_compat.so.2
> >/lib/libnss_dns.so.2
> >/lib/libnss_files.so.2
either check nsswitch.conf which of them are used (maybe nis is referenced
there and you didn't copy it) or be lazy and copy all libnss* to your /lib
you seem to miss at least libresolv (used for sure by libnss_dns), check
all libnss* as well for dependencies.
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the busybox
mailing list