Re: Why doesn't pon execute in xterm window
Incoming from Paul Schwartz:
> s. keeling wrote:
> >Incoming from Paul Schwartz:
> >>s. keeling wrote:
> >>>Incoming from Paul Schwartz:
> >>>
> >>>>If I execute pon [as root or su] in a console session it works.
> >>>>
> >>>>If I do it in an xterm window [using kde and as su] it comes backwith a
> >>>>new prompt but it doesn't do anything.
> >>>>
> >>>Nothing. That's the way it's supposed to work. Now, add yourself to
> >>>group ppp and you can do it as a user too. "adduser $user ppp"
> >>>
> >>It doesn't seem to have anything to do with group ownership. I did
> >>those things, and it still doesn't work. Note that even as root [after
> >>su] it doesn't work in the xterm window..
> >
> >First, my advice was wrong; it's not group ppp, it's dialout and dip.
> >
> >Second, ... what?!? As root, at the console, pon works, but "su -c
> >pon" from an xterm doesn't work?!? That can't be.
> >
> That's basically what happens. In the xterm [under kde]
> su
> password:
> pon
>
> just returns another prompt.
>
> At a console as root, pon connects to my isp.
>
> And yes, I did use the dip group. Even though the user is a member of
... and the "dialout" group?
> dip he can't successfully execute pon [even in a console].
In /etc/ppp/peers/provider, add "-v" to the call to /usr/bin/chat,
then in another window, type "plog -f", then in the original window,
type "pon", then watch the plog output.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling
- -
Reply to: