URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
æÏÒÕÍ: vsluhforumID3
îÉÔØ ÎÏÍÅÒ: 2611
[ îÁÚÁÄ ]

éÓÈÏÄÎÏÅ ÓÏÏÂÝÅÎÉÅ
"ôÅÍÁÔÉÞÅÓËÉÊ ËÁÔÁÌÏÇ: FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cbcp ppp getty)"

ïÔÐÒÁ×ÌÅÎÏ auto_topic , 03-ïËÔ-03 21:13 
ïÂÓÕÖÄÅÎÉÅ ÓÔÁÔØÉ ÔÅÍÁÔÉÞÅÓËÏÇÏ ËÁÔÁÌÏÇÁ: FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cbcp ppp getty)

óÓÙÌËÁ ÎÁ ÔÅËÓÔ ÓÔÁÔØÉ: http://www.opennet.me/base/net/callback.txt.html


óÏÄÅÒÖÁÎÉÅ

óÏÏÂÝÅÎÉÑ × ÜÔÏÍ ÏÂÓÕÖÄÅÎÉÉ
"FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cbcp ppp getty)"
ïÔÐÒÁ×ÌÅÎÏ Xat , 03-ïËÔ-03 21:13 
             á ÇÄÅ ÚÁËÁÞÁÔØ ÜÔÏÔ ÓÁÍÙÊ pppd Ó ×ÏÚÍÏÖÎÏÓÔØÀ callback ÄÌÑ FreeBSD

"FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cb..."
ïÔÐÒÁ×ÌÅÎÏ McLone , 14-íÁÊ-05 21:45 
v postavke idet... nichego ne nuzhno zakachivat', krome, vozmozhno, /usr/ports/comms/mgetty+sendfax

"FreeBSD CBCP óallback Ó BSD ppp. (freebsd dialup callback cb..."
ïÔÐÒÁ×ÌÅÎÏ gr , 18-éÀÎ-05 04:47 
îÅ ÚÎÁÀ ÍÏÖÎÏ ÎÁÐÒÑÍÕÀ ÔÁË ÐÒÉÍÅÒ ÄÌÑ 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/cuaa0

set 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  pass

set 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