LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-21-2016, 08:36 AM   #1
usamamasood
LQ Newbie
 
Registered: Feb 2016
Posts: 1

Rep: Reputation: Disabled
Unhappy Internet of host system unable to connect after setting up changing root environment of in chap 6


I m facing a problem in internet connectivity. As soon as I start chapter 6 while building LFS chapter 6, I lost internet connection of my host machine. I can connect to my dhcp router but can not ping any website. I have repeated the process 4 times and faced the similar issue. I tried to edit the sudo nano etc/network/interfaces and it crashed my base linux. I had to start all over again. The documentation i m following is here-> http://www.linuxfromscratch.org/lfs/...06/kernfs.html

Therefore I m left with no choice to use another system for resolving issues. I m unable to find any help in this regard on linux forums like linuxquestions.org P.S I m not expert in linux. Any help would be highly appreciable.

#linux #networking #linux-kernel #lfs #linux-from-scratch
 
Old 02-21-2016, 09:40 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi create a resolv.conf in chroot /etc something like

nameserver 8.8.8.8

should work
 
Old 02-21-2016, 09:40 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
What distribution is your host?
 
Old 02-22-2016, 10:52 AM   #4
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Try outside of your chroot:
Code:
cp /etc/resolv.conf $LFS/etc/
 
  


Reply



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] v7.7 - 5.36. Changing Ownership $LFS is not set in root's environment zeshanuk Linux From Scratch 4 03-30-2015 11:28 AM
Unable to login using root after changing root password using passwd command rodimail SUSE / openSUSE 3 12-27-2011 10:34 PM
telnet: Unable to connect to remote host: No route to host grob115 Linux - Networking 3 07-30-2010 10:18 AM
Changing encoding- Setting an environment variable.. rixride00 Programming 1 04-20-2004 03:25 AM
Changing display/unable to connect to internet with Slackware 9.1 jaydoubleyou Slackware 8 01-08-2004 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:12 PM.

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
Open Source Consulting | Domain Registration