Guest Loxley Posted October 30, 2009 Report Share Posted October 30, 2009 Hhi there! Is anyone but me experiencing problems with busyboxes network-functions? It looks like the address-resolution is broken. ping host <- Works, as it is androids ping busybox ping host <- Doesn't work busybox ping ip <- Works It's the same with all other networking binaries. (wget, httpd, ftpget, …) I think I remember about problems with statically linked binaries that make use of getaddrinfo(3). They still need matching libraries on the target system. Unfortunately I wasn't able to compile busybox with googles toolchain and therefore can't have a deeper look into it. If anyone has a pointer on how to compile busybox using googles toolchain I would be happy to hear about them. I had a go with http://github.com/tmurakam/droid-wrapper, but busyboxes makefile seems to be incompatible. Peace for all Niki Link to comment Share on other sites More sharing options...
Guest kazuni Posted January 14, 2010 Report Share Posted January 14, 2010 Hhi there! Is anyone but me experiencing problems with busyboxes network-functions? It looks like the address-resolution is broken. ping host <- Works, as it is androids ping busybox ping host <- Doesn't work busybox ping ip <- Works It's the same with all other networking binaries. (wget, httpd, ftpget, …) I think I remember about problems with statically linked binaries that make use of getaddrinfo(3). They still need matching libraries on the target system. Unfortunately I wasn't able to compile busybox with googles toolchain and therefore can't have a deeper look into it. If anyone has a pointer on how to compile busybox using googles toolchain I would be happy to hear about them. I had a go with http://github.com/tmurakam/droid-wrapper, but busyboxes makefile seems to be incompatible. Peace for all Niki I've also noticed wget doesn't work =\ In that case I probably assume i can't use any binaries for browsing like lynx or links2? Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2010 Report Share Posted January 14, 2010 I've also noticed wget doesn't work =\ In that case I probably assume i can't use any binaries for browsing like lynx or links2? Since busybox expects a complete linux setup to be found on your environment, expecting an /etc/resolv.conf for networking settings, so I can see why ping is a separate program. Link to comment Share on other sites More sharing options...
Guest kazuni Posted January 15, 2010 Report Share Posted January 15, 2010 Since busybox expects a complete linux setup to be found on your environment, expecting an /etc/resolv.conf for networking settings, so I can see why ping is a separate program. ah I see. so is there any way to get around this by creating a resolv.conf in /etc/ ? Link to comment Share on other sites More sharing options...
Guest sam1el Posted February 18, 2010 Report Share Posted February 18, 2010 (edited) ah I see. so is there any way to get around this by creating a resolv.conf in /etc/ ?The problem isn't in the resolv.conf it is in the way wget was compiled with busybox. The issue is since it is a statically linked program it cannot function properly. I have gotten wget to work on my samsung moment by finding wget in /system/bin on my phone and replacing it with one I compiled that is dynamically linked. go to the samsung moment forum sdx-developers.com and look under kernel/root/rom development and find my post on wget somewhat working you will see what I have done to make it work along with finding the compiled wget that I am using on my samsung moment. it was compiled for android 1.5 so i can't say for certain it will work for you but give it a shot anyways. for some reason I am unable to attach the working wget here. Edited February 18, 2010 by sam1el Link to comment Share on other sites More sharing options...
Guest freeasabeer Posted February 18, 2010 Report Share Posted February 18, 2010 Check that thread: http://android.modaco.com/content/forum/29...-coming-to-mcr/ where I've done a statically linked busybox that DO have working network functions. FYI, Paul is now including this busybox in its various MCR: it is in the N1 one and should be in the next Hero one (3.2b6) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now