Помогите настроить диалап во freeBSD 4.3
значить так имеется модем U.S.R 33600 Voice int PnP вот поставлен на com2. ppp.conf правил:
################################################################
# 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.2.2.4 2001/02/22 23:28:42 brian Exp $
#################################################################default:
ident user-ppp VERSION (built COMPILATIONDATE)# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device /dev/cuaa1set log Phase Chat LCP IPCP CCP tun command
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATZ OK \\dATDT\\T TIMEOUT 40 CONNECT"
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
set timeout 180 # 3 minute idle timer (the default)
add default HISADDR # Add a (sticky) default route
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 1055555
set authname guest
set authkey mtu
вот.
Затем запускаю :
#ppp -ddial papchap
Working in dial mode
Using interface: tun0
#Oct 12 12:33:35 ppp[310]: tun0: Warning :Chat Script failedи никаких признаков жизни не звонит вообще!
че делать?
У меня работает такая схема:
/etc/ppp/ppp.conf
..................
mydial:
set phone 1111111
set authname xxxxx
set authkey xxxx
set device /dev/cuaa1
set speed 57600
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATS8=8S9=40S10=100E1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT"
# ppp -ddial mydial