[BusyBox] Busybox DNS Resolver

Vladimir N. Oleynik dzo at simtreas.ru
Wed Nov 7 06:49:55 UTC 2001


Hi Christian

> I want to use busybox for a minimal linux system, which consists
> of the kernel, the busybox binary itself, lilo and a few device files
> only. Busybox acts as init (/etc/inittab,/etc/init.d/rcS), there
> are no other binaries included. I don't use shared libs an I don't use
> the runtime linker. I do mount the proc fs. I don't use swap space.
> I compiled busybox as a static stripped binary and ist works fine
> on my minimal system but the dns resolver doesn't work.

You should reconfigure glibc with an option 

configure --enable-static-nss

and add line to busybox Makefile
LIBRARIES += -lc -lnss_files -lnss_dns -lresolv 
(only this, not remove -lc, not mixing -lc and -lnss !)

or use Uclibc.


--w
vodz





More information about the busybox mailing list