Busybox ping & nslookup can't work & dns resolv error with bad address.

Busybox ping & nslookup can't work & dns resolv error with bad address.

1. bosybox can't build in static library
    --> ping: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.

2. use strace : strace -tt -s99 -oLOG ping www.google.com
--> libnss_dns.so.2
   libnss_files.so.2
   libresolv.so.2
缺少上面檔案. 補上就可以了.

留言

這個網誌中的熱門文章

NMEA標準格式 -- GPS

網路 Transformer 的用途

cut,sed,awk 字串處理