Linux - NewbieThis 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!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You probably are using the dhcp service, which for some reason like to rewrite your /etc/resolv.conf. You have to re-edit it again. You could write a script to run at startup and create it every time so you don't have to do this. Or there could be a better way, I don't use the dhcp service though to often.
what happens is the the dhcp queries the dhcp ip you gave it when you set it up. It's get your ip, lease time, and dns info (which get rewritten into the resolv.conf file). If your dhcp server is not set up properly it messes up the resolv.conf.
I have the right DNS server settings. I DONT KNOW WHY IS DOING THIS!!!!!! ITS ANNOYING.
Ok, Is there any way to do a command that tells you EVERY SINGLE INTERNET OR CONNECTION SETTINGS SO I COULD POST THE OUTPUT HERE???? AND IF I COULD DO THAT, THEN I WILL WRITE DOWN ON THE SETTINGS ARE SO NEXTIME IF I SET THIS UP IT WILL NOT DO THIS AGAIN. I just want to see an overview of my connection settings all in one screen so I could post them here.
And I did remove the nameserver 127.0.0.1 from that directory what you mentioned. I had saved it upon exit but it still pops-up. How can I prevented from popping up?
I dont know about why Mandrake does this for some odd reason ,but everytime I save something in the Internet Connection Wizard, it does not save it even when I hit Apply and OK button upon close.
namserver 127.0.0.1 can't be in the resolv.conf. your using a dhcp ... /sbin/dhclient, which keeps rewritting it at boot.
tells my that you dhcp is not set up properly. You have to edit your /etc/dhcpd.conf file.
shell$ man dhcpd.conf
look for the stuff about dns. I've also had a lot of problems when using the dhcp to update the dns info.
Right now, everything seems to be fine. But why is the 127.0.0.1 keeps appearing?
I tried opening the /sbin/dhclient directory on gedit, but Unable to Open because some UTF-8 coding problem and I was trying to open a binary file.
/etc/dhcpd.conf is not in the GEDIT also....
But if I do find those, how should I edit those???
Correct me if Im wrong, but maybe Im running a lame version or corrupted Linux distro