Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Originally posted by theduke0 I have just installed FC4 on an Inspiron 8000 laptop and cann't get out of my network. I would like to get out into the wild world of the internet.
I can ping my router and make it to my router's connections setup page through firefox.
I can also ping that computer from the other computer on my network (running XP), but cannot ping the other computer from my FC4 box.
I am thinking there could be some problem with my localhost.localdomain stuff....but not sure.
Any suggestions?
Thanks in advance.
Do you have the router's IP address set as your gateway on your FC box?
I have tried to do that in the FC networking GUI, but can't get it to click. Is there a file or command that would tell me if I have the correct gateway?
Originally posted by theduke0 I have tried to do that in the FC networking GUI, but can't get it to click. Is there a file or command that would tell me if I have the correct gateway?
What do you mean can't get it to click? Does FC4 ask you for the root password when you try to change these settings? I thought it did, but haven't used RH in a long time. As for a file, yes there is, but again, I don't know what the file name would be since FC uses a different configuration than my distro. The file would be located in /etc, though. Running the command "route" (without the quotes), will tell you what your gateway is. The IP address should be listed on the bottom line, under the column "Gateway". You will need to run this command as root. If you have never set the gateway, I am almost positive this is your problem.
sargetK:
yes i do have to enter the root password to make such changes. The "click" was in reference to the fact that there are different places where I can input gateway. There is a routing tab where i manually entered the default gateway, but there are also places for destination network and prefix (network). I left all blank except the gateway address. I get an error that says static routes file eth0 is invalid. ??
There is also a place in the GUI where I can input hostname, primary dns, secondary, and dns search path. I have left these blank.
My router assigns a proper IP address of 192.168.10.4, bcast is 192.168.10.255, mask 255.255.255.0
I also recieve an error when I boot up the computer that say " localhost is not defined, you may consider adding to etc/hosts" I have tried this, but nothing changed, so that file is blank.
Any suggestions are greatly appreciated. Thanks in advance.
Originally posted by theduke0 :There is also a place in the GUI where I can input hostname, primary dns, secondary, and dns search path. I have left these blank.
You should not let these fields blank. The values on this fields determine your network settings. Find the proper values for the primary and secondary dns textfields. Enter your hostname on the hostname field. The dns search path can be left blank.
Quote:
Originally posted by theduke0 :I also recieve an error when I boot up the computer that say " localhost is not defined, you may consider adding to etc/hosts" I have tried this, but nothing changed, so that file is blank.
/etc/hosts file should always have values on it and thats the reason why your getting the error upon boot up. Modify the hosts file and add the following line:
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94
Rep:
DNS Proxy
I'm guessing that your home setup does not have any DNS proxy capability(?)
On most home systems you should expect the Gateway address to also act as the DNS proxy so that the isp can change the settings (if ever) without you having to update your config.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.