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.