LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2011, 07:07 PM   #1
nguyeng
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 18

Rep: Reputation: 1
Android Chroot Archlinux no internet except as root


I've been messing around with a rooted android tablet and have gotten archlinux to be able to run in a chrooted environment. The process involves these commands

Code:
# mount -t proc proc /sdcard/sd/arch/proc
# mount --bind /sys /sdcard/sd/arch/sys
# mount --bind  /dev /sdcard/sd/arch/dev
# chroot /sdcard/sd/arch
so, as I understand, it utilizes the devices and drivers of the host android system.

The problem is that when I chroot in the only user that can access the internet is root. Trying to ping as a normal user gives a 'permission denied' (I do not remember the exact wording). I need help giving normal privileged users access to the internet. I am not familiar with Arch, but from some research it seems as though there is no net group that the user needs to be added to. I am suspecting that the problem is related to the permissions being carried over from the android host. Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED : P new install of archlinux with archlinux-2010.05-core-i686.iso elenger Arch 1 08-18-2011 02:55 PM
Failed to change real root to fake root using chroot. Aswathy Linux - Newbie 1 06-29-2011 04:34 AM
[SOLVED] connecting to the internet in archlinux arunb24 Linux - Newbie 1 03-05-2011 09:20 AM
how to root/get root access in android emulator? preetb123 Linux - Mobile 2 02-25-2011 01:15 AM
chroot like program for non-root users xowl Linux - Security 12 12-10-2007 07:02 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration