LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Adam Hawes <adam_hawes@dingoblue.net.au>
  To  : Aristotle <aristotle@ihug.com.au>
<linuxsa@linuxsa.org.au> Date: Sun, 25 Nov 2001 21:30:14 +1030

Re: Family Internet Connection

>>> Any ideas?

On RedHat 7.1 (I guess similar to Mandrake):

/etc/sysconfig/network-scripts/ifcfg-ppp0

DEVICE=ppp0
NAME=My_Internet
WVDIALSECT=My_Internet
MODEMPORT=/dev/ttyS0
LINESPEED=57600
PAPNAME=my_username
USERCTL=true
ONBOOT=no
PERSIST=no
DEFROUTE=yes
PEERDNS=yes
DEMAND=no
IDLETIMEOUT=600
BOOTPROTO=none

The line that's really interesting is USERCTL.  This tells the 
system/PPP that ordinary users are allowed to start and stop this 
interface without root privelages.  Just add/change the line in the file 
to be USERCTL=true.  That should make it do what you want.

Cheers,
Adam


-- l
Adam Hawes

ICQ:   2492016
Web:   http://hawesy.gq.nu
Email: adam_hawes@dingoblue.net.au

If only the good die young, then I'm gonna live forever

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page