pppd behaves strange
I got this weird problem with pppd:
I have 3 ISPs. There are no problems connecting to two of them, but there is a problem with the third one. All three use PAP method via PPP. The main difference between them that (i think) causes the problem is that the 2 non-problematic ISP's operate on *nix like OSs(one SunOS 5.9, one FreeBSD 4.2), and the ISP that I got problem connecting to,operates on Windows2000 Server.
My OS is Slack Linux 9.0.
Every time I use ppp to connect to Win, happens this:
it calls through, connects to the server, but doesn't pass the authentication.
I looked at the syslog and debug info, and saw this:
pppd: pppd 2.4.1 started by root, uid 0
pppd: Using interface ppp0
pppd: Connect: ppp0 <--> /dev/modem
/etc/hotplug/net.agent: assuming ppp0 is already up
pppd: LCP terminated by peer (ej8^T^@<M-Mt^@^@^BM-f)
pppd: Hangup (SIGHUP)
pppd: Modem hangup
pppd: Connection terminated.
& debug info
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
LCP terminated by peer (#M-|^HM-6^@<M-Mt^@^@^BM-f)
On exit pppd return value = 16
which is - " the link was terminated by the modem hanging up".
after i read this, i ran pppsetup and did not enter any values for username and password, and removed the ppp-secret file entry, just to test if the server asks for them.
I tried to connect and recieved the same error, which means that pppd does not recieve a username/password request. I went through all possible man pages howto's, faq's, readme's etc. Found some hints, but they didn't help.
I connected to their admin, and he said that their server does not operate over terminal mode anyhow, and as a result the pppd does not recieve username/password request over the same terminal mode(which as i understood is the default method pppd operates on).
He said that it's possible to tune pppd so it would be able to recive the request not over terminal mode, but didn't say how to (i don't know why he didn't, though...).
After that I went through all settings and options files of ppp, reconfigured, and now besides the old error messages, I sometime recieve this one:
No chap secret found for authenticating us to SERVER (here SERVER =the server name)
Remote message: E=691 R=1 V=3
CHAP authentication failed
though I did not use CHAP method during configuration. and I have no idea why this happens...
Please help, last 2 days have been really tough for me 'cause of this problem.