Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > JDS
User Name
JDS This forum is for the discussion of the Sun Java Desktop System.


  Search this Thread
Old 10-19-2004, 05:39 PM   #1
JDSHelp Founder
Registered: Sep 2004
Location: Texas
Distribution: FC3 & Ubuntu
Posts: 68

Rep: Reputation: 15
How to allow modem access to non-root users

Let's try to go thru this each step of the way to figure this out. We'll start with getting wvdial to work for you and go from there. In both JDS1 and JDS2 this should work( JDS2 won't disconnect for you you though, with modem lights, using this method. I'll explain later how to use gnome-ppp which solves this problem).

1)First let's log in as root, to do that - let's go Launch -applications - system tools - terminal
at terminal prompt, type:
su -
enter root password

then type vim /etc/wvdial.conf (you'll see the file displayed) - you can also do this logged in as root with gedit
touch the i key to insert text, use your arrow key's to navigate down the file (we want to edit baud,phone#,username,passwd) - you will have to use your delete key to edit both baud(115200),and your phone #
when done editing hit the esc key, and type :wq (enter)

2)Now we'll use the chmod commands (you should still be root)

chmod 777 /usr/bin/wvdial (enter)

chmod +s /usr/sbin/pppd (enter)

that should be it for wvdial, it should connect, no problem, to make it a little easier, use modem lights:
right click on panel,
add to panel - internet-modem lights

right click on modem lights icon - preferences
under heading of General

connection command - wvdial

disconnection command - kill wvdial

You should be able to use modem lights now. If you're using JDS2 it won't disconnect. However, using gnome-ppp will solve this problem.

download gnome-ppp
once downloaded you going to have to make it (it's a .tar file) to do this, we'll do:

1) go to folder that you saved the download

2) right click on file - open with file roller, extract to your home directory, it should create a folder.

3)Launch - applications - system tools - terminal

4) type:

cd /home/gw(or whatever)/gnome-ppp(whatever the folder created is)
./configure (it'll take a minute or two)

make (it will take longer - grab a coffee)
when that's done, we need to change to root, to do this type:

su -
enter root password

cd /home/gw(whatever)/gnome-ppp(whatever the folder created is)

make install

exit the terminal you're now done

5)go to launch - run application, type: gnome-ppp

edit your properties, add username,password,phone#
6)Test your connection

That's it, you should have no problem, connecting and disconnecting from the internet. You can add gnome-ppp to your panel, just right click on panel and add launcher. the command is /usr/local/bin/gnome-ppp


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
all users have access to root owned files sakatola Linux - Security 2 07-22-2005 01:45 AM
local root can access nis users??? pao Linux - Security 1 07-29-2004 02:06 AM
users other than root can not access internet ? summerfish Linux - Networking 4 07-17-2004 09:03 PM
How do I enable modules so that non-root users can access them? davecs Linux - Software 9 07-27-2003 12:34 AM
non-root users inet access Duckus Linux - Newbie 4 06-05-2003 11:40 PM > Forums > Linux Forums > Linux - Distributions > JDS

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration