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.
I have Internet Connection Sharing Enabled on my Win2k Box which has a dial-up connection to the net. This is then Networked with my Slackware Box. I can Share files with, and ping the Win2k Box, but I can not ping any Internet site (address) or IP Address. In a browser it attempts to connect (Message resolving www.....) then errors can not find www..... , if I try to connect to an IP address it just times out.
I have 2 PC's connected with a switch. The one is a machine running windows 98 SE. This machine is connected to Internet with a USB ADSL.
Another machine is Linux red hat 6.2. I can do ping from windows to linux and vice versa.
I can see the windows machine from linux using samba.
However I am not able to connect to Internet. I have installed Internet Connection Sharing windows 98 but Linux can not access to Internet via Lan.
Do you suggest something for me?
If you have installed ICS on your windows 98 computer than it would have set your internal IP address to 192.168.0.1 with a mask of 255.255.255.0. Now what you need to do is set up your RH box to use the windows 98 computer as it's default gateway and use your ISP's DNS servers.
On the windows computer, click on the start button, then on run and type in "winipcfg". Then click on the "expand all" and look for your DNS server addresses. Write them down on a piece of scrap paper or something.
Then on your RedHat box go into your network configuration utility of choice. Since you can already see and ping your windows box the IP information is correct so that's the major part of the battle done right there. Set your "Default Gateway" to " 192.168.0.1 " (your windows box), and then put in your ISP's DNS servers for your RH box to use. Once that is all done you should be able to browse and do everything on your RH box.
If you have anymore problems please feel free to post back.
In my RH machine, I have typed # linuxconf and I changed in Name Server Specification (DNS).
I have changed the Gateway, setting it in base to Windows 98 IP.
Finally this is my small LAN:
1 - Windows 98 - IP: 192.168.168.1 / NetMask: 255.255.255.0
2 - Linux Red Hat - Ip: 192.168.168.168 / NetMask: 255.255.255.0
Gateway: 192.168.168.1 -> This is the IP address of Windows 98.
Name Servers: 126.96.36.199
But when I restart the RH machine for save the new configuration, it is to late Booting and waiting for "STARTING SYSTEM LOGGER" and "STARTING SENDMAIL".
The network settings has changed, but in the /etc/sysconfig/network-scripts/ifcfg-eth0 file, several values are between quotations. For example, before the changes, we have the ifcfg-eth0 file like that:
The LAN NIC IP Address of the Windows Dial Up Machine is set to 192.168.0.1 .
This then has the Modem IP address of 188.8.131.52 Gateway 184.108.40.206 Primary DNS 220.127.116.11 Secondary DNS 18.104.22.168
The Linux box has the Static IP address 192.168.0.101 Gateway of 192.168.0.1 and Nameserver of 22.214.171.124 .
The Nameserver appears in the /etc/Resolv.conf file.
Hey mate, sorry it took so long for me to respond the first time, work has kept me busy these last few days.
I would put the second DNS server into your /etc/resolv.conf file, because the more DNS servers the merrier I say.
Also on your windows box, run the winipcfg utility, click on the "expand all" button. Now near the top you should see a box that says IP forwarding or Router or something like that and if all is set up correctly it should have a check mark in there. If not you may need to re-run the ICS util in windows.
Aside from that if it still dosn't work post back what error message(s) appear and we'll again try to help as best we can.
It says IP Routing is enabled, which I guess is what you were looking for. I agree on the Nameserver in Resolv.Conf just on thing what is the syntax for multiple nameservers?
nameserver 126.96.36.199, 188.8.131.52
Thanks a lot for your help. Finally I got access Internet from my red hat 6.2. My error was windows Internet sharing services was not setting ok.
I installed wingate (demo of 30 days) and I can saw how it was setting windows for share Internet. Finally I uninstall wingate (because I was in 23 days demo) and I tried Windows ICS and finally, I set up Linux red hat 6.2 in DHCP and now it is working.
However, there is a very old Netscape version. I would like to install firefox from Mozilla, did you know some special version for my redhat 6.2.
Actually I am downloading Fedora core. I will try if that version could to run in my old PC.