linuxdeploy
linuxdeploy copied to clipboard
Solution for no internet as user!
You have to sudo nano /etc/passwd and change your set user (default: android) ID to 4000
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
This worked for me:
sudo chown root:root /etc/resolv.conf
sudo chmod 644 /etc/resolv.conf
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