meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.09k stars 680 forks source link

Ping/Curl/Wget (network) don't work on Debian #1355

Open andrej-ilievski opened 1 year ago

andrej-ilievski commented 1 year ago

I have seen this issue persist on another opened issues but I am not able to solve it.

I am nott able to use any of these network dependent commands while the app is opened, with my default android user and by using sudo as well. Using groups command I can see that the android user has aid_inet but to no avail. I have also added the google dns server and checked the file with the groups everything seems fine. I even disabled the doze via ADB to my sony XZ3, but nothing seems to work.

Any ideas how to get this solved are very much appreciated.

angrycans commented 1 year ago

default android user id groupid 60000 too big sudo useradd -m -d /home/test test or sudo vi /etc/passwd android:x:4000:4000::/home/android:/bin/bash