[EMAIL PROTECTED] wrote: > > *- Martin Bialasinski wrote about "Re: PPP as normal user" > | > | >> "s" == servis <[EMAIL PROTECTED]> 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
For one thing, I'm uneasy at the fact that you don't have an options file in /etc/ppp. Going by the messages in that file, having that file should be standard for Debian setups. Changes to the default in the options file would go in the /peers/provider file. I've had pppd hang as its doing to you. I narrowed my problem to the file permissions of /etc/chatscripts/provider (there are 2 'provider' files). /etc/chatscripts dir: drwxr-x--- 2 root dip 1024 Jun 22 13:34 chatscripts /etc/chatscripts/provider: -rw-r----- 1 root dip 512 Aug 14 22:29 provider -- Ed C.