Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution for no internet as user! #1367

Open
devimauz opened this issue Jul 22, 2023 · 3 comments
Open

Solution for no internet as user! #1367

devimauz opened this issue Jul 22, 2023 · 3 comments

Comments

@devimauz
Copy link

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

@ArieSR91
Copy link

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

@MortenHannemose
Copy link

This worked for me:

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

@LollosoSi
Copy link

LollosoSi commented Nov 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants