PDA

View Full Version : got kppp connection but cant browse the net


libchk
2005-05-06, 09:26 PM CDT
im running fedora core 3, i can connect through kpp, problem is i cant
browse i triednslookup remote host like yahoo.com but it wont resolve
neither trying to ping other remote hosts i hope anyone can help me
fixting this problem thanks.

/etc/resolv.conf
nameserver 192.168.0.8 ( my isp's nameserver )

[root@mmp ken]# nslookup

> server

Default server: 192.168.0.8
Address: 192.168.0.8#53
Default server: 255.255.255.255
Address: 255.255.255.255#53
Default server: 192.168.0.8
Address: 192.168.0.8#53
Default server: 255.255.255.255
Address: 255.255.255.255#53

> yahoo.com

;; connection timed out; no servers could be reached

May 6 11:17:39 mmp pppd[3986]: Sent 23993 bytes, received 73412 bytes.
May 6 11:17:39 mmp pppd[3986]: Connect time 5.5 minutes.
May 6 11:17:39 mmp pppd[3986]: Sent 23993 bytes, received 73412 bytes.
May 6 11:17:39 mmp pppd[3986]: Exit.
May 6 11:18:16 mmp pppd[5108]: pppd 2.4.2 started by root, uid 0
May 6 11:18:16 mmp pppd[5108]: Using interface ppp0
May 6 11:18:16 mmp pppd[5108]: Connect: ppp0 <--> /dev/ttyS0
May 6 11:18:23 mmp pppd[5108]: CHAP authentication succeeded:
Welcome!!
May 6 11:18:23 mmp pppd[5108]: Deflate (15) compression enabled
May 6 11:18:23 mmp pppd[5108]: local IP address 192.168.0.23
May 6 11:18:23 mmp pppd[5108]: remote IP address 192.168.0.8
May 6 11:18:23 mmp pppd[5108]: primary DNS address 192.168.0.8
May 6 11:18:23 mmp pppd[5108]: secondary DNS address 255.255.255.255
May 6 11:21:39 mmp su[4595]: Warning! Could not relabel with
user_u:object_r:devpts_t, not relabeling.
May 6 11:21:39 mmp su(pam_unix)[4595]: session closed for user root

# /sbin/route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.8 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
127.0.0.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
0.0.0.0 192.168.0.8 0.0.0.0 UG 0 0 0
ppp0

i changed 192.168.0.8 gateway to 192.168.0.25 ( got it from ppp0 Link
encap:Point-to-Point Protocol inet addr:192.168.0.24
P-t-P:192.168.0.8 Mask:255.255.255.255 )

# /sbin/route del default gw 192.168.0.8
# /sbin/route add default gw 192.168.0.25

search mmp.ccp.ph
nameserver 192.168.0.8
nameserver 255.255.255.255
nameserver 192.168.0.8 #kppp temp entry
nameserver 255.255.255.255 #kppp temp entry

fanman
2005-05-06, 09:59 PM CDT
I have the same exact problem. KPPP connects but does not see to find my isp dns ip addresses. Added them to to configuration but still, nothing. My solution was to use the Network Control Device.

Did a little reseach and found very little, expect it is probally a bug.

tashirosgt
2005-05-07, 10:14 AM CDT
I start kppp from the command line with an external serial modem. I find that I must configure the dialup account to have a static gateway and bring down the ethernet interface (with /sbin/ifconfig eth0 down) before starting kppp. To get a reasonable speed, I have to set the dialup connection to 57600. If it's set faster, the connection is slow.

philbert
2005-10-22, 08:50 PM CDT
I have the same exact problem. KPPP connects but does not see to find my isp dns ip addresses. Added them to to configuration but still, nothing. My solution was to use the Network Control Device.

Did a little reseach and found very little, expect it is probally a bug.
I found that the only way to connect too. kppp has major DNS issues, from what i've seen in my own experience and my whole morning browsing google for any answers - all i found were more people with the same prob. It's a good thing i'm not a programmer or else i'd feel abliged to do something about it...

pb