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 have transtioned my desktop from KDE to Gnome 2.4 and am very happy with the change. I would like to use Gnome 2.4 on my laptop which I use on the road via the built in modem.. I have the modem and the tighter/lighter Gnome dialer: modem-lights installed. Under preferences as root I changed the commands to ppp-on and ppp-off and modem-lights works fine Doing the same thing as a user states I do not have permssions. These commands even with the full path (/usr/sbin/ppp-on) do not work as user. Has anybody set this up for user? My google searches mainly bring up debian users who appear to have a slightly different setup.
There seems to be at least 6, maybe more, files involved.
lrwxrwxrwx /usr/sbin/ppp-on linked to rwxr_xr_x /usr/sbin/ppp-go
lrwxrwxrwx /usr/sbin/ppp-stop linded to rwxr_xr_x /usr/sbin/ppp-off
/dev/modem linked to /dev/ttyLT0 (Lucent LTmodem driver)
There is also a /var/modem "lock" file which I have no clue as to what it does.
I am the only user on the laptop but I also have a built in nic which I occasionally use for large downloads. I hate to blindly chmod 777 every file that I think may be involved to get it working. Is there an elegant way to give users modem permissions?
You need permission to read files 'options' and 'pppscript' in /etc/ppp and permission to execute 'ppp-go', 'ppp-off' and 'pppd' in /usr/sbin (these last three files have premissions set to 6750, but i'm not sure if that 6 is necessary) .
Thanks for the reply. I made the changes but now when it try /usr/sbin/ppp-on from a terminal I get the message: must be root to run /usr/sbin/pppd, since it is not setuid-root.
The permissions for /usr/sbin/pppd are -rwxr-xr-x which I think means it can be read and executed by owner, group and others. Does the forth digit, when used with chmod, have something to do with setting roots uid which is zero?
I'm not sure what digit 6 means (it's called setuid bit). But when you use it (chmod 6755 fliename) you will get -rwsr-sr-s and then it will work. As i figured few minutes ago it's necessary.
thanks for the advice, i am now able to start my dialup as a user!!!
but how can i start dial up w/o having to type "$/usr/sbin/ppp-on" im thinking it might involve me making a symlink of it somewhere, but i dont know where i should put that link.
does anyone have any ideas of what i should do to run it without typing the full path?
KDE -> kppp
Gnome -> modem-lights (configurable and brought up by right clicking on the applications toolbar
ICE, XFce, etc I would install X-ISP as the old favorite wvdial is tough to install in gcc 3.2 based systems.
i dont have, nor am i interested in having a graphical modem operation program. all im interested in are the command line utilites ppp-on, and ppp-off, if you have slackware 9.1 you can find them in /usr/sbin/ (i dont know about other versons, i havnt used them)
Funny, I started this thread a while ago and it clearly states on the first entry of the thread "GNOME 2.4 modem light (ppp-on) as user". Not only that but I replied in an effort to help you and you have the nerve to tell me what the whole string of posts is about. Perhaps you should RTFThread.
To answer your question you can use any directory that is in your path environment to make a link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.