LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-23-2006, 12:45 PM   #1
grunshaw
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Unable to use wget and unable to ping machine from external source


Hello folks! I am a newbie here and new to LInux too, so just wondered if you could give me a hand.

I have installed Fedora Core 5. I am logged in as root and I am trying to install CPanel. When I tried to run the wget command, it siad "network unreachable". During the setup, i gave the box an external IP address. All ports are opened and forwarded to the IP, however, i'm unable to ping from another machine.
I checked my hosts file, which looks like this

127.0.0.1 localhost
212.241.xxx.xxx intense.firedns.co.uk
212.241.xxx.xxx

How can I resolve this issue?
Many thanks

James Grunshaw

Last edited by grunshaw; 10-23-2006 at 02:39 PM.
 
Old 10-23-2006, 01:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,395

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
sounds like you've no default gateway or something. what does the output of "ifconfig" and "route -n" say?

and for christs sake.. don't give out real ip addresses.
 
Old 10-23-2006, 02:38 PM   #3
grunshaw
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Yeh, good idea! I really didn't think about posting real IPs.....Ok here is the output from ifconfig.

[root@intense cpins]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:FF:5E:ED:20
inet addr:212.241.xxx.xxx Bcast:212.xxx.xxx.255 Mask:255.255.255.0
inet6 addr: fe80::203:ffff:fe5e:ed20/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12733 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1218286 (1.1 MiB) TX bytes:3809 (3.7 KiB)
Interrupt:11 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

And here is the output from route -n

estination Gateway Genmask Flags Metric Ref Use Iface
12.241.250.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
69.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0


Thanks
James
 
Old 10-24-2006, 08:46 AM   #4
hhvv
Member
 
Registered: May 2006
Location: India
Distribution: RHEL,CentOS,BSD,Ubuntu
Posts: 59
Blog Entries: 1

Rep: Reputation: 15
No gateway

As Chris told there is no gateway for your machine
Pls add the gateway address provided by your ISP

Last edited by hhvv; 10-24-2006 at 08:48 AM.
 
  


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
unable to ping anything ektor Linux - Networking 1 01-23-2006 08:39 AM
Unable to ping 2 PC naveen_varma Linux - Networking 3 10-26-2005 01:55 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Unable to ping hostname? robertmarkbram Linux - General 2 11-28-2003 12:06 AM
Unable to ping out from RH8.0 vanloke Linux - Networking 2 11-06-2003 02:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration