Click to See Complete Forum and Search --> : pppd problem


Elijah
10-31-2002, 09:41 PM
Hi,
I've been having problems lately cause of my internet connection seems to disconnect me a lot, it gives this message when I run kppp from the terminal:

Opener: received SetSecret
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 1273
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
It was pppd that died
pppd exited with return value 19
Sending 1269 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received PPPDExitStatus

I was wondering if one of my hardware is failing, I've got a new external modem so I don't think that' s the culprit. I got lucky today that I managed to connect successfully. or maybe it could be my isp?

Elijah
11-01-2002, 06:08 AM
.:(

banzaikai
11-01-2002, 06:29 AM
Howdy.

> pppd exited with return value 19

Well, typing "man pppd" in a terminal, and scrolling to the error codes, we find:

19 We failed to authenticate ourselves to the peer.

Check your PAP/CHAP settings for correct name(s).
Make sure you're set to DHCP (instead of static IP).

Hope this helps...

banzai

Elijah
11-01-2002, 06:55 AM
Originally posted by banzaikai

Check your PAP/CHAP settings for correct name(s).
Make sure you're set to DHCP (instead of static IP).

umm, I'm not really l337 to all these network and isp stuff. How do I do that?

JohnT
11-01-2002, 10:34 PM
Couldn't find interface ppp0: No such device


Did you set-up kppp using the interface?

KPPP Tutorial.......................................... .....

http://www.linux-mandrake.com/en/demos/Tutorial/KPPP/

Elijah
11-01-2002, 10:42 PM
Originally posted by JohnT
Did you set-up kppp using the interface?
Yeah I did.
I've found a site somewhere and I was wondering if this would work..


Modem dies connecting to ISP

The jiffy-quick answer here is changing two items. First you have to
edit the /etc/ppp/options file and put a # in front of the "auth" and
"lock" statement.

Next you want to edit your init string for your modem and try using AT&F. This sets your modem back to factory defaults. I will post a
more detailed guide with graphics as soon as I have time.

Note this may not fix the problem for everyone, but it has been
critical for a lot of people.

Still working on this one....
I've hashed out my lock statement there (the only one I found in the options file), I'm not sure if it did work. I can connect successfully now, no more disconnections. Could be my isp or configs I guess.
Thanks for the reply, I'll try to find out what could be the cause of this disconnections ...

JohnT
11-01-2002, 11:29 PM
Look in your /etc/ppp/pap and see if this entry conforms to your logon.

Elijah
11-02-2002, 12:52 AM
I've checked out /etc/ppp/pap and it doesn't exist :confused: , only pap-secrets ...

JohnT
11-02-2002, 09:35 AM
Originally posted by Elijah
I've checked out /etc/ppp/pap and it doesn't exist :confused: , only pap-secrets ...

That's the one. Is your username and password correct?

Elijah
11-02-2002, 09:44 AM
Everything seems ok .... could be my isp(?)

JohnT
11-02-2002, 10:37 AM
Call your ISP (don't mention your using Linux) and ask them is your username and password showing up correctly, because your having trouble authenticating. If you mention Linux 9 out of 10 they won't help.

Elijah
11-02-2002, 10:43 AM
Originally posted by JohnT
Call your ISP (don't mention your using Linux) and ask them is your username and password showing up correctly, because your having trouble authenticating. If you mention Linux 9 out of 10 they won't help.
hehe, those isp people always tell me they can't help after mentioning linux :D They told me that they're still looking into the matter, I switched isp after that. I also realized that the old isp's connections always get me corrupted downloads, it's strange.