LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-03-2006, 11:24 PM   #1
DevlinX
LQ Newbie
 
Registered: Jun 2006
Posts: 9

Rep: Reputation: 0
FC5 could not access to internet issue


I have FC5 installed in the Laptop and I could surf to the internet without any issue till this morning. I had no problem last night, however, this morning, as I tried to open one of the website, I could not open the web. Then, I tried another web, still had same problem. So, I logged out and logged in my WinXP, my laptop has dual OS, I still could not access to the internet. Then, I made a call to the front desk, satying in a hotel, and they said the internet had some issue.

After the breakfast, tried to connect to the website, it worked. So, I switched to my FC5, but I could not access to the website. I wondered if my ethernet did not work and took some action to check the settings.

1.Run ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:6E:BD:32:A9
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
The result looks fine, I think, please correct me if it wrong.

2. Ping
Ping gmail.com
Ping: Unknown host gmail.com

Ping 216.239.37.99
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

I only can ping myself.

3. Route
Kernel IP routing table
Destination Gatwway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

I have no idea about the result.

4. Check Resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.1.1
search localdomain

5. ifcfg-eth0
#Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
Device=eth0
Bootprotp=dhcp
Hwaddr=00:0C:6E:BD:32:A9
Onboot=yes

After the above steps, I still can not figure out the trouble. Then, thinking about what did I do for the FC5 last night? Only onething I did for my FC5 is
put the following command in /etc/fstab
/dev/hda1 /mnt/WinXP vfat defaults 0 0

But, I don't think it the root cause since I restated the system and I could surf to the internet with no issue.

anyone can help me with this?
 
Old 07-03-2006, 11:53 PM   #2
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: Disabled
Ping 216.239.37.99
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

I only can ping myself.

3. Route
Kernel IP routing table
Destination Gatwway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

I have no idea about the result.

==>> Seems your default route has some problem.
From the ping it shows that your ip address is 192.168.1.1,
but defaut route's gateway is also 192.168.1.1
Try to set the default route properly and check if it works
 
Old 07-04-2006, 01:48 AM   #3
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
Pronoy , please try to quote things using the quote button , to make things clearer.

DevLinX
It looks like your default gateway is not able to send packets beyond it.
The ping response says that from the gateway the host is unreachable , which means the issue is a routing problem at the gateway .
The default route seems to be set properly .

So I would suggest troubleshooting it at the gateway level.You can try pinging to the gateway first to make sure of this.Its also possible that the firewall at the gateway has blocked icmp. So you can try telnet to any Web server public ip port 80.
 
Old 07-07-2006, 07:12 AM   #4
DevlinX
LQ Newbie
 
Registered: Jun 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pronoy
Ping 216.239.37.99
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

I only can ping myself.

3. Route
Kernel IP routing table
Destination Gatwway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

I have no idea about the result.

==>> Seems your default route has some problem.
From the ping it shows that your ip address is 192.168.1.1,
but defaut route's gateway is also 192.168.1.1
Try to set the default route properly and check if it works
Hi, Pronoy

Thank you for your reply.
I re-installed FC5 again and I could access to the internet properly till last night. It happened again and I am quite sure that I did not change the system. So, can you instruct me how to find out the problem? Since I am staying in a hotel and I have no idea how to check the default route properly.
 
Old 07-07-2006, 07:16 AM   #5
DevlinX
LQ Newbie
 
Registered: Jun 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nabeelmoidu
Pronoy , please try to quote things using the quote button , to make things clearer.

DevLinX
It looks like your default gateway is not able to send packets beyond it.
The ping response says that from the gateway the host is unreachable , which means the issue is a routing problem at the gateway .
The default route seems to be set properly .

So I would suggest troubleshooting it at the gateway level.You can try pinging to the gateway first to make sure of this.Its also possible that the firewall at the gateway has blocked icmp. So you can try telnet to any Web server public ip port 80.
Hi nabeelmoidu,

I ping the gateway and I think it works. Can you help me how to telnet to any web server public ip port 80? Is the following command correct?
telnet gmail.com:80
Thanks
 
  


Reply



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
Squid DNS issue in FC5 paulqwinn Linux - Networking 3 02-02-2007 12:33 PM
FC5 Wifi Issue EUMan24 Linux - Hardware 8 07-26-2006 08:42 AM
pyorbit version issue with gdesklets on FC5 GPD1310 Linux - Software 3 05-25-2006 08:11 PM
FC5 Graphic display issue abcd_test Fedora 2 04-27-2006 06:59 PM
Sendmail /etc/mail/access issue (access.db) CactusS4 Linux - General 0 05-22-2004 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration