From owner-freebsd-questions Thu Jun 18 04:18:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12168 for freebsd-questions-outgoing; Thu, 18 Jun 1998 04:18:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Chg.RU (netserv1.chg.ru [193.233.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12153 for ; Thu, 18 Jun 1998 04:18:17 -0700 (PDT) (envelope-from vam@icp.ac.ru) Received: from icp.ac.ru (icp.ac.ru [193.233.43.3]) by Chg.RU (8.8.8/8.8.3) with ESMTP id PAA21722 for ; Thu, 18 Jun 1998 15:18:44 +0400 (MSD) Received: (vam@localhost) by icp.ac.ru (8.8.7/8.6.5) id PAA09727 for freebsd-questions@freebsd.org; Thu, 18 Jun 1998 15:17:30 +0400 (MSD) Received: (vam@localhost) by icp.ac.ru (8.8.7/8.6.5) id PAA09692 for vam; Thu, 18 Jun 1998 15:09:23 +0400 (MSD) Date: Thu, 18 Jun 1998 15:09:23 +0400 (MSD) From: "Victor Anisimov." Posted-Date: Thu, 18 Jun 1998 15:09:23 +0400 (MSD) Message-Id: <199806181109.PAA09692@icp.ac.ru> Reply-To: vam@icp.ac.ru To: freebsd-questions@FreeBSD.ORG Subject: ppp connection problems Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear All, Could you please help me to configure my ppp access to internet service provider running Annex server. I'm running FreeBSD 2.2.6. tcp_extensions set to NO. Small packet size was set up too. But server drops connection and I have no any idea what to do. At the same I connect to the same my ISP on the fly from Windows NT. Here is my ppp.conf contents: megabit7: enable pap disable pppd-deflate disable deflate set openmode passive set device /dev/cuaa0 set speed 115200 set log Phase Chat Connect Carrier LCP IPCP CCP tun command set mru 296 set mtu 296 set dial 1 5 set phone 9w2345610 set login "TIMEOUT 150 ername:--ername: mylogin word: mypasswd annex: ppp" set authname mylogin set authkey mypasswd set stopped 30 set timeout 150 set ifaddr 195.16.101.223 195.16.101.1 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 150 CONNECT" set redial 1 5 delete ALL add 0 0 HISADDR Here is log file: Jun 18 12:49:08 simaz ppp[276]: tun0: Phase: Phone: 9w2345610 Jun 18 12:49:08 simaz ppp[276]: tun0: Chat: Sending: ATDT9w2345610^M Jun 18 12:49:08 simaz ppp[276]: tun0: Chat: Expecting: CONNECT Jun 18 12:49:08 simaz ppp[276]: tun0: Chat: Wait for (150): CONNECT Jun 18 12:49:08 simaz ppp[276]: tun0: Connect: ^M Jun 18 12:49:41 simaz ppp[276]: tun0: Connect: ATDT9w2345610^M^M Jun 18 12:49:41 simaz ppp[276]: tun0: Connect: CONNECT Jun 18 12:49:41 simaz ppp[276]: tun0: Chat: Expecting: ername:--ername: Jun 18 12:49:41 simaz ppp[276]: tun0: Chat: Wait for (150): ername: Jun 18 12:49:41 simaz ppp[276]: tun0: Connect: 19200/ARQ/V34/LAPM/V42BIS^M Jun 18 12:50:12 simaz ppp[276]: tun0: Connect: ^M Jun 18 12:50:12 simaz ppp[276]: tun0: Connect: Checking authorization, Please wait...^M Jun 18 12:50:12 simaz ppp[276]: tun0: Connect: Annex username: Jun 18 12:50:12 simaz ppp[276]: tun0: Chat: Sending: mylogin^M Jun 18 12:50:12 simaz ppp[276]: tun0: Chat: Expecting: word: Jun 18 12:50:12 simaz ppp[276]: tun0: Chat: Wait for (150): word: Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: simaz^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: Annex password: Jun 18 12:50:14 simaz ppp[276]: tun0: Chat: Sending: mypasswd^M Jun 18 12:50:14 simaz ppp[276]: tun0: Chat: Expecting: annex: Jun 18 12:50:14 simaz ppp[276]: tun0: Chat: Wait for (150): annex: Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: ^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: ^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: Permission granted^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: Thu Jun 18 12:49:24 1998^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: 12:49:24^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: ^M Jun 18 12:50:14 simaz ppp[276]: tun0: Connect: annex: Jun 18 12:50:14 simaz ppp[276]: tun0: Chat: Sending: ppp^M Jun 18 12:50:14 simaz ppp[276]: tun0: LCP: State change Initial --> Closed Jun 18 12:50:14 simaz ppp[276]: tun0: LCP: State change Closed --> Stopped Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: Received Configure Request (1) state = Stopped (3) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACCMAP[6] 0x000a0000 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: MAGICNUM[6] 0x64cb1918 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: PROTOCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACFCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: LcpSendConfigReq Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACFCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: PROTOCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: MRU[4] 296 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: MAGICNUM[6] 0x4d8fbc78 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: SendConfigAck(Stopped) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACCMAP[6] 0x000a0000 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: MAGICNUM[6] 0x64cb1918 Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: PROTOCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: ACFCOMP[2] Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: State change Stopped --> Ack-Sent Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: Received Configure Ack (1) state = Ack-Sent (8) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: State change Ack-Sent --> Opened Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: LcpLayerUp Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: NewPhase: Authenticate Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: his = PAP, mine = PAP Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: PAP: mylogin Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: PapInput: REQUEST Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: PapOutput: NAK Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: NewPhase: Terminate Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: LcpLayerDown Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: SendTerminateReq. Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: State change Opened --> Closing Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: PapInput: REQUEST Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: PapOutput: NAK Jun 18 12:50:15 simaz ppp[276]: tun0: Phase: NewPhase: Terminate Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: Received Terminate Ack (2) state = Closing (4) Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: State change Closing --> Closed Jun 18 12:50:15 simaz ppp[276]: tun0: LCP: LcpLayerFinish Jun 18 12:50:16 simaz ppp[276]: tun0: Phase: Modem: Connect time: 70 secs: 174 octets in, 205 octets out Jun 18 12:50:16 simaz ppp[276]: tun0: Phase: total 5 bytes/sec Jun 18 12:50:16 simaz ppp[276]: tun0: Phase: NewPhase: Dead If you can help please reply me directly. Thank you very much for advance! Victor. --- Victor Anisimov vam@icp.ac.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message