LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-14-2002, 06:49 PM   #1
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
ppp


I'm sure this is a pretty easy answer. But how do I give a regular user the right to run

ppp-on
ppp-off

Also, is there a gui type ppp app the can run the ppp-on, ppp-off commands. So that my wife doesn't have to type in all these commands?

Its mainly for her so she can surf, thats all she does.

Thanks for any information you can give me!
 
Old 08-14-2002, 07:40 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
You should check the settings of each of these before changing them. If they are OK then skip it. Use the "ls -l" command to list the files and the permissons.

For the start / stop scripts:

chmod 755 /etc/ppp/ppp-on
chmod 755 /etc/ppp/ppp-off

If /etc/ppp is not the correct path then change accordingly.

For the device control line, if modem on Com1: then probably:

chmod 777 /dev/ttys0

and probably the most important of all for the ppd daemon;

chmod 4755 /usr/sbin/pppd

The number 4 above should setuid the pppd to root when executed by a normal user.

When I checked the permisions on one of my servers that has dialup for a backup service, all the permissions were set correctly except the pppd daemon. Who knows, but I could of set those a long time ago.

Also, instead of manually dialing in, you might consider dial-on-demand configuration. But only if a dedicated telephone line is in use.
 
Old 08-15-2002, 04:44 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
or kppp or WvDial
kppp - KDE dial up tool, GUI based
WvDial - Script based, but simpler than ppp chat scripts you're using now....
HTH
-NSKL
 
Old 08-15-2002, 05:09 AM   #4
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
yes Kppp is very handy and works quite well. Also if you configure it you can get it to open the web browser of your choice when you connect
 
Old 08-15-2002, 10:22 AM   #5
ksandre
LQ Newbie
 
Registered: Jul 2002
Location: New Hampshire, USA
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
In the GNOME menu under applets/monitors you should find something called "modem lights" which is acutally an animated monitor for your transfer rate and a PPP dialer. It's very simple and useful (you can just set it to invoke "ppp-go"). By enabling all the option details, you get the fancy display.

Also, I would suggest setting up a PPP group, as described in the PPP-Howto.
 
Old 08-15-2002, 10:32 AM   #6
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
I did try to use kppp because i remember using that when i used to run suse.

This is the error i get during the ./configure process

QT... configure. error: QT:>= 1.42 (headers and libraries) not found. Please check your installation.

Any ideas? Slackware 8.1 should have the newest version of QT

I will also look into wvdial.

Thanks.
 
Old 08-15-2002, 10:22 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Slackware 8.1 has kde3/qt-3.x.x and that is not compatable with apps that use older versions of qt. If you install the kde packages from your install cd you will find Kppp installed as well.
 
Old 08-16-2002, 08:52 PM   #8
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
Slackware also comes with "pppsetup" That is what I always used if kppp didn't work. It seemed for work perfectly. I never had problems with it.
 
Old 08-18-2002, 12:13 PM   #9
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
ph34r3d, I have already ran pppsetup. Thats what created my scripts to run ppp-on

I'm still having issues with not having a user use ppp-on and ppp-off

I have done the following as well, on top of what Excalibur did told me to do


I added myself in the bin group in /etc/group >> didnt work
I did chmod og+r /usr/sbin/ppp-on, /usr/sbin/ppp-off >>> didnt work
I also had to change the permissions on the /etc/ppp/options file >> didnt work

Still cant use pppd AT ALL, says I have to run as root and setuid to run it.


Any other ideas?

kppp
wvdial
and the gnome ones dont work.
 
Old 08-18-2002, 01:06 PM   #10
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
For some reason it finally went. I did it again, the directions from Exactlbur.

But then i would get an error "connect script failed'

I did chmod og+r /etc/ppp/pppscript

and it works now. thanks!
 
Old 08-18-2002, 10:00 PM   #11
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Someday I will have to find out what all those letters on the chmod command mean. The octal numbers were always easier for me to understand.

Sorry about missing the pppscript file. Didn't know about that one.
 
Old 08-19-2002, 10:22 AM   #12
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
Excalibur, I was told that og+r means "Other", "Group" read access. Or something like that.

No biggie on the pppscript. We both know now lol. It was worth the trouble tho lemme tell ya. its much easier to get online.
 
  


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
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
ls -l /etc/ppp perfect_circle Slackware 3 01-21-2005 04:29 PM
Ppp? petercool Linux - Software 3 06-30-2003 03:54 PM
ppp* Cichlid Linux - Distributions 1 01-11-2002 07:39 PM

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

All times are GMT -5. The time now is 08:05 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
Open Source Consulting | Domain Registration