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.
I'm pretty much a Linux newbie; I've got 30 years of software development, but have somehow avoided unixland. I've done some limited unix/linux stuff but not much configuration, and pretty much every little task requires opening a book.
I'm setting up a RedHat Enterprise Linux machine that will be a prototype server for a project. Right now I'm just trying to get it to be able to get out to the Internet and basically surf the web. There are other issues, but until I can download files, I can't address them.
The machine sits on a LAN watched over by an NT server. The LAN has a modem router (NetGear RP614) that does the gateway stuff et al.
From the Linux machine I can ping the router just fine, and I can ping an outside IP address, but I don't get any name resolution. I haven't figured out where to declare the DNS server addresses. So, I can ping 18.104.22.168 (for Yahoo) but I can't ask for yahoo.com directly. Therefore I'm assuming it's a DNS configuration issue.
I look up DNS in troubleshooting and this and other forums, but the first 10,000 articles always seem to be about how to make the machine a DNS server, which I'm not interested in. I just want to tell it "the gateway is here, and go there for your DNS". The gateway I think I did correctly, but how do I tell it what IP addresses I want it to use for DNS?
here's what was happening - when i edited /etc/resolv.conf to take out 192.168.0.1 as a nameserver i restarted my eth0 interface as i said in a couple postings (i thought that had to be done for the changes to take effect) however, when i did that SUSE queried for a new nameserver and IP address from the router so i lost my changes. I discovered that by looking at those tcpdump logs.
Ahh, then yes. Most likely under dhcp you will be querying for nameserver(s) and your resolv.conf will get overwritten. It's been a while sorry. I always pretty much set the ip's statically. But yes, dhcp will cause this.