Re: PPP as normal user
*- Martin Bialasinski wrote about "Re: PPP as normal user"
|
| >> "s" == servis <servis@purdue.edu> writes:
|
| [...]
|
| You forgot to answer my question :-)
|
| What happens if you just type /usr/sbin/pppd at the prompt (as user
| servis)? Will it run or issue an error message?
|
| When I do this, pppd starts and begins sending LCP packages.
|
| Aug 26 22:43:45 haitech kernel: PPP: version 2.2.0 (dynamic channel allocation)
| Aug 26 22:43:45 haitech kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
| Aug 26 22:43:45 haitech kernel: PPP line discipline registered.
| Aug 26 22:43:45 haitech kernel: registered device ppp0
| Aug 26 22:43:46 haitech pppd[707]: pppd 2.3.5 started by martinb, uid 1000
| Aug 26 22:43:46 haitech pppd[707]: Using interface ppp0
| Aug 26 22:43:46 haitech pppd[707]: Connect: ppp0 <--> /dev/ttyp1
| Aug 26 22:43:46 haitech pppd[707]: sent [LCP ConfReq id=0x1 <magic 0xe17b> <pcomp> <accomp>]
| Aug 26 22:44:13 haitech last message repeated 9 times
| Aug 26 22:44:16 haitech pppd[707]: LCP: timeout sending Config-Requests
| Aug 26 22:44:16 haitech pppd[707]: Connection terminated.
| Aug 26 22:44:17 haitech pppd[707]: Exit.
|
| How about you?
|
Sorry.
Issuing pppd at servis' prompt without any options send LCP packets
to the tty and the following in the log.
Aug 26 16:30:33 brian pppd[3840]: pppd 2.3.5 started by servis, uid 6262
Aug 26 16:30:33 brian pppd[3840]: Using interface ppp0
Aug 26 16:30:33 brian pppd[3840]: Connect: ppp0 <--> /dev/ttyp0
Aug 26 16:31:03 brian pppd[3840]: LCP: timeout sending Config-Requests
Aug 26 16:31:03 brian pppd[3840]: Connection terminated.
Aug 26 16:31:04 brian pppd[3840]: Exit.
If I issue 'pppd call provider' at servis' prompt I get the prompt back
immediately and in the log I only get:
Aug 26 19:03:16 brian pppd[3872]: pppd 2.3.5 started by servis, uid 6262
It never exits however. It has probably detached from the tty but no
logs show any activity. I have to explicitly kill the pid.
If I issue 'pppd file /etc/ppp/peers/provider' then it seg faults!!!!!
% pppd file /etc/ppp/peers/provider
Segmentation fault
But a strace on the above won't even run!
% strace -f /usr/sbin/pppd file /etc/ppp/peers/provider
execve("/usr/sbin/pppd", ["/usr/sbin/pppd", "file", "/etc/ppp/peers/provider"], [/* 35 vars */]) = 0
strace: exec: Operation not permitted
I am about ready to give up!
Thanks for all your help,
--
Brian
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
- unknown
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: