LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-27-2005, 09:38 AM   #1
bodhisattva
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
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.

Thank You very much
 
Old 06-27-2005, 06:35 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
What do you have in /etc/resolv.conf?
What is the output of route?
How are you connected to the internet?

/etc/hosts should at least contain your machine's name and ip:
Code:
127.0.0.1       localhost
xxx.xxx.xxx.xxx       my_name
Edit the second line to match your settings.
 
Old 06-28-2005, 01:20 PM   #3
benhanson
Member
 
Registered: Jan 2005
Posts: 39

Rep: Reputation: 15
get outside the network.....

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
 
Old 07-15-2005, 02:03 PM   #4
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
add the dns settings and if it still doesnt work, check your bcast address, should be the max range to your subnet address
 
Old 07-15-2005, 03:44 PM   #5
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
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.
 
Old 02-05-2006, 02:57 AM   #6
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
how do I set the DNS server to be automatic?

This is exactly the same situation what I've encoutered at the moment,

so I am really curious on this.
 
Old 02-05-2006, 04:56 PM   #7
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
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.
 
Old 02-06-2006, 10:25 AM   #8
benhanson
Member
 
Registered: Jan 2005
Posts: 39

Rep: Reputation: 15
You can also just add dns entries to /etc/resolv.conf.
 
Old 02-06-2006, 12:31 PM   #9
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
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.
 
Old 02-07-2006, 04:00 AM   #10
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
Hm.. interesting.. I think I'll try again as well.
 
Old 02-07-2006, 06:58 AM   #11
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
bodhisattva, have you got the net working yet?
If you haven't, r u using two routers by any chance?

if you are make sure those you routers have different ip address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Configuration Hanging in FC4 After Using Wireless Network Wizard Trip in VA Linux - Wireless Networking 2 07-18-2005 08:32 AM
how to configure my network on slackware 10.0 so i can access a windows network salviadud Linux - Newbie 2 02-11-2005 01:19 PM
wlan0 has ip address but no network access sichen Linux - Wireless Networking 1 04-01-2004 12:02 PM
What is Gateway address and what is Network address? abefroman Linux - Networking 1 03-17-2004 08:25 PM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration