From owner-freebsd-questions@FreeBSD.ORG Wed May 26 06:21:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00DA816A4D7 for ; Wed, 26 May 2004 06:21:31 -0700 (PDT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0A5C43D31 for ; Wed, 26 May 2004 06:21:30 -0700 (PDT) (envelope-from muxas@mail.ru) Received: from [81.2.56.201] (port=1043 helo=mail.ru) by mx1.mail.ru with esmtp id 1BSyKJ-000G7G-00 for freebsd-questions@FreeBSD.org; Wed, 26 May 2004 17:20:12 +0400 Message-ID: <40B499DA.9060905@mail.ru> Date: Thu, 27 May 2004 00:21:30 +1100 From: Vetrov Maxim User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: multipart/mixed; boundary="------------090305040205020906060407" X-Spam: Not detected Subject: PPPD connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: muxas@mail.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 13:21:31 -0000 This is a multi-part message in MIME format. --------------090305040205020906060407 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I can't establish connection with my ISP using pppd. I attached several files: dir - /etc/ppp/ directory layout system - output of uname -a chap-secrets | chat.vmtc | -> config files for pppd options.vmtc | I start pppd as root 'pppd file /etc/options/options.vmtc'. Then it connects to modem, dial out the number, makes connection to a peer and then after half a minute or so closes connection. There is no log information in the /var/log/ppp.log (there is a reference to ppp in a /etc/syslog.conf). So I do not know what's going on and why the connection is broken. I checked login and password in chap-secrets file - these are correct. What do I do wrong? Maxim --------------090305040205020906060407 Content-Type: text/plain; name="CHAP-SECRETS" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="CHAP-SECRETS" # Dialout format: # AFFV01586 * xxxxxxxxxxxxxx --------------090305040205020906060407 Content-Type: text/plain; name="CHAT.VMTC" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="CHAT.VMTC" ABORT ERROR ABORT 'NO DIALTONE' TIMEOUT 2 OK-''-'' ATZ OK-+++ATHZ-OK ATDP408200 ABORT 'BUSY' TIMEOUT 70 CONNECT "" --------------090305040205020906060407 Content-Type: text/plain; name="dir" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dir" total 12 drwxr-xr-x 2 root wheel 512 May 26 22:01 . drwxr-xr-x 16 root wheel 2048 May 23 00:00 .. -rw-r--r-- 1 root wheel 84 May 25 22:27 chap-secrets -rwxr-xr-x 1 root wheel 115 May 26 21:45 chat.vmtc -rwxr-xr-x 1 root wheel 157 May 26 21:45 options.vmtc -rw------- 1 root wheel 1169 Oct 9 2002 ppp.conf --------------090305040205020906060407 Content-Type: text/plain; name="OPTIONS.VMTC" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="OPTIONS.VMTC" /dev/cuaa1 115200 modem crtscts asyncmap 0 debug connect '/usr/bin/chat -v -f /etc/ppp/chat.vmtc' defaultroute noipdefault persist holdoff 2 mtu 250 mru 250 --------------090305040205020906060407 Content-Type: text/plain; name="system" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="system" FreeBSD router 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Tue May 25 21:47:44 GMT 2004 root@router:/usr/src/sys/compile/ROUTER i386 --------------090305040205020906060407--