LinuxQuestions.org
Review your favorite Linux distribution.
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 06-03-2004, 12:55 PM   #1
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
fedora2: internet thru KPPP not recognized


Please help. This seems pretty strange. I just installed Fedora 2.

Brief:
My KPPP connects to the net but is not recognized. I have to connect by using network configuration tool, adding my modem as a device and then activating it. This works fine. But I'm so used to KPPP, esp with the auto redial if line dropped.

Detail:
Have been using red hat 7, 8 & fedora1 for quite a while. I'm mostly a gui user, xterm system & networking newbie - i use xterm only to write php & do the sqls.

I've always used KPPP to connect to the internet thru dial-up. And everything was always fine. With Fedora 2, i get connected using KPPP, but my browser, mailer does not recognize that I am connected. I get a "cannot resolve hostname" or "unable to connect to www(dot)whatever(dot)com". Even pinging a hostname does not work. The only thing I can successfully ping is the IP address i get (dynamic) and that of the ISP to which I connect.

I checked the PPP tutorial, but it suggested that there's something wrong on my linux if it works on windoze (and it does work there) and it does not provide much depth.

If i use network configuration tool (gui tool), add modem as a hardware, make my connection as a device, then the internet is recognized. At least I have it working, but I'd like to know what is wrong with KPPP.

Can anyone please help me. I'll get back with any more info if needed. Thanx.

Echo
 
Old 06-03-2004, 09:51 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
If you can ping an IP address, but can't ping a hostname, I guess the problem is resolving names. Did you try to load any webpage just by IP?
Try this:
Google's IP is (at least one of them): 216.239.51.147

Try to load google on your browser by IP. If it works, the problem is DNS, not modem or network config.
 
Old 06-04-2004, 05:08 AM   #3
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
thanx + resolv.conf?

IP works, so I guess you are right. Thanks a ton!

Now, is it something to do with resolv.conf?
If yes, what should I do there?
If no, how should I proceed?

Thanks,
Echo
 
Old 06-04-2004, 07:36 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Well, you have to figure out where is your browser trying to resolve names from.
It can be trying to resolve from some local dns daemon (and the daemon is not running, hence the problem). Or it can be trying to resolve from your ISPīs dns server and there can be some misconfiguration.

Why donīt you:

Try to bring up your dns server and see if it solves the problem (in my suse box I would do: rcdnsd start, or via yast2, but Iīm not sure on fedora).

If not, take a look in the configs from your ISP and see if they provide a dns server.

Post again if none succeed.
 
Old 06-04-2004, 09:28 AM   #5
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
thanx

Ok. I found the ISP's nameservers from /var/log/messages and added them to /etc/resolv.conf. It's working now.

Thanks, Bruno! I really appreciate you taking your time to help a new guy. I'll recommend this forum to my friends.

Thanks to this forum guys!

Warm regards,
Echo

Last edited by echo77; 06-04-2004 at 09:44 AM.
 
Old 06-04-2004, 10:57 AM   #6
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
I'm glad it worked!
Try to help more people have a nice experience with linux, that's how we get stronger.
Cheers!
 
Old 06-08-2004, 05:30 PM   #7
Belerefontis
LQ Newbie
 
Registered: Dec 2002
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
Talking

Hi,another newbie question...

Do you have to put the DNS IP's from your /var/log/mesages in /etc/resolve.conf as is or do we have to change something ?
 
Old 06-09-2004, 08:29 AM   #8
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
Yeah!
Just add the IPs to resolv.conf in the foll manner: (you'll likely have 2, or maybe 3 or just 1)

nameserver <IP address>
nameserver <IP address>
 
Old 06-09-2004, 08:40 AM   #9
Belerefontis
LQ Newbie
 
Registered: Dec 2002
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
Thanks for the reply.I managed to go online.
 
  


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
KPPP and internet zecster Mandriva 1 06-26-2005 02:20 PM
connecting to internet through kppp humble Linux - Software 3 12-27-2004 04:22 AM
Can't connect to internet - eth0 not recognized guyfromcanada Fedora 14 10-04-2004 10:30 PM
kppp works, can't get on to internet BiO|Happy Mandriva 4 05-26-2004 10:28 PM
Compiled new kernel, NIC recognized but no internet ?? Rampage2884 Linux - Networking 10 04-24-2002 09:10 PM

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

All times are GMT -5. The time now is 08:18 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