Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hello everyone. I have just created a LAN in my room, With a Linux Red Hat 9 box, as well as a windows XP Professional box. In order to do this i had to buy a D-link 4 port router, and had that connect to my existing connection(that one is behind a hub). I am having trouble with the internet connection on the Linux box, but not on the Windows one. I can not veiw pages in a browser, or even connect to GAIM. I can ping major URLs through the Linux box, so I know that I have some sort of configuration problem. From what I have read, it seems to be a DNS configuration error. If anyone can help me with this program, that would be great. This is what my etc/resolv.conf file outputs:
: Generated by /sbin/dhcclient-script
If any other information is needed, please tell me and I will give it as soon as possible. Thanks for taking the time to look at my problem.
I also have a network build with D-Links 704 router. What I can see out of your question here is that you might define a default gateway(Your routers ip-address) on your Redhat. the nameserver in your resolv.conf does not seem to be correct, it ought to be the one delivered form your ISP. If I am not totally wrong it looks like your D-Link routers ip-address.
Hopefully this is a little helpfull to you.
Thank you for that information. You are correct in the fact that the DNS address I had was my router when it should not have been. I have a problem though, and that is that I am not sure which what the address should be there. Accourding to the ISP, the cable modem assignes Via DCHP, making it impossible to make this configuration. Any other ideas on this problem?
Hi again. To find your DNS ip-addresses delivered by your ISP try at your Windows workstation to do the following:
- Go to a dos command line
- Type ipconfig /all (This will give you the configuration of your NIC. And also the DNS ip from your ISP)
At your redhat 9 server do the following.
- Edit your /etc/resolv.conf by correcting the nameserver to your ISP's nameserver. You can type more nameserver entries if your ISP have got more than one DNS. Just go to a new line at enter nameserver xxx.xxx.xxx.xxx
- Concerning your gateway edit the file /etc/sysconfig/network at the Entry GATEWAY type in the ip-address of your router 192.168.0.1 here.
- reboot the Linux box.
I am pretty sure this will help you.
That seems like that will solve my problem. I am currently at a LAN party, not with my linux box, so I cant try it right now. I will do that as soon as I get home, and will be sure to tell you the results. Thank you very much for your help, your are very informative. Wish me luck... :-p
I then went to go look at the file "/etc/sysconfig/network", but there was no spot for "GATEWAY", so I did not edit it. Yesterday I was at the LAN, and had linux working, and the only difference I saw what when doing ipconfig /all, I didnt get the routers ip for DCHP and DNS address's.(I was behind a linksys router) I also talked to d-link support for 50 minutes, come to have them tell me that they dont answer questions about linux, and to try linuxnewbies.org. If anyone sees any problems, seeing how I have now posted all information I can, please tell me. Also, if you need any other information, just ask. Thanks again to everyone reading this...
Wow...Ok you are the greatist. I never would have thought that the firewall was effecting the DNS settings, but that was the case. I disabled the redhat firewall, and I had full internet access. This would explain why I could ping and such low level things, but nothing more. Thank you soooo much. One more question, if I am not going to use the Redhat firewall, Do you have any suggestions for a 3erd party one?