linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Unable to resolve names in any distro

Open ashubisht opened this issue 2 years ago • 4 comments

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.

ashubisht avatar Sep 12 '22 20:09 ashubisht

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

pariksha-jee avatar Sep 13 '22 20:09 pariksha-jee

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.

ZerGo0 avatar Oct 15 '22 19:10 ZerGo0

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.

andrej-ilievski avatar Mar 01 '23 22:03 andrej-ilievski