SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 !!!
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 !
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.
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/
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.