Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-28-2010, 11:48 AM   #1
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Rep: Reputation: 18
internet connection problem in "chroot"ed directory while remastering knoppix

i am remastering knoppix.

i have copied entire file system onto my hardrive

say /knoppix-cd/

then i have chrooted that directory

# chroot /knoppix-cd/KNOPPIX/
now all commands of knoppix are working fine.

i have now mounted proc filesystem

# mount -t proc /proc proc
now at this point comes the actual trouble..

when i do apt-get update or do ping to some website then its responds as the internet is not connected.

what should i do;

Steps i am following are from

please help..

Last edited by sd||; 02-28-2010 at 12:14 PM. Reason: solved
Old 02-28-2010, 12:17 PM   #2
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
edit /etc/resolv.conf

first exit from the chrooted environment, then edit the resolv.conf file in the "etc" directory of the chrooted environment and modify it according to the host system /etc/resolv.conf and chroot the environment again.



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
Internet connection problem under Linux - "Connection Reset" scmbg Linux - Networking 1 02-25-2010 11:44 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Knoppix - Remastering - unable to chroot mikedeatworld Linux - Newbie 1 10-29-2006 09:45 PM
reciving a wireless "a" internet connection... and sending it out as "g" pengu Linux - Wireless Networking 0 03-28-2006 10:50 PM
"Problem on setting up Linux Enterprise Server-Internet Connection" linuxculture Linux - Networking 1 04-18-2005 11:21 AM > Forums > Linux Forums > Linux - Newbie

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

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