[linux-help] Re: PPP question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
What I suggest doing is:
1. Check the permissions on the pppd binary (/usr/sbin/pppd) It probably
looks something like this:
-rwsr-x--- 1 root dip 183440 Mar 14 06:36 /usr/sbin/pppd
2. Make sure your user is in the group called 'dip'
3. Log out and back in, then try again...
Also check for the existance of /etc/ppp/options and /etc/ppp/options.ttySX
(replace X with the appropriate number for your serial port). If either of
these files exists, check the ownership of these files, and check their
contents. I'm guessing that _at least_ one of these files exists, and
contains a "connect" option... if you take that out, it may fix the problem
as well...
(I've never actually had the exact problem you describe, so I'm kinda just
making some educated stabs in the dark :-)
Hope it helps...
On Mon, May 22, 2000 at 06:14:32PM -0500, Bruce Alderman wrote:
>
> I've been running Linux for about two months now, and it's
> mostly going smoothly. However, I've got a problem logging in
> to my ISP through PPP.
>
> I have a script file (actually it's just a one line script)
> called ppp-on, in the /etc/ppp directory. The contents are:
>
> exec /usr/sbin/pppd /dev/modem 115200 lock crtscts noipdefault \
> defaultroute 0.0.0.0:0.0.0.0 connect /etc/ppp/ppp-on-dialer
>
> According to _Running Linux_ by Welsh, et al. I should be able
> to run this without logging in as root. But every time I try to
> run it from my own account, I get an error:
>
> /usr/sbin/pppd : connect option cannot be overridden
>
> The file permissions for both /etc/ppp/ppp-on and /usr/sbin/pppd are:
> -rwxr-xr-x
>
> So I've been using su to start the ppp-on file, then exiting
> back to my account once the connection has been made. What do
> I need to do to be able to dial in without logging into the root
> account?
>
> (FWIW, I have no trouble dialing the ISP using minicom without
> root privileges.)
>
> --
> Bruce Alderman baa@xxxxxxxxxxxxx
> http://www2.southwind.net/~baa
> A candle loses nothing by lighting another candle.
>
>
>
> -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
--
"Airplanes are interesting toys but of no military value." -- Marechal
Ferdinand Foch, Professor of Strategy, Ecole Superieure de Guerre.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jonathan Hall * jonhall@xxxxxxxxxxxx * PGP public key available
Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
http://www.futureks.net * PGP Key ID: FE 00 FD 51
-= Running Debian GNU/Linux =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|