Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th December 2003, 06:47 AM
pueyguan Offline
Registered User
 
Join Date: Dec 2003
Posts: 4
Able to connect but can't surf, ping or host.

Hey, I've been having this problem for quite some time. I'm able to connect, but i can't surf, ping or host. I figured a way to solve this but I don't think it's right. please help.

Here are the output and the thigns i do:-

Not working (can't surf, ping or host)
----------------------------------------------------------------------------

[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:05:0D:33:EA
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8864 (8.6 Kb) TX bytes:9905 (9.6 Kb)
Interrupt:11 Base address:0x9000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1712 errors:0 dropped:0 overruns:0 frame:0
TX packets:1712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1262924 (1.2 Mb) TX bytes:1262924 (1.2 Mb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:219.95.243.26 P-t-P:219.93.218.177 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:146 (146.0 b) TX bytes:54 (54.0 b)

[root@localhost root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
219.93.218.177 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost root]#

Things I did :-
----------------------------------------------------------------------------
[root@localhost root]# ifconfig eth0 netmask 255.255.255.255
[root@localhost root]# ifconfig eth0 netmask 255.255.255.0

Activat the ppp0 in network


Working output (able to surf, ping and host)
----------------------------------------------------------------------------
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:05:0D:33:EA
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1998 errors:0 dropped:0 overruns:0 frame:0
TX packets:2007 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1314041 (1.2 Mb) TX bytes:275124 (268.6 Kb)
Interrupt:11 Base address:0x9000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1752 errors:0 dropped:0 overruns:0 frame:0
TX packets:1752 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1265512 (1.2 Mb) TX bytes:1265512 (1.2 Mb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:219.94.81.158 P-t-P:219.93.218.177 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:401 errors:0 dropped:0 overruns:0 frame:0
TX packets:410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:254538 (248.5 Kb) TX bytes:48236 (47.1 Kb)

[root@localhost root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
219.93.218.177 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 219.93.218.177 0.0.0.0 UG 0 0 0 ppp0


------------------------- end --------------------------------

Thanx in advance.
Reply With Quote
  #2  
Old 19th December 2003, 09:35 AM
odysseus Offline
Registered User
 
Join Date: Dec 2003
Posts: 17
if you are connected, but cant ping adresses, its beacause of dns resolution.

in /etc/resolv.conf there should ips of dns servers listed, otherwise dns is not available...
Reply With Quote
  #3  
Old 19th December 2003, 01:47 PM
pueyguan Offline
Registered User
 
Join Date: Dec 2003
Posts: 4
Quote:
Originally Posted by odysseus
if you are connected, but cant ping adresses, its beacause of dns resolution.

in /etc/resolv.conf there should ips of dns servers listed, otherwise dns is not available...
hmmm... there are settings in my resolv.conf, I'll just copy and paste it...

; generated by /sbin/dhclient-script
search localdomain
nameserver 202.188.0.133
nameserver 202.188.1.5


It seems like the dns server, the ip above for my isp is right. bno idea bout the rest though.
Reply With Quote
  #4  
Old 19th December 2003, 01:57 PM
pueyguan Offline
Registered User
 
Join Date: Dec 2003
Posts: 4
I read somewhere regarding dhcp and dhcpcd. basically, what does dhcp and dhcpcd do?

I tried to see if I have dhcp and dhcpcd installed using "rpm -qa|grep dhcp" and "rpm -qa|grep dhcpcd". I have only a result for ""rpm -qa|grep dhcp" which is "dhcp-3.0pl2-6.16"

must I install dhcpcd? can this be the problem? thanx again in advance.
Reply With Quote
  #5  
Old 19th December 2003, 05:38 PM
pueyguan Offline
Registered User
 
Join Date: Dec 2003
Posts: 4
finally.. able to find an alternative solution to it though it's not really fixing it.

Well, I kinda decided to use "rp-pppoe". Somehow I think the,
"169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 " from the "route -n" result(see post 1) is the one that disable me from receiving any packets from remote sites.

I did a "route -n" using rp-pppoe, the output:-
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
219.93.218.177 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 219.93.218.177 0.0.0.0 UG 0 0 0 ppp0

notice that the 169.254.0.0 still there but for device lo. I guess if this settings for the route -n problem before is for lo and not eth0, i guess I would not face this problem.

Well, if anyoen who have problem surfing, ping, etc but connected using xDSL, I guess I owuld recommend one solution is rp-pppoe. Do read the documentation on "how-to-connect.txt". Make sure the eth0 is disable at boot time too.

If anyone do have a solution on how to solve the problem before, please do contribute. Thanx in advance.
Reply With Quote
Reply

Tags
connect, host, ping, surf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
i can ping but i can not surf ALonon Servers & Networking 25 3rd August 2008 09:16 PM
ARP failing when I ping from host to KVM guest kewlemer Servers & Networking 0 2nd November 2007 01:31 AM
ath0 is activated and I can ping host BUT hnt Servers & Networking 5 24th May 2007 01:11 AM
CAN host, dig, nslookup, CANT ping BigRedNJ Servers & Networking 14 3rd June 2005 09:22 PM
cant ping a remote host libchk Using Fedora 2 7th May 2005 02:05 PM


Current GMT-time: 04:58 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat