🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56877

Re: PPP script, PAP problems

#56877
From: Steve Vandiver
Date: Sun, 15 Dec 1996 00:00
50 lines
2730 bytes
Richard Ashton wrote:
> 
> Hello Everyone, yes its me again,
> 
> I am very close to getting ppp access to my isp, but I am still
> having problems,
> This is my new connect file called "ans.ppp"
> 
>         exec pppd connect 'chat -f chatscript' /dev/ttyS1
> 
> This is the file "chatscript"
> 
>         ABORT BUSY ABORT "NO CARRIER" TIMEOUT 45 '' ATZ OK /
>         ATDT$???????? CONNECT
> 
> In case you were wondering my isp uses PAP for authentication.when I run
> the file "ans.ppp", all goes well until PAP, then the connection is
> terminated, I have set up my /etc/ppp/pap-secrets file as below...
> 
>         #PAP authentication file
>         #dynamic ip allocation
>         #client         server          secret
>         username        *               password
> 
> Finally here is a copy of my /var/log/messages output when I connect,
> 
> Dec 15 16:35:16 localhost pppd[301]: pppd 2.2.0 started by root, uid 0
> Dec 15 16:35:39 localhost pppd[301]: Serial connection established.
> Dec 15 16:35:40 localhost pppd[301]: Using interface ppp0
> Dec 15 16:35:40 localhost pppd[301]: Connect: ppp0 <--> /dev/ttyS1
> Dec 15 16:35:43 localhost pppd[301]: PAP authentication failure for
> Dec 15 16:35:43 localhost pppd[301]: Connection terminated.
> Dec 15 16:35:43 localhost pppd[301]: Exit.
> 
> I think I am pretty close to getting this up and running but still need
> a little more help, any Ideas why my PAP is failing to authenticate
> would be appreciated, also thanks to all the replys I have had to the
> other postings in the past,  Richard.


Your chat script is working if you got that far, however your pppd isn't. One minor thing to 
check, some ISP are picky about whitespace in your pap-secrets file, use TABS not SPACES.

-- 
      /_/_/_/   Steve 'Buxx' Vandiver Billings, Mo, USA  
     _/   _/   mailto:buxx@buxx.com http://www.buxx.com
    _/_/_/    _/   _/  _/ _/  _/ _/  "Find out what you 
   _/   _/  _/   _/    _/     _/    don't do well, then 
 /_/_/_/   _/_/_/   _/ _/  _/ _/   don't do it"  -  Alf
Technical Details
Message-ID: <32B41D84.16ED@buxx.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <32B396D7.4ACB@ans.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,93f9be25d0a6c7aa
X-Google-Attributes: gid10669a,public
X-Google-Thread: 102983,93f9be25d0a6c7aa
X-Google-Attributes: gid102983,public
From: Steve Vandiver <buxx@buxx.com>
Subject: Re: PPP script, PAP problems
Date: 1996/12/15
Message-ID: <32B41D84.16ED@buxx.com>
X-Deja-AN: 204266061
references: <32B396D7.4ACB@ans.com.au>
content-type: text/plain; charset=us-ascii
organization: <<< Buxx's Stuff>>>>
x-netcom-date: Sun Dec 15  7:46:55 AM PST 1996
mime-version: 1.0
newsgroups: aus.computers.linux,comp.os.linux.networking
x-mailer: Mozilla 2.0 (Win95; I)