LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2004, 04:16 AM   #1
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Rep: Reputation: 0
kppp dies after trying to connect.


Hello to all of you . I 'am A NEWBIE 4 monthes old and i can't connect to internet
Wenn i start kppp there comes out the following message :
'' you don't have sufficient permission to run /usr/sbin/pppd.
make sure the kppp is owned by root and has the suid bit set.
my kppp settings are al right but when i try to connect there comes an ERROR - KPPP : '' the pppd daemon died unexpectedly , exit status 2 .

i don't understand i get in by root .from the konsole i type su - to became root
what must i do ?

and why comes out a message : denied access when i try to write /etc/fstab
i'am root . why ? plese help me .
 
Old 09-27-2004, 01:17 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
You don't want to be a root user here; that's asking for trouble.

To deal with the first problem first, you can set the suid bit of /usr/sbin/pppd by running just this one command as root:
Code:
chmod a+s /usr/sbin/pppd
Once that's done, any user on your computer will be able to use pppd to connect to the internet.

The pppd is probably dying because it detects the fact that it's been started as root, and so cannot start up safely.

As to writing /etc/fstab; what are you doing to get this message? When you save a file you have to have sufficient permissions to access it; root can change file permissions but does not automatically get full permission to every file. Imagine the carnage you could cause if you tried to write to /dev/dsp (the microphone). Root can also not write to a read-only partition.

What is the output of the commands
Code:
ls /etc/fstab -l
cat /proc/mounts
 
Old 09-27-2004, 02:12 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
Use Kinternet instead...

kppp is by default designed to disconnect a session after about 2-3 min. of idle time. I think it's designed for European phone systems where local calls are toll calls... to change that setting, you'd need to recompile it...

Kinternet should do you up a little better.

I think kinternet is all lower case... yes!!, in fact it is.
 
Old 09-28-2004, 01:56 AM   #4
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
O.K. rjlee I will try so but because my linux level is lower than low
i still don't get it .
I have 2 accounts . one as root and one user .
I automatically get in linux as user .
to become root i must dial my password. in the console after su - .
I'am trying to learn the functions and what to write in the console
to obtain what i need but i have a great problem understanding the permissions and how to change them .
Maybe we can talk later about this for now i will follow your advice. i will post you back . thank you for your time on spending for me.

AND thanks jasep for your reply but i did not understand what you mean . I'am writing from greece and here everyone use kppp. But the problem is that i don't know anyone who us linux
and so i have only the linux forum ( all of you )
thank you very much even when i don't understand.
 
Old 10-05-2004, 08:22 PM   #5
t182s
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
I am in the same boat as you. i would use the other program Kinternet but when i go to start it , it takes all day long to start. what is wrong with Kinternet?

Last edited by t182s; 10-05-2004 at 08:24 PM.
 
  


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
Internet connection with KPPP dies (Modem HSP56MR) seraph-seph Slackware 11 07-09-2005 02:18 PM
KPPP dials and then dies after connecting Dreamcast Debian 5 06-04-2005 01:28 PM
kppp dies - exit code 10 joshy Mandriva 26 08-24-2004 04:36 PM
KPPP spontaneously dies AMMullan Linux - Software 4 02-26-2004 01:51 PM
Login as user kppp dies gmichel Linux - Newbie 0 02-15-2004 03:11 AM


All times are GMT -5. The time now is 12:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration