Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 1997 15:15:14 +1000
From:      Robert Chalmers <robert@chalmers.com.au>
To:        Stephane Raimbault <stephane@freenet.mb.ca>
Cc:        FreeBSD-questions <questions@FreeBSD.ORG>
Subject:   Re: pap script problems...
Message-ID:  <33DAD961.413703C2@chalmers.com.au>
References:  <33DAD430.41C67EA6@freenet.mb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephane Raimbault wrote:

> My ISP uses a PAP system for users to log in.  My script does not seem
>
> to work properly.  This is what I do to connect to the INET for now.
>

Stephane,               I recently went through the hoops with this lot.
IF your ISP is using NT.4
then you are out of luck UNLESS you can talk them into disabling the
Microsoft encoded PAP
requirement.
MS does it's own thing, which nothing else in the world will talk to. I
ran up a zillion dollars
in phone calls trying to get around this, had endless help from good
folk on the net. nada. nothing. zippo.
Until I talked the other end into turning OFF the microsoft PAP CHAP
requirement, I could not
get a connection.
I also found out. If they have just set up the DEFAULT connection type,
then CHAP is the default
protocol...

in short. Save yourself YEARS of frustration. If it's an NT you are
connecting to, and they wont
turn off PAP/CHAP, go elsewhere.

cheers,
Bob



> ________________________________________________________________________
>
> stephane# ppp papsite
> User Process PPP. Written by Toshiharu OHNO.
> Log level is 09
> can't open /etc/ppp/ppp.secret.
> Warning: No password entry for this host in ppp.secret
> Warning: All manipulation is allowed by anyone in the world
> Using interface: tun0
> Interactive mode
> ppp ON stephane> term
> Enter to terminal mode.
> Type `~?' for help.
> at
> OK
> atdt2502663
> CONNECT 31200/ARQ
> ppp ON stephane> Packet mode.
>
> PPP ON stephane>
> ________________
> _______________________________________________________
> If you cant figure what I've done well this is what I've done.  ppp
> papsite (No explanation needed).  I go in term to dial number then
> once
> connected I go to packet mode (~p) and then it seems to log me in
> fine.
> _____
> __________________________________________________________________
>
> This is my ppp.conf file:
>
> _________________________
> ______________________________________________
> default:
>  set device /dev/cuaa1
>  set speed 38400
>  disable lqr
>  deny lqr
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\"
> AT&F&C1&D2S95=3
> OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
> papsite:
>  set phone 123-4567
>  set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
>  deny chap
>  accept pap
>  set authname MyUserName
>  set authkey MyPassword
> _______________________
> ________________________________________________
> All I changed in the above is the set authname and set authkey fields
> so
> that you can't see my username and passwd.  I am unsure if I should
> put
> my username and passwd where it is written ppp in the set login line.
> I
> also changed the set phone line so the number is not displayed (My ISP
>
> doesn't want the number to get out to those who don't have an account
> there)
> ______
> _________________________________________________________________
>
> This is what happens when I simply dial:
> ________________________________________
> _______________________________
> stephane# ppp papsite
> User Process PPP. Written by Toshiharu OHNO.
> Log level is 09
> can't open /etc/ppp/ppp.secret.
> Warning: No password entry for this host in ppp.secret
> Warning: All manipulation is allowed by anyone in the world
> Using interface: tun0
> Interactive mode
> ppp ON stephane> dial
> Dial attempt 1
> dial OK!
> login failed.
> ppp ON stephane>
> ________________
> _______________________________________________________
>
> Any help would be great!
> Thank you for your time,
> Stephane Raimbault



--
http://www.chalmers.com.au Books-New & Secondhand  Support Whirled Peas.

Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS.

Books about China, books from China.         Sheng huo jiu shi dou zheng

Business Links in Dalian, and Beijing.          Building the China Trade






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33DAD961.413703C2>