Azher amin wrote:
> 
> Thanx for a nice reply.
> 
> Now I am able to connect to an ISP with CISO AS5300 Access Server using PAP
> with your help. But when I try to connect to another ISP with BAY NETWORKS
> Versalar, then I got the following message in my /var/log/messages
> 
> Jan 14 09:11:22 masq pppd[3664]: Serial connection established.
> Jan 14 09:11:22 masq pppd[3664]: Using interface ppp0
> Jan 14 09:11:22 masq pppd[3664]: Connect: ppp0 <--> /dev/ttyS1
> Jan 14 09:11:53 masq pppd[3664]: LCP: timeout sending Config-Requests
> Jan 14 09:11:53 masq pppd[3664]: Connection terminated.
> Jan 14 09:11:53 masq pppd[3664]: Connect time 0.6 minutes.
> Jan 14 09:11:53 masq chat[3666]: send (\K)
> Jan 14 09:11:54 masq pppd[3664]: Serial link disconnected.
> Jan 14 09:11:55 masq pppd[3664]: Exit.
> 
> However if I try to connect using Windows NT with "Authenticate using Any
> Protocol" I get connected without any problem.
> 
> My options file:
> ==========
> [root@masq ppp]# more options.ttyS1
> /dev/ttyS1
> 115200
> modem
> mtu 576
> mru 576
> asyncmap 0
> connect "/usr/sbin/chat -v -f /etc/ppp/chat.line2"
> disconnect "/usr/sbin/chat -v -f /etc/ppp/logout"
> crtscts
> nodefaultroute
> noipdefault
> debug
> lock
> -vj
> kdebug 0
> noauth
> refuse-chap
> require-pap
> name test32
> 
> My Pap-Secrets file:
> =============
> # Secrets for authentication using PAP
> # client        server  secret                  IP addresses
> cyber   *       link123 *
> test32  *       genius  *
> 
> My Chap-Secrets file:
> =============
> # Secrets for authentication using CHAP
> # client        server  secret                  IP addresses
> cyber   *       link123 *
> test32  *       genius  *
> 
> I have also tried the options with both refuse chap and require pap and
> there reverse as well, but same thing.
> Also LCP fails (according to pppd) means authentication failure, however the
> password works well on windows.
> 
> Kindly guide me where the problem can be.
> 
> TimO wrote:
> 
>   Let's see if I can get you totally messed up. ;-)
> 
[Snippage of Previous Prob]

I don't have enough info for this one. ;-)  I'm wondering if BAY NETWORKS
could possibly be using MSCHAP which is an extension to CHAP.  Try adding a
1 to the debug line in your options file (ie. debug 1) and checking your
logs for a lines like the following:

  rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap 80> <magic 0x46a3>]
  sent [LCP ConfNak id=0x2 <auth chap 05>]

The first line indicates that this ISP wants to use MSCHAP and the second
says that support is not compiled into your version of PPPD.  If either of
these occur read the "README.MSCHAP80' file included with the pppd source
and it will tell you how to build/configure ppp to authenticate with the
MSCHAP protocol.

Note that I am x-posting this to [EMAIL PROTECTED] where Clifford
Kite can grab the ball and run with it if need be.  He's Not A Guru(tm),
but he's close. ;-)

Good luck anyway!

--- Tim

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to