linuxdeploy
linuxdeploy copied to clipboard
Unable to resolve names in any distro
Hi,
I am facing issues when using curl or wget or even ping. I am getting error:
wget: unable to resolve host address <any url>
With curl I am getting error:
curl: (6) Could not resolve host: <any url>
I tried adding nameservers in /etc/resolve.conf and even via configure options in app, yet its failing. Ping also fails with Operation not permitted.
However, sudo apt update
and sudo apt install <package_name>
works.
Any advise on how to make it working.
https://github.com/meefik/linuxdeploy/issues/1169: usermod shows command not found. So I ran /usr/sbin/usermod. It says permission denied. Running with sudo /usr/sbin/usermod, the command passes successfully, but the issue still persist.
Also tried rebooting container and then try again
Try this command in adb: dumpsys deviceidle disable
. I'm pretty sure that this isn't permanent, so keep that in mind. I also had to use the wakelock app to get it to work fully.
Thanks to @fjh1997 in #1092 for mentioning it.
Try this command in adb:
dumpsys deviceidle disable
. I'm pretty sure that this isn't permanent, so keep that in mind. I also had to use the wakelock app to get it to work fully.Thanks to @fjh1997 in #1092 for mentioning it.
Doesn't work for me because I can't use curl or wget even when the app is on. And this disables the device from dozing (deep sleeping) as far as I understand.