Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 1996 22:07:14 -0400 (EDT)
From:      John Capo <jc@irbs.com>
To:        nguyept@compassnet.com (Peter T. Nguyen)
Cc:        isp@freebsd.org
Subject:   Re: connecting to main isp via pap...
Message-ID:  <199605250207.WAA06040@irbs.irbs.com>
In-Reply-To: <199605231247.HAA02841@saratoga.compassnet.com> from "Peter T. Nguyen" at "May 23, 96 07:47:12 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605250207.WAA06040>