LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2006, 09:20 AM   #1
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Rep: Reputation: 15
Kppp doesn't exchange data after doing ppp-setup


Hi guys,

I spent a bit of time doing some kernel recompile yesterday and when doing so I wanted to access the internet under the console without starting X.
So I did a pppsetup everything went well during the install, when I did ppp-go the modem dialled and logged fine but then that's it I couldn't browse the internet or anything.
So I thought bummer! I started X so I could use Kppp and exactly the same thing happend!!!

The thing is that I can still connect and browse the internet with Kppp, but only as root, which isn't a very good thing. Whenever I run Kppp on normal user the modem doesn't exchange any data.

Now I don't think it would have something to do with permissions since I can run Kppp as normal user, it just won't receive any packets. Note that this has happend since I tried pppsetup as a normal user... I think !!!

Any advice well welcome!!

Thanks
 
Old 08-11-2006, 12:17 PM   #2
sidesec
LQ Newbie
 
Registered: May 2005
Distribution: suse 9.1 Pro
Posts: 29

Rep: Reputation: 15
Not running slack, but this may help. Kppp should start in normal user mode and then fork internally into a more secure running state. A look at your /var logs should show you the general point of faliure of the ppp system. In other words - did it even recognize/enable the device ? Doing a "Query Modem" in kppp as a normal user should also verify this ! If the device is not enabled by a normal user, and all else remaining the same, I would first look at the group of the device in /dev, and insure that my normal user account belongs to the same group as the device (use the command "groups", no quotes, to verify this). On my system, kppp is "SUID root dialout" (any user can start it), the device is /dev/ttyLT0 (root dialout) and is pointed to by the system symlink /dev/modem (root root), /etc/ppp is "root dialout", and /usr/sbin/pppd is "root dialout". My normal user must belong to the "dialout" group in order to use pppd ! On your system this may be handled somewhat differently !

If the group, or related access rights, is not the problem, and you are manually entering the modem info into kppp when attempting to connect as a normal user, then maybe the info was entered incorrectly.

Hope this helps you solve the problem - good luck !
 
Old 08-11-2006, 09:03 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
It's a permissions problem,check what groups your user is in.
 
Old 08-14-2006, 09:09 AM   #4
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
hi,

I think u guys must be right it's a permission problem!!!!

Now i was fiddling around yesterday with pppsetup and I can't detect my modem anymore with anything... tried to install wvdial but i'm having problems with the libraries.

Thanks!!
 
Old 08-14-2006, 10:04 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
If you are going to use or have used kpppsetup you should not run pppsetup at all. The best way to fix this is to remove the package that contains kppp and remove pppsetup, make sure /etc/ppp is empty, then re-install kppp and pppsetup. They will *not* work if you configure both, unless you do some serious hacking.
There was a thread awhile back where someone had finally gotten it working by removing, replacing, renaming links, etc. But someone had suggested another fix that might work.

I'd say if you are going to need pppsetup, then just use that and forget about kpppsetup.
My own problems with settting up dynamic DNS without kpppsetup led me to write 'ispsetup' which will do so with only 3-4 questions. You can get it here:
http://distro.ibiblio.org/pub/linux/...ects/ispsetup/
 
Old 08-15-2006, 02:59 PM   #6
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Yes it's working now, I mean I can use Kppp as root and it will work ok, not for normal user again probably because of that permission thing...

I think I'd really prefer using pppsetup though because Kde is running a bit too slow on my machine!!

Thanks tou very much for the help.


Well I finally managed to connect with ppp, the problem was so simple i can't believe it took me so long to work it out... ppp does actually need to know the dns address of the isp when I do the pppsetup otherwise I can't use the net!

Well well, it's all a learning curve.

Last edited by Chikne; 08-15-2006 at 06:33 PM. Reason: problem solved
 
Old 08-16-2006, 12:50 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Try my ispsetup, it's a trimmed-down version of pppsetup. If you don't happen to know the DNS addresses it will help you out.
 
Old 08-18-2006, 10:22 PM   #8
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gnashley
Try my ispsetup, it's a trimmed-down version of pppsetup. If you don't happen to know the DNS addresses it will help you out.
Thanks I downloaded it, but not using it yet. Can't believe you need to know the DNS adress to use ppp!!!
 
Old 08-19-2006, 03:57 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You don't need it to use PPP, just to use pppsetup.

usepeerdns tells ppp to get the DNS addresses, but there a few tricks to do to make it all work, which ispsetup takes care of. Be aware that it also gives users permisson to dial up.
 
  


Reply



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
Unable to authenticate with isp using kppp or ppp-go glennph93 Slackware 3 03-10-2006 06:34 PM
KPPP vs ppp-go in slackware pj320 Linux - Networking 1 07-26-2005 06:24 PM
Settup PPP without KPPP ibanez862 Slackware 24 12-28-2004 01:15 AM
Kppp how to set in Dial up Script for PPP Keynote Red Hat 7 03-16-2004 04:02 PM
more reliable ppp dialup client than kppp? randomx Linux - Software 3 10-27-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:23 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