From owner-freebsd-isp Fri May 24 19:09:00 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA28439 for isp-outgoing; Fri, 24 May 1996 19:09:00 -0700 (PDT) Received: from irbs.irbs.com ([199.182.75.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA28432 for ; Fri, 24 May 1996 19:08:54 -0700 (PDT) Received: (from jc@localhost) by irbs.irbs.com (8.7.5/8.6.6) id WAA06040; Fri, 24 May 1996 22:07:15 -0400 (EDT) From: John Capo Message-Id: <199605250207.WAA06040@irbs.irbs.com> Subject: Re: connecting to main isp via pap... To: nguyept@compassnet.com (Peter T. Nguyen) Date: Fri, 24 May 1996 22:07:14 -0400 (EDT) Cc: isp@freebsd.org In-Reply-To: <199605231247.HAA02841@saratoga.compassnet.com> from "Peter T. Nguyen" at "May 23, 96 07:47:12 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter T. Nguyen writes: > I have an interesting problem. Presently, I have FreeBSD 2.1 installed > on my system. During installation, I also installed and recompiled > the kernel to work with ppp. here is my problem. I found out that the > ISP is using PAP to authenticate users who connect to their system. > Once connected, the server starts talking in PPP packet right away. > I can not chat nor kermit in an send-expect script. I'm getting a Why can't you use chat? You have to tell the TA to dial. > dedicated dialup connection (64K ISDN). Here is what i did, > > * % cu -l /dev/cuaa0 -s 57600 > atdt5551212 > CONNECT 57600 > }}}~#$!#!#%$!$%%!#}}}}}}~#$!#!#%$!$%%!#}}}}}}~#$!#!#%$!$%%!#}}} > }}}~#$!#!#%$!$%%!#}}} pppd -detach modem crtscts lock connect 'chat ATDT5551212 CONNECT' \ some_netmask some_address /dev/cuaa0 57600 Thats basically the same as using cu or kermit. Add whatever options you need on the command line or in /etc/ppp/options. Put your PAP password in /etc/ppp/pap-secrets. The pppd man page discusses PAP and CHAP authentication at length. Or use ppp instead, aka iijppp. `man ppp' for details. Its much more suited to the task at hand. John Capo jc@irbs.com IRBS Engineering FreeBSD Servers and Workstations (954) 792-9551 Unix/Internet Consulting - ISP Solutions