This topic seems to be an elder one, but nobody around couldn't help
me. I need to setup ppp (user) to dial to my callback-ISP. Here're
useful info:

1). IPS uses PAP authentification.
2). Phone number negotiation is unsupported, I need to send it.

When using Windows ppp-dialer (really buggy), everything is OK, so
that's not ISP problem. Direct connection & authentification goes
right, but no incoming call after that. I browsed my logs & only
strange thing I found is there was no phone number I should send (at
least in the readable part, not in the packages sent). Here're my
configs (truncated with dummy logins & passwords :) - the provider
entry is "sitel":

[ /etc/ppp/ppp.conf ]

default:
 set log phase tun chat cbcp command pap
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cual0

 set speed 38400
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT"
 set timeout 180                        # 3 minute idle timer (the default)
 enable dns                             # request DNS info (for resolv.conf)
 enable vjcomp deflate deflate24 protocomp pred1
 accept vjcomp deflate deflate24 protocomp pred1
 set urgent udp +53

sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313
 
incoming:
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 set authname CALLER
 set authkey MYPASSWORD

[ /etc/ppp/ppp.secret ]

CALLER  MYPASSWORD      *       *       6661313

[ /etc/ttys ]

console none                            unknown off secure
#
ttyv0   "/usr/libexec/getty Pc"         cons25u on secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv2   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv3   "/usr/libexec/getty Pc"         cons25u on  secure
ttyv4   "/usr/libexec/getty Pc"         cons25u off secure
ttyv5   "/usr/libexec/getty Pc"         cons25u off secure
ttyv6   "/usr/libexec/getty Pc"         cons25u off secure
ttyv7   "/usr/libexec/getty Pc"         cons25u off secure
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xtermu  off secure
#
ttyd0   "/usr/libexec/getty callback1"  dialup  on
# AND SO ON...

[ /etc/gettytab ]

default:\
        :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
        :if=/etc/issue:

# my callback account
callback1|38400-baud:\
        :np:sp#38400:pp=/etc/ppp/callback.ppp:

# AND OTHERS...

[ /etc/ppp/callback.ppp ]

#!/bin/sh
echo "!!! Incoming call. Use kill -TERM $$ to kill it..." | wall -g wheel
exec /usr/sbin/ppp -direct incoming

  That's all. If have a solution or any experience in setting-up
user-ppp callback, reply (workable configs won't be out of place).

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to