Keith:
ppp wont work unless i'm root.  in my ppp scripts i have the following:

ppp-on: exec /usr/sbin/pppd debug lock modem crtsct /dev/modem115200 \
        asyncmap 20A0000 escape FF kdebug ... more stuff
ppp-on-dialer: exec chat -v (then the TIMEOUT, etc...)


when i run ppp as non root i get the messege in var/log/messages:
pppd[3727]: pppd 2.3.3 started by blake, uid 500
pppd[3727]: Connect script failed
pppd[3727]: Exit

I upgraded my ppp to 2.3.3 because someone told me that would 
be a good idea.  I am running pppd with the debug options but dont know 
why it wont start as non user.

Minicom works just fine as nonroot.  (I did find out that using modem 
tool in the control panel screws up the permissions for the cua? port, so 
i uninstalled this.  I've screwed around with my modem device that i dont 
think i need a graphical interface to point my modem at the right port)

any ideas?????

thanks in advance

Blake
Date: Wed, 11 Mar 1998 19:52:59 -0800 (PST)
From: Keith Dart <[EMAIL PROTECTED]>
To: Redhat List <[EMAIL PROTECTED]>
Subject: Re: non root ppp
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 11 Mar 1998, Blake Thornton wrote:

> I can't get ppp to work for non root users.
> I know this is a common question, but I have searched the archive and 
> tried everything there.  Specifically I have:
> 
> chmod u+s pppd
> chmod +rwx ppp-on ppp-on-dialer ppp-off
> chmod +rwx chat
> chmod +rw /dev/cua?
> 
> when nonroot, i type ppp-on and here is what is in /var/log/messeges
> 
> Mar 11 19:28:41 localhost pppd[765]: pppd 2.3.3 started by blake, uid 500
                                            ^^^^^
Why are you using pppd 2.3? Is that coming with Red Hat now? If so, have
you installed a new kernel?


> Mar 11 19:28:42 localhost pppd[765]: Connect script failed
> Mar 11 19:28:43 localhost pppd[765]: Exit.

Please use the 'debug' keyword in your pppd command line, and put a -v
after the chat command. Then we can see what's going on.

=============================================================================
Keith Dart, Devtest Engineer                   <mailto:[EMAIL PROTECTED]>
Cisco Systems                                    phone: +1.408.527.1391
Network to User Business Unit                    pager: +1.800.365.4578
internal web page: <http://kdart-pc2.cisco.com>    fax: +1.408.527.3778
=----------------------------------------------------------------------------
 .||..||.  The network kicks butt. No excuses.
=============================================================================

Reply via email to