LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2004, 12:03 AM   #1
Phantomas
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 24

Rep: Reputation: 15
Angry KPPP connection problems


Hi. I'm having difficulties setting up KPPP.

At first i couldn't establish a connection at all, as pppd was crashing on me. I fixed that by setting the noauth option in /etc/ppp/options.

So now i can establish a connection to my isp, and i get the kppp connection thing in the system tray. The problem is, none of my programs are using it. I can't even use ping.

Any ideas what's going on here? I can connect fine using pon btw....
 
Old 02-26-2004, 02:16 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Is there any reason why you don't want to use pon? I used to use it when I had a dial up and I never had a problem with it. I know it's not graphical or anything but it's so wonderfully simple and easy going on the system resources.
 
Old 02-26-2004, 02:22 AM   #3
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
It sounds like your not setting it to use the connection as the default route. It's one of the settings in kppp




post the output of these commands after connecting

route -n

cat /etc/resolv.conf

ifconfig



Last edited by DavidPhillips; 02-26-2004 at 02:24 AM.
 
Old 02-26-2004, 02:33 AM   #4
Phantomas
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 24

Original Poster
Rep: Reputation: 15
My isp kicks me off every 2 hours, so i'd like to have a graphical way of seeing how long i've been online, rather than having to su and run plog...

That and i'm interested in finding out how much i'm spending on local phone calls, using kppp's accounting stuff.

I've got the "Assign the default route to this gateway" option checked under the 'Gateway' tab. As far as i know, i've got the correct DNS addresses set aswell.

I've got the 'domain name' field under the 'DNS' tab empty. Could this be an issue? What goes in here?

I'll drop this connection and get back to you with the results of those commands...

Last edited by Phantomas; 02-26-2004 at 02:35 AM.
 
Old 02-26-2004, 02:47 AM   #5
Phantomas
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 24

Original Poster
Rep: Reputation: 15
Here they are:

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
134.148.10.243 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
0.0.0.0 134.148.10.243 0.0.0.0 UG 0 0 0 ppp0


cat /etc/resolv.conf
nameserver 134.148.24.1 #kppp temp entry
nameserver 134.148.24.3 #kppp temp entry


ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:241:4C:F1
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xe800

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:456 errors:0 dropped:0 overruns:0 frame:0
TX packets:456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32530 (31.7 KiB) TX bytes:32530 (31.7 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.1 P-t-P:134.148.10.243 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:1 dropped:0 overruns:0 frame:0
 
Old 02-26-2004, 03:20 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
looks ok, do you have a firewall on the system? Maybe dns is blocked
 
Old 02-26-2004, 03:47 AM   #7
Phantomas
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 24

Original Poster
Rep: Reputation: 15
I'm pretty sure that i don't.

If it was a firewall, wouldn't it be blocking dns when i connected with pon?
 
Old 02-26-2004, 04:10 AM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Not sure, I have not use pon, but on RedHat using the Network Control GUI or ifup modifies the firewall on connect, kppp does not.
 
Old 02-26-2004, 05:03 AM   #9
Phantomas
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 24

Original Poster
Rep: Reputation: 15
i don't think i've got any firewall install. Unless Debian installs one by default. What would i be looking for to find out?
 
Old 02-26-2004, 05:30 AM   #10
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
check the output of this command..


iptables -L


Another test would be to ping an ip address, like this one

ping 64.179.4.146 or try the ip in your browser

Last edited by DavidPhillips; 02-26-2004 at 05:42 AM.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kppp, connection problems darkangel29 Linux - Software 3 11-12-2005 01:09 AM
KPPP keeps redialing, even after connection. microsoft/linux Debian 1 07-09-2005 01:50 AM
KPPP connection wlaw Linux - Newbie 4 06-27-2004 04:01 PM
kppp connection to Freeserve on Mandrake problems msisto Linux - Networking 1 08-12-2003 03:11 PM
kppp connection problems Pimple Linux - General 0 03-29-2002 12:37 AM


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