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 04-27-2004, 07:22 AM   #1
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Rep: Reputation: 15
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
 
Old 04-27-2004, 08:43 AM   #2
hoopyfrood
Member
 
Registered: Aug 2003
Distribution: SuSE 9.1
Posts: 113

Rep: Reputation: 15
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
 
Old 04-27-2004, 10:20 AM   #3
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
right now its in PAP/CHAP mode what type script are u talking of?
 
Old 04-27-2004, 10:42 AM   #4
hoopyfrood
Member
 
Registered: Aug 2003
Distribution: SuSE 9.1
Posts: 113

Rep: Reputation: 15
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
 
Old 04-27-2004, 10:46 AM   #5
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Try adding it to /etc/ppp/options
 
Old 04-27-2004, 12:06 PM   #6
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
hoopyfrood its already in PAP/CHAP let me add the noauth option in /etc/ppp/options
 
Old 04-27-2004, 12:49 PM   #7
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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
 
Old 04-27-2004, 01:18 PM   #8
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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?
 
Old 04-27-2004, 09:05 PM   #9
dpatterson
LQ Newbie
 
Registered: Apr 2004
Location: walnut creek ca
Posts: 2

Rep: Reputation: 0
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 .
 
Old 04-27-2004, 09:41 PM   #10
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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
 
Old 04-27-2004, 11:31 PM   #11
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Well that isnt actually the same error
man pppd to see what those errors are
Are you sure your password/username is correct?
 
Old 04-28-2004, 12:50 AM   #12
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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
 
Old 04-28-2004, 02:28 AM   #13
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Try chmod u+s on the kppp executable
 
Old 04-29-2004, 07:39 AM   #14
archish
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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?
 
Old 04-29-2004, 07:43 AM   #15
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
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
 
  


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
kppp error MAGOVIA Linux - Newbie 3 06-05-2005 09:38 PM
Has anyone had kppp error 2? kolchuga Linux - Software 0 07-05-2004 04:01 PM
error-kppp vanhelsing Linux - Software 1 06-09-2004 04:20 PM
KPPP Error Maurice Arthur Linux - Networking 0 01-25-2004 09:24 PM
kppp error demmylls Linux - General 6 09-27-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration