LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   KPPP error (https://www.linuxquestions.org/questions/linux-networking-3/kppp-error-175061/)

archish 04-27-2004 07:22 AM

KPPP error
 
I am using Slackware 9.1 and having a winmodem which is based on pctel chipset and using the corresponding driver now I was earlier using the same driver in mandrake 9.2 and had no problems. NOw when I connect using KPPP I get the following error which I used to get in Mandrake also and the message as given:

The pppd daemon died unexpectedly!
Exit status:19
Apr 27 17:40:47 darkstar pppd[1437]: PAP authentication failed
Check that you supplied the correct username and password!

Now this error would not appear if I added the option noauth in the pppd arguments list in mandrake but I get the following error while connecting and the connection is terminated.

Apr 27 17:43:42 darkstar pppd[1461]: using the noauth option requires root privilege

Kindly help me what I need to change.
thanks

hoopyfrood 04-27-2004 08:43 AM

Hey archish,

Try changing from PAP to PAP/CHAP instead. Failing that, try another, like script, and see if the error message. (I don't know how to do this in Slack, but in Mandrake, the option to change logon type is in the Mandrake Control Center.)

I had the same problem connecting the my ISP. After a couple of tries I realised that my username and password were correct and the problem was I had the logon type messed up.

Hope that helps,
Tim

archish 04-27-2004 10:20 AM

right now its in PAP/CHAP mode what type script are u talking of?

hoopyfrood 04-27-2004 10:42 AM

Usually there's a couple of options: PAP, PAP/CHAP, and Script or Shell logon. I can't remember for sure as I don't have a dialup account configure on my system any more (yay for Broadband!)

In other words, just ignore what I said about "script" :)

Did you have any luck connecting with it set to PAP/CHAP?

Cheers,
Tim

dopefish 04-27-2004 10:46 AM

Try adding it to /etc/ppp/options

archish 04-27-2004 12:06 PM

hoopyfrood its already in PAP/CHAP let me add the noauth option in /etc/ppp/options

archish 04-27-2004 12:49 PM

I did the noauth option in /etc/ppp/options
Still getting the same error:

The pppd daemon died unexpectedly!
Exit status: 10

Apr 27 21:09:11 darkstar pppd[662]: using the noauth option requires root privilege

archish 04-27-2004 01:18 PM

Right now I am in Linux I can get it working if I run kppp as root but it dosent work when I am not in root mode so any help?

dpatterson 04-27-2004 09:05 PM

try "su --c kppp" i havent found another way to run kppp as a normal user. the su --c thing is nice for running an editor or file manager with root privileges too .

archish 04-27-2004 09:41 PM

Quote:

Originally posted by dpatterson
try "su --c kppp" i havent found another way to run kppp as a normal user. the su --c thing is nice for running an editor or file manager with root privileges too .
I think there is a problem with the permissions which I need to change can anyone help, also dpatterson the option u said, I would not like to use for long term usage

dopefish 04-27-2004 11:31 PM

Well that isnt actually the same error
man pppd to see what those errors are
Are you sure your password/username is correct?

archish 04-28-2004 12:50 AM

yup the password and username is correct. If I am in su mode I can connect but in normal user mode if refuses

i checked man pages many times but still no help

dopefish 04-28-2004 02:28 AM

Try chmod u+s on the kppp executable

archish 04-29-2004 07:39 AM

no it didnt work I think the permission problem is with pppd, I dont know how but I think that the pppd options should be able to be accessed by all instead only the root, any ideas?

dopefish 04-29-2004 07:43 AM

Are you sure you did chmod u+s on the actual executable and not a link to the executable?
pppd is not accessable as user on my system but kppp works fine


All times are GMT -5. The time now is 06:20 AM.