[3811] in RedHat Linux List
Re: Post installation problems
daemon@ATHENA.MIT.EDU (Robert Hart)
Mon Nov 11 00:24:50 1996
Date: Mon, 11 Nov 1996 16:19:11 +1100 (EST)
From: Robert Hart <hartr@interweft.com.au>
Reply-To: Robert Hart <iweft@ipax.com.au>
To: redhat-list@redhat.com
In-Reply-To: <9611110425.AA06436@voyager.cris.com>
Resent-From: redhat-list@redhat.com
On Sun, 10 Nov 1996 Chaimf@cris.com wrote:
> Oops, you are correct. They *are* ip-{up,down} a typo. However,
> I'm not discussing the *arguments* I'm discussing the environment
> variables.
> I checked that this is the problem by adding various echo and
> env statements to the ip-up script. All that gets passed is a
> bare bones environment.
The environment passed to if-up|down is *deliberately* bare bones in order
to ensure the security risks are as low as possible. Remember - this
script executes with root priveleges, whoever starts pppd...
All that you can pass in are the 6 params...
# When the ppp link comes up, this script is called with the following
# parameters
# $1 the interface name used by pppd (e.g. ppp3)
# $2 the tty device name
# $3 the tty device speed
# $4 the local IP address for the interface
# $5 the remote IP address
# $6 the parameter specified by the 'ipparam' option to pppd
If you have special requirements, then you need to use the 'ipparam'
option to pppd to get this information into the ip-up script.
Robert Hart iweft@ipax.com.au
Voice: +61 (0)3 9735 3586 http://203.29.72.65/
InterWeft, 35 Summit Road, Lilydale, Victoria 3140, Australia
IT, data and voice networking
Strategic IT business planning
Internet planning, implementation, security and configuration
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null