java icon indicating copy to clipboard operation
java copied to clipboard

No internet?

Open ghost opened this issue 7 years ago • 6 comments

Attempted to build termux from source, however gradle cant be downloaded as services.gradle.org isn't resolving. My device's internet is all good tho :p 20180519_144534 services.gradle.org is a valid domain 20180519_151321

ghost avatar May 19 '18 02:05 ghost

strace -o log.txt ./gradlew and give me log.txt

Hax4us avatar May 25 '18 16:05 Hax4us

Oops, forgot about strace :p screenshot_20180526-201356 Well this is what its missing, could probably symlink these

ghost avatar May 26 '18 08:05 ghost

Alrighty after making a bunch of symlinks and dirs, theres still one problem

faccessat(AT_FDCWD, "/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

They don't exist at all because Android...

ghost avatar May 26 '18 08:05 ghost

Ok, these paths are hardcoded into ld-2.19.so, I'll try patching it. Patched it, all relevant libs/directories are ok However it still can't connect to hosts. 20180526_210535

ghost avatar May 26 '18 08:05 ghost

strace -f lol screenshot_20180526-211108 looks like a shitton to patch got this far, not sure how to patch this one 20180526_230636

ok termux glib is outdated... sigh

may aswell copy arch linux arm's /lib into /share/glib

ghost avatar May 26 '18 09:05 ghost

Can it be a problem with DNS or DNS Libs? because i always have problems with resolving domain names in termux, for example when i installing XenForo and put 'localhost' in Server Database address, php cannot resolve 'localhost' for some reason.

xSrolr4l avatar Jul 11 '23 03:07 xSrolr4l