Date: Thu, 18 Jun 1998 21:24:01 +0100 From: Brian Somers <brian@Awfulhak.org> To: vam@icp.ac.ru Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp connection problems Message-ID: <199806182024.VAA10300@awfulhak.org> In-Reply-To: Your message of "Thu, 18 Jun 1998 15:09:23 %2B0400." <199806181109.PAA09692@icp.ac.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
<http://www.Awfulhak.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806182024.VAA10300>
