-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Wednesday 2007-01-03 at 15:06 -0500, James Knott wrote:

> > The only point we are missing here is to know how to get the name of
> > the "active" provider smpppd is using, somehow via the command line.
> 
> Does it have to be the name of the provider?  Why not use the IP info from
> ifconfig?

The IP is given as a parameter to the script, no need to search for it - 
or it should, at least. It is done for ip-up.local, dunno for if-up.d/

BASENAME=`basename $0`
INTERFACE=$1
DEVICE=$2
SPEED=$3
LOCALIP=$4
REMOTEIP=$5
IPPARAM=$6


But there is no parameter there for the provider, to my knowledge (those 
parameters are given by the pppd daemon).

There might be info inside "/var/run/smpppd/*".

- -- 
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFnBcMtTMYHG2NR9URAkJeAJ9Uwz9BpNK2j8Egb0n6vaqMmP/ihACdF1FI
DCraCFmOeCvONRuVW0LUPo4=
=6sM2
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to