FC4 I get IP address (on any network) but I can't access to outside the network
FedoraThis forum is for the discussion of the Fedora Project.
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.
FC4 I get IP address (on any network) but I can't access to outside the network
Greetings!
I've just installed FC4 and this is my problem:
I get IP from wherever I am but, I can't seem to access outside the network. I've talked with an expert on debian and by the tests he made to my machine it seems my /etc/hosts file is empty and it shouldn't, and he also said that the problem should be that my computer doesn't resolve the DNS and by consequense, I can't access outside the network.
I also can ping any machine by it's IP address but I can't ping by the name.
Sorry if the terms I used aren't acurate and if hte way I've explained myself wasn't the most correct.
Try to ping an outside IP address based upon numbers. 130.57.4.70 is a random Novell address I get a reply from. If you can't get to that, most likely you need to define a gateway (most likely your router) to get out to the internet. If you can, you need to add dns server to /etc/resolv.conf
Ben
I have seen this before on another FC4 machine.
In all probability your network configiration is not right.
I assume your network is set to DHCP mode. In all probability your setup has manually specified DNS server.
Make sure you set the DNS server to be automatic instead.
I've actually found this problem with the DNS settings set to automatic, but when I set them manually they are fine (this is in both Windows and Linux). In Linux, you can set DNS settings by running system-config-network as root. Select your LAN connection and click the "Edit" button. There should be a box saying "Automatically obtain DNS information from service provider", which you can either tick or untick. You will then need to restart the network.
As I have discovered in the past, if you're set to automatically get DNS addresses, /etc/resolv.conf will be overwritten by the dhclient-script every time you restart the network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.