Re: kppp & TP Gold 2 modem help


Subject: Re: kppp & TP Gold 2 modem help
pac1@tiac.net
Date: Wed Jun 14 2000 - 21:17:08 MDT


> kppp gives me no reason in the debug window other than i was disconnected.
>
> Now, after this all happened, i can't see the modem any more. I shut it off
> and on a few more times... It seems as if the serial port has not reset...
>
> Any ideas?
>
> John Boyarsky
> Still up North, but this time with a better Inet connect... I hope!

I don't have a final answer, just some additional avenues for you to
investigate. Please e-mail me personally when you find the solution to
your problem as I'm tracking this for an "I cant connect FAQ" This
comes up a LOT!

Here's some information I dug up when I was having trouble. No
guarantee this is in any way relevant to your situation.

kppp likes to run as root and when you run it as a user it seems to
spawn a couple of other processes.

kppp invokes pppd pppd likes to run as root

[pac1@localhost pac1]$ ps -aux|grep ppp
root 636 0.0 2.2 5336 2832 ? S 18:01 0:00 kppp
root 638 0.0 4.4 8660 5624 ? S 18:02 0:00 kppp
root 639 0.0 2.9 7872 3716 ? S 18:02 0:00 kppp
root 640 0.0 0.7 2016 968 ? S 18:02 0:00 pppd
57600 -detac

[pac1@localhost pac1]$ ls /usr/sbin/pppd -lah
-rwxr-xr-x 1 root root 167k Feb 27 22:34 /usr/sbin/pppd
 [pac1@localhost pac1]$ ls /usr/sbin/kppp -lah
-rwxr-xr-x 1 root root 375k Feb 28 04:29 /usr/sbin/kppp
[pac1@localhost pac1]$ ls /usr/bin/*ppp* -lah
lrwxrwxrwx 1 root root 13 Apr 11 19:43 /usr/bin/kppp ->
consolehelper
-rwxr-xr-x 1 root root 41k Feb 28 04:29
/usr/bin/kppplogview

When you run kppp you are really running consolehelper which starts kppp
for you as root.
consolhelper is part of the pam facility. Is consolehelper what puts up
the request for root's password
every time you run kppp? I don't know but I suspect it is. (can anyone
verify?)



This archive was generated by hypermail 2a24 : Wed Jun 14 2000 - 21:19:21 MDT