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.
[root@pr1inc ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
200.105.87.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 200.105.87.1 0.0.0.0 UG 0 0
[root@pr1inc ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 pr1inc.com pr1inc localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
200.105.87.26 (my url)pr1inc.net
200.105.87.27 (my url)pr1inc.net
[root@pr1inc ~]# grep dns /etc/nsswitch.conf
# dns Use DNS (Domain Name Service)
#hosts: db files nisplus nis dns
hosts: files dns
[root@pr1inc ~]# cat /etc/host.conf
order hosts,bind
lots of info, but you missed the useful stuff ;-) is your dns working? can you ping other sites? what does /etc/resolv.conf say? does the site you're trying to get to actually exist - it's possible it could have died.
DotHQ, that's really not useful is it? He's already given an ifconfig in the first post, so don't see why you're asking again. and we can see that his network isn't working.
anyway... you have an issue that's well outside of yum. at the minimum you have no ip connectivity to your dns servers, which probably means the internet as a whole, as they are presumably internet based IP's. where did you get that data from? should you be using an internal dns server instead?
eth0 Link encap:Ethernet HWaddr 00:30:48:76:00:4E
inet addr:200.105.87.26
If this is correct it means your computer is being used as dns-server. I believe you don't know what that means: In short, people use names computers use numbers. Every url you enter (like "/www.linuxquestions.org/") must be "translated" to an ip-adress. It's a bit like telephoning - to call Charles you need his number. Dns-servers are like big telephone books for internet.
Your internet-provider should have valid dns-servers for you, should be assigned automatically. It seems the computer is directly connected to internet, no home-router in between?
On cheap home-routers dns-forwarding often fails.
(I tried using 200.105.87.26 as dns-server, nothing resolved. It is not a dns server.)
Try this:
Ping www.yahoo.se - doesn't work, right?
In /etc/resolv.conf add as first line:
nameserver 195.178.165.68
Now ping again. Does it work?
* If yes, you should be fine with that as your dns-server. However it's best to check with your isp what servers you are supposed to use.
* If not, reply back, with an exakt description of your network, how you connect to internet.
Distribution: Gentoo, Slackware at Home & RHEL and AIX at work.
Posts: 17
Rep:
Can you ping your gateway? Can you ping localhost?
If you can ping the gateway that would mean your nameservers wont/cant resolve names, your router isnt forwarding packets or your firewall wont allow outbound traffic on port 53.
GL :-)
Last edited by r0x0rj00b0x0r; 10-28-2008 at 10:34 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.