Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180
Rep:
Where do I specify DNS servers?
To make a long story short, I screwed up and had to start again. I've completed LFS4.0, got started into BLFS and have completed XFree86-4.2.1 and Mozilla 1.2. When I try to get on the 'net, I get a "not found" (I'm sure that google is there today, aren't they???). My host distro required that I input my ISP's DNS servers. Where do we put these numbers for LFS? I found that RH7.3 uses a file called resolv.conf but I can't seem to find this in the LFS book. Am I just stOOpid or is it not there. I can't look at the BLFS, because something is wrong with it today (says: "Forbidden: you don't have permissions to access /blfs/intro.shtml on this server")
Where do I put the IP address for my ISP's DNS server?
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180
Original Poster
Rep:
Unless I did something drastically wrong, there is NO networking directory under /etc/sysconfig in LFS4.0. The only sub-directory in there is network-devices, and I can't find anything to do with DNS in that directory.
It is there in my Redhat system, but ifcfg-lo has nothing to do with the IP addy of the DNS servers.
But, thanks for the response. Anyone else on where to input the IP of my ISP's DNS servers for LFS4.0????
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180
Original Poster
Rep:
Yeah, as a matter of fact, I just copied the resolv.conf from my host distro into my LFS. But, somewhere in the bootscripts that file has to be called up and read, right?
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180
Original Poster
Rep:
Problem resolved (pardon the pun).
Boy, now I really feel stoopid. I had copied the file from my host distro into my LFS. Neglected to check permissions once it was copied (they were at 600), when I changed 'em to 644, everything works like a charm. In fact, this is the first post from my newly minted LFS4.0 (second time throught the book).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.