LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-21-2004, 11:49 AM   #1
randytsx
LQ Newbie
 
Registered: Dec 2004
Location: Penang, Malaysia
Distribution: Fedora Core 1 and 2, SOT Linux, Linspire, Mandrakelinux 10.1, Damn Small Linux, etc.
Posts: 4

Rep: Reputation: 0
Arrow can't detect connection made by kPPP


I need a little help here....

My linux (Fedora Core 2) can connect to the net using kPPP without any known errors, but although I had connected to the net with kPPP, I can't browse the web, as though I am offline. Even other programs like kopete (instant messenger) can't connect too.

But when I connect to the net using the network configuration, I can browse the web, but it's very slow (1 kb / s). Why is this?

Can anyone help me plz? Thx to those who helped.
 
Old 12-22-2004, 05:43 PM   #2
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15
I had the part with the connection but no browsing.
DNS settings were asuming that I were a DNS server, so it was only asking itself for DNS adresses.

Change the configuration so that the IP of your ISP DNS server is the first entry in your
/etc/resolv.conf

You can check if this is the problem by entering an IP address in your browser instead of a DNS name.

If you can browse IP address but not DNS name this is the problem (and solution)
 
Old 12-23-2004, 01:36 AM   #3
randytsx
LQ Newbie
 
Registered: Dec 2004
Location: Penang, Malaysia
Distribution: Fedora Core 1 and 2, SOT Linux, Linspire, Mandrakelinux 10.1, Damn Small Linux, etc.
Posts: 4

Original Poster
Rep: Reputation: 0
Thx for the help, I did what u said but it didn't work. So I tried to solve this problem by entering my DNS IP Address manually, then I disabled existing DNS servers during connection. It works and I can connect using kppp and browse the web at the average speed of 5 kb / s, faster than when I browse the web with windows. Problem solved.
 
Old 12-29-2004, 09:34 AM   #4
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Rep: Reputation: 15
I dont know how to get the DNS IP Address, I ping the site wich is www.coqui.net and i put it manually and check the disable existing DNS servers during connection and it connects but very,very slow less than 1 kb/s
 
Old 12-29-2004, 10:09 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by darkangel29
I dont know how to get the DNS IP Address, I ping the site wich is www.coqui.net and i put it manually and check the disable existing DNS servers during connection and it connects but very,very slow less than 1 kb/s
I don't understand what you mean.

If you mean you don't know the IP's of your ISP's DNS servers, if you have windows, connect to the internet with the account and from a command shell type
Code:
ipconfig /all
.

Also Dissabling the ipv6 support will accelerate a lot your DNS lookups.
In FC2, you do that by adding
Code:
alias net-pf-10 off
alias ipv6 off
in /etc/modprob.conf
 
Old 12-29-2004, 10:16 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by darkangel29
I dont know how to get the DNS IP Address, I ping the site wich is www.coqui.net and i put it manually and check the disable existing DNS servers during connection and it connects but very,very slow less than 1 kb/s
hi there

u need to put an entry of u r nameserver i.e ur ISP DNS server

if u do not know what it is then , as soson as u connect to the internet using ur dialer

run this

tail /var/log/messages


there will be an entry like this
-------
Dec 27 12:54:51 gaurav kernel: PPP generic driver version 2.4.2
Dec 27 12:54:51 gaurav pppd[3727]: pppd 2.4.2 started by root, uid 0
Dec 27 12:54:51 gaurav pppd[3727]: Using interface ppp0
Dec 27 12:54:51 gaurav pppd[3727]: Connect: ppp0 <--> /dev/ttyS0
Dec 27 12:54:52 gaurav pppd[3727]: PAP authentication succeeded
Dec 27 12:54:52 gaurav kernel: PPP Deflate Compression module registered
Dec 27 12:54:53 gaurav pppd[3727]: local IP address 61.XX.XX.XX
Dec 27 12:54:53 gaurav pppd[3727]: remote IP address 202.XX.XX.XX
Dec 27 12:54:53 gaurav pppd[3727]: primary DNS address 202.XX.XX.XX
Dec 27 12:54:53 gaurav pppd[3727]: secondary DNS address 211.XX.XX.XX

-----

if u cannot find an entry liike this then do

vi /var/log/messages
and look out in the whole file for an entry like this

so u can see ur primary DNS server adress
so put that entry in ur /etc./resolv.conf like this

nameserver 202.21.12.12

where 202.21.12.12 is the primary DNS address


save this file and try browsing

regards
 
Old 12-29-2004, 04:17 PM   #7
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Rep: Reputation: 15
Thanx it works perfectly
 
Old 12-29-2004, 10:45 PM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
going further on this

the best thing is to run caching name server
for that u need to start ur named service
after putting this in to ur resolv.conf

nameserver 127.0.0.1
then
service named start


regards
 
  


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 - Little Prob - DNS Auto detect qs_tahmeed *BSD 0 08-04-2005 02:41 PM
smbmount hangs after connection is made jonfa Linux - Networking 1 06-21-2005 06:37 AM
NO pages will load after internet connection has been made! aweir14150 Mandriva 2 02-25-2004 12:38 PM
how to make tcpdump to show me only the connection made on 25? sqn Linux - Networking 1 01-29-2004 12:02 PM
internet connection STOPPED working without a change made! fede_mdk Linux - Networking 11 08-05-2003 10:26 AM

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

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