From owner-freebsd-questions Thu Jun 18 13:54:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11333 for freebsd-questions-outgoing; Thu, 18 Jun 1998 13:54:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11261 for ; Thu, 18 Jun 1998 13:54:07 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA10300; Thu, 18 Jun 1998 21:24:01 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806182024.VAA10300@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: vam@icp.ac.ru cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp connection problems In-reply-to: Your message of "Thu, 18 Jun 1998 15:09:23 +0400." <199806181109.PAA09692@icp.ac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Jun 1998 21:24:01 +0100 From: Brian Somers 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 Remove the above line. [.....] > 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 Both sides require the other to authenticate. > 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 And you tell your ISP that they're wrong :-) > 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 Still wrong.... > 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! Re-read the bits of the man page on PAP (the description gets better with the latest ppp releases). If you ``enable pap'', you're requiring that the peer authenticates themself. > Victor. > > --- > Victor Anisimov > vam@icp.ac.ru -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message