#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
#################################################################default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
# Ensure that "device" references the correct serial port
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
set device /dev/ttyU0
set speed 115200
set mtu maximum 576
set redial 10 10
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
#AT+CGDCONT=1,\\\"IP\\\",\\\"internet.volga\\\",\\\"0.0.0.0\\\",0,0 OK\
AT+CGDCONT=1,\\\"IP\\\",\\\"internet.beeline.ru\\\",\\\"0.0.0.0\\\",0,0 OK\
AT+CGATT=1 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set logout "ABORT BUSY ABORT ERROE TIMEOUT 30 \
\"\"+++ATH OK-ATH-OK AT+CGATT=0 OK"
set timeout 0 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
#papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
#set phone *99\#
set phone *99***1\#
set authname USERNAME
set authkey PASSWORD
set ifaddr 0/0 0/0 0/0
add default HISADDR # Add a (sticky) default route
# end $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
%ppp
Working in interactive mode
Using interface: tun0
ppp ON freebsd> dial
ppp ON freebsd>
Ppp ON freebsd> Warning: deflink: Oops: Got 42 bytes but 46 byte payload - dropped
Warning: deflink: Oops: Got 42 bytes but 46 byte payload - dropped
PPp ON freebsd>
PPP ON freebsd>
вобчем, нужна строка инициализации твоего жопорезного кровососа....
вот эта AT+CGDCONT=1,\\\"IP\\\",\\\"internet.beeline.ru\\\"