LinuxQuestions.org
Review your favorite Linux distribution.
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 11-22-2005, 04:29 AM   #1
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Rep: Reputation: 15
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers


I'm running a server in my dorm room on Fedora Core 4, and all of a sudden it stopped being able to access the internet. I know that the port is ok, and I know that the network card works because I use it as a file server and everything seems to be fine that way. The problem is that I can't get to the internet at all. My laptop has no problems getting to the internet, and my server didn't when I got here initially.

To try and troubleshoot the issue, I decided that I would try to ping something, and so I started with my laptop which came back fine, but when I tried to ping 127.0.0.1, it would simply sit there forever. I can give some configuration settings if you want... any help would be greatly appreciated.

-Jalsk

eth0 Link encap:Ethernet HWaddr 00:60:97:B6:75:E1
inet addr:199.104.2.247 Bcast:199.104.2.255 Mask:255.255.255.0
inet6 addr: fe80::260:97ff:feb6:75e1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115387 errors:0 dropped:0 overruns:0 frame:0
TX packets:64188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85826216 (81.8 MiB) TX bytes:24765335 (23.6 MiB)
Interrupt:11 Base address:0xd800

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
199.104.2.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
 
Old 11-22-2005, 01:16 PM   #2
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 94

Rep: Reputation: 15
Re start the network services to see what happens .
 
Old 11-22-2005, 02:19 PM   #3
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Original Poster
Rep: Reputation: 15
actually, it does this consistently even if I restart the network services. Even if I restart the computer, it still continues to do this.
 
Old 11-22-2005, 03:34 PM   #4
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Try turning your firewall off :

/etc/init.d/iptables stop


Also check your host file. It should have something like:

127.0.0.1 localhost.localdomain localhost
 
Old 11-22-2005, 06:59 PM   #5
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Original Poster
Rep: Reputation: 15
I just checked that, the firewall is disabled and not running, and the appropriate information is in my host file. I just found out something kind of interesting... I can ping 127.0.0.1 if I SSH into my server as root, yet when I'm running Konsole in KDE, I can't. I don't understand it.
 
  


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
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 11:54 AM
Can't ping local computers tron_thomas Linux - Networking 14 07-20-2004 10:32 PM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 10:18 AM
can't ping remote but can ping local hnash53 Linux - Networking 8 01-26-2004 09:24 PM
Vector Linux : Can ping local network, can't access internet JoeLinux Linux - Networking 7 12-25-2002 11:08 AM


All times are GMT -5. The time now is 07:20 PM.

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