see response below.
Paul Ryan wrote:
So everything works for the regular user after starting the connection as root??From paul@xxxxxxxxxxxx Sun Feb 22 11:10:27 2004Hi I shortened this as much as possible trying to find the balance between ballast and having someone new to the thread knowing what is going on
On Sat, 2004-02-21 at 15:32, Paul Ryan wrote:
adsl-config,Hi I have a problem accessing the internet. I can only access it
as root. After numerous attempts to get my ADSL runing with the
Internet setup wizzard and the network device control, without any
luck. The system would conect but it was like Mozilla, Gaim and Co.
didn't know that I was conected. I finnaly had luck with
yeseverything worked as root but only as root. When I boot to a normal
user there is no ppp0 conection listed in the network control (and
toI did enable other users) when I use /usr/sbin/adsl-start it seems
Oneconect no error messages but it is the same as with the internet
conection wizzard Mozilla and Co. don't think that I'm conected.
toother note if I do any configuation with the network control I have
reconfigure my ppp0 conection with adsl-config again otherwise it
won't conect to the internet again.
Be careful about giving out incorrect information.
'adsl-config' is needed once to initialize and save the adsl settings.
After that you only use 'ifup ppp0' and 'ifdown ppp0' to connect/disconnect.
True if I log on as root and start a internet connection ,then log on as
a different user I can then use the connection
This is normal, and by default only root is allowed to change interface status.
I see that ppp0 uses eth1, and the routing seems correct as does the DNS so unless your desire is to make it so any user can change the status of the interface, I see no problems.
There are many ways to make it so the regular user can start/stop the adsl connection.
A script to start it with root privledges comes to mind quickly.
To start it at boot time you can use one of the rc. scripts (such as rc.local) or the inittab as simple points to control it. You also can set it up as a service if you wish.