ïÂÓÕÖÄÅÎÉÅ ÓÔÁÔØÉ ÔÅÍÁÔÉÞÅÓËÏÇÏ ËÁÔÁÌÏÇÁ: FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cbcp ppp getty)óÓÙÌËÁ ÎÁ ÔÅËÓÔ ÓÔÁÔØÉ: http://www.opennet.me/base/net/callback.txt.html
á ÇÄÅ ÚÁËÁÞÁÔØ ÜÔÏÔ ÓÁÍÙÊ pppd Ó ×ÏÚÍÏÖÎÏÓÔØÀ callback ÄÌÑ FreeBSD
v postavke idet... nichego ne nuzhno zakachivat', krome, vozmozhno, /usr/ports/comms/mgetty+sendfax
îÅ ÚÎÁÀ ÍÏÖÎÏ ÎÁÐÒÑÍÕÀ ÔÁË ÐÒÉÍÅÒ ÄÌÑ rol
ÓËÒÉÐÔ ÚÁÐÕÓËÁ############### rol
#!/bin/sh
ppp -background out
sleep 20
ppp -background in############### /etc/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa0set speed 57600
set timeout 180
enable dns
#ðÒÏÆÉÌØ ÄÌÑ ÉÓÈÏÄÑÝÅÇÏ Ú×ÏÎËÁout:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0M1 OK \\dATDP\\T TIMEOUT 40 CONNECT"
#óÌÅÄÕÀÝÉÅ Ä×Å ÓÔÒÏËÉ ÜÔÏ É ÅÓÔØ ×ËÌÀÞÅÎÉÅ ÆÕÎËÃÉÉ Callback
#set callback cbcp e.164 home_number #ÎÏÍÅÒ ÎÁ ËÏÔÏÒÙÊ ÐÅÒÅÚ×ÁÎÉ×ÅÔ ÓÅÒ×ÁË
set callback auth cbcp
#set cbcp 604587 #ÎÏÍÅÒ ÎÁ ËÏÔÏÒÙÊ ÐÅÒÅÚ×ÁÎÉ×ÁÅÔ ÓÅÒ×ÁË
set phone 560056
set authname home_number:login
set authkey passset ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route#ÐÒÏÆÉÌØ ÄÌÑ ÐÒÉÎÑÔÉÑ Ú×ÏÎËÁ
in:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5\
\"\" ATA TIMEOUT 40 CONNECT"
set timeout 180
#disable pap chap ÒÁÓËÏÍÅÎÔÉÒÏ×ÁÔØ ÅÓÌÉ ÐÒÏ×ÁÊÄÅÒ ÎÅ ÚÁÐÒÁÛÉ×ÁÅÔ login É pass
#ÐÏÓÌÅ ÏÂÒÁÔÎÏÇÏ Ú×ÏÎËÁ É ÚÁËÏÍÅÎÔÉÒÏ×ÁÔØ ÓÌÅÄÕÀÝÉÅ Ä×Å ÓÔÒÏËÉ
#üÔÉ ÎÁÓÔÒÏÊËÉ ÖÅÌÁÔÅÌØÎÏ ÐÏÄÏÂÒÁÔØ ÜËÓÐÅÒÅÍÅÎÔÁÌØÎÏ.
set authname home_number:login
set authkey password
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR#ðÒÏÆÉÌØ ðÒÏ×ÁÊÄÅÒÁ ÂÅÚ callback-Á
ukrÅtelekom:
set phone 123356
set authname login
set authkey pass
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT-OK-AT-OK ATE1Q0M1 OK \\dATDP\T TIMEOUT 40 CONNECT"
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR