LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-20-2003, 03:39 PM   #1
Castor
LQ Newbie
 
Registered: Aug 2003
Location: Armenia
Distribution: Slackware 9.0
Posts: 20

Rep: Reputation: 0
pppd behaves strange


Hi,
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[788]: pppd 2.4.1 started by root, uid 0
pppd[788]: Using interface ppp0
pppd[788]: Connect: ppp0 <--> /dev/modem
/etc/hotplug/net.agent: assuming ppp0 is already up
pppd[788]: LCP terminated by peer (ej8^T^@<M-Mt^@^@^BM-f)
pppd[788]: Hangup (SIGHUP)
pppd[788]: Modem hangup
pppd[788]: Connection terminated.
pppd[788]: Exit.
...
& debug info
...
ppp-go
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
LCP terminated by peer (#M-|^HM-6^@<M-Mt^@^@^BM-f)
Modem hangup
Connection terminated.
...
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
Connection terminated
...

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.
TIA.
 
Old 09-20-2003, 04:32 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Usually, the pppd daemon is actually started by wvdial
It does the dialling heuristics and then gives the modem connection to pppd to authenticate etc...

Have a look at this pppd tutorial and follow the steps to identify the possible breaks...
 
Old 09-21-2003, 10:28 AM   #3
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Did you try putting your auth info in your chap-secrets file?
Is it in your pap-secrets file?
What happens when you try to connect with minicom?
 
Old 09-24-2003, 08:12 AM   #4
mudelf
Member
 
Registered: Sep 2003
Distribution: RedHat 8
Posts: 59

Rep: Reputation: 15
ppp died

I have been having similar problems but am using wvdial.
I know that it is configured and working and my hardware supported but it keeps dying with a 16 exit code.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pppd timeout before pppd interface could start! bioagentice Linux - Software 6 03-27-2005 11:24 AM
ssh behaves different for root and users lopette Linux - Software 1 11-20-2004 06:09 AM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 10:17 AM
Configuring the way mandrake 9.2 looks/behaves.. tinaldor Mandriva 7 11-14-2003 04:49 AM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration