From: Milan P. S. <mp...@rn...> - 2002-11-29 23:23:54
|
On Fri, Nov 29, 2002 at 10:02:48AM -0500, Alfredo Salas wrote: > Nov 29 04:29:14 srv1 port[S0]: Warning - user file /etc/ppp/callback-users > has world and/or group access chmod 0600 /etc/ppp/callback-user > Nov 29 04:29:14 srv1 port[S0]: LCP terminated by peer > (JHNM-^X^@<M-Mt^@^@^@^@) > Nov 29 04:29:14 srv1 port[S0]: Hangup (SIGHUP) > Nov 29 04:29:14 srv1 port[S0]: Modem hangup > Nov 29 04:29:14 srv1 port[S0]: Connection terminated. > Nov 29 04:29:14 srv1 port[S0]: Connect time 0.1 minutes. > Nov 29 04:29:14 srv1 port[S0]: Sent 0 bytes, received 0 bytes. > Nov 29 04:29:14 srv1 port[S0]: Callback with </etc/ppp/callback-server 12 > 18> > Nov 29 04:29:14 srv1 port[S0]: Callback script failed Can you check your callback script (see bellow)? > Nov 29 04:29:14 srv1 port[S0]: Couldn't make tty exclusive: Bad file > descriptor > Nov 29 04:29:14 srv1 port[S0]: Couldn't set tty to PPP discipline: Bad file > descriptor > Nov 29 04:29:14 srv1 port[S0]: Exit. Can you try to start callback-server script manually, e.g.: /etc/ppp/callback-server 5 18 (where 5 is delay in seconds) and see if it calls number 18 > what is the12 number???.... This is DELAY parameter supplied by RADIUS, (maybe the 12 is default). > My /etc/ppp/callback-server file has no changes: > > #!/bin/sh > # Script callback-server > # Script parameters: delay time in seconds, callback number > > DELAY="$1" > NUMBER="$2" > > /usr/sbin/chat -v -t 2 "" \d+++\d\c OK ATH0 OK > sleep $DELAY s ^ What is this? Maybe this ends script prematurely? > /usr/sbin/chat -v "" ATZ OK ATD$NUMBER CONNECT > > PD. I think that it is a great beginning for the portslave callback HOW TO ^^ What this means? Milan |