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

Cannot access internet from non-root connection #2

Open
thybzi opened this issue Mar 4, 2016 · 2 comments
Open

Cannot access internet from non-root connection #2

thybzi opened this issue Mar 4, 2016 · 2 comments

Comments

@thybzi
Copy link

thybzi commented Mar 4, 2016

I have Debian Jessie installed via debkit.
When chrooting to the image, I can access phone's internet connection.

Then I install ssh within the debkit (which provides sshd server), create new user via adduser, and connect with to user via ssh at 127.0.0.1.

With this connection, I can access debkit filesystem, but any internet-dependent command (such as ping, npm install, git clone or pip install) fails to connect target http server.

How can I fix this?

@cybertim
Copy link
Owner

did you check the following files in the chroot?
/etc/hosts
/etc/resolv.conf

@thybzi
Copy link
Author

thybzi commented Mar 13, 2016

@cybertim What definitely should I check about these files?
Both files exist and seem to have default content. I never touched them. Should I?
screenshot_2016-03-13-20-39-43

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

2 participants