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 05-06-2005, 10:29 PM   #1
libchk
LQ Newbie
 
Registered: May 2005
Location: manila
Posts: 4

Rep: Reputation: 0
got kppp connection but cant browse the net


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_ubject_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
 
Old 05-06-2005, 11:52 PM   #2
nethunk
LQ Newbie
 
Registered: May 2005
Location: ahmedabad
Distribution: redhat9
Posts: 6

Rep: Reputation: 0
can u ping to the nameserver
 
Old 05-07-2005, 02:43 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
What is odd in that log is that the remote address is a private address and not a public address which is what an ISP would use. This is also confirmed in the next few lines which states their DNS address is also private. It also lists the second DNS as 255.255.255.255 which is a netmask address and not a valid ip address. Have you entered the DNS addresses given to you by the isp in your /etc/resolv.conf? If they are hooking you to their private network with a private address, which is very rare but not unheard of, then they should also tell you what the gateway address of their network is.
 
Old 05-07-2005, 03:38 AM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
Most ISP's use Dynamic IP's, Default GateWay, and Manually configured DNS which may have a host or not... You will have to get the DNS addresses from your ISP as well as the POP3, SMTP, NNTP servers for mail and news...

Also make sure your using PAP/CHAP for Authintication...

KC
 
Old 05-07-2005, 03:36 PM   #5
dhlawrence
Member
 
Registered: May 2005
Location: salem county , New Jersey
Distribution: PCLinuxOS .92
Posts: 59

Rep: Reputation: 15
This my friends is why Linux has not been able to approach the usage of Windows. This
problem has not been addressed in the last four years . That's when i started to try out
Linux. Just go google any of these kppp problems and you can read about them for the rest of
your life. For some unknown reason at least three kppp files are configured WRONG when
installed. So countless individuals download Linux ,as i did over the years, install it but
are unable to access the internet via dial-up. So it's bye bye Penguin.
If you have a normal dial-up account with an ISP, i should be able to show you what to do.
Let me know.
 
Old 05-07-2005, 04:16 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
dhlawrence this is not a totally true statement. Nearly every isp supplies automated M$ based apps that setup the networking to their system. Most users are therefore blissfully unaware of how to set up a connection manually. I started using the internet in its infancy in the mid '90's when modems connections had to be set up manually in the same way that kppp is set up. I didn't have a problem with kppp apart from the noauth switch on connection. This error wasn't hard to correct. If you want to learn about what you are doing and how it works then use Linux else don't bother and stay with M$.
 
Old 05-08-2005, 07:28 AM   #7
dhlawrence
Member
 
Registered: May 2005
Location: salem county , New Jersey
Distribution: PCLinuxOS .92
Posts: 59

Rep: Reputation: 15
I use Mepis 3.3 every day to do 90% of my surfing. Mepis is far and away the best distro
i have tried. But.........
If linux is ever to gain a big chunk of desktop usage,it must fix this kppp bull***t. When
a person puts in all the CORRECT data to configure kppp and then it does not work, it's
bye bye penguin. The vast majority are not going to do what i did,that is spend over 3hrs
reading forum posts brought up by google on linux kppp problems. Lucky for me, i found
a post where the guy had the answers and i was surfing 5 minutes later. What irks the
hell out of me is that this could easily be fixed but for some reason these geeks refuse
to do it.
I think they like linux being a tinkertoy.
 
  


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
Knoppix/KPPP and Net Connection darkwired Linux - Newbie 2 08-19-2004 07:34 AM
pclinuxos? anybody tried it, I can't browse the net frontier1 Linux - Distributions 1 12-20-2003 09:27 PM
Can't browse the net Salihou Linux - Networking 2 09-18-2003 01:18 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM
Help - Red Hat 7.1 cannot browse the net. RushB Linux - Networking 1 08-02-2001 12:23 PM


All times are GMT -5. The time now is 01:26 AM.

Main Menu
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