linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Solution for no internet as user!

Open devimauz opened this issue 1 year ago • 3 comments

You have to sudo nano /etc/passwd and change your set user (default: android) ID to 4000

devimauz avatar Jul 22 '23 00:07 devimauz

run as root: echo "nameserver 8.8.8.8" | tee /etc/resolv.conf usermod -g 3003 -G 3003,3004 -a _apt usermod -G 3003 -a root

ArieSR91 avatar Sep 23 '23 02:09 ArieSR91

This worked for me:

sudo chown root:root /etc/resolv.conf
sudo chmod 644 /etc/resolv.conf

MortenHannemose avatar Sep 30 '23 19:09 MortenHannemose

I ran all of three and the proposed solution works. Why does it work though?

Edit: Don't forget to also run this as root: usermod -aG aid_inet yourusername

LollosoSi avatar Nov 02 '23 10:11 LollosoSi