Re: [opensuse] Running spec. commands on various dial-up providers.
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 21:50:19 +0100 (CET)
-----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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- References:
- [opensuse] Running spec. commands on various dial-up providers.
- From: pelibali
- Re: [opensuse] Running spec. commands on various dial-up providers.
- From: James Knott
- [opensuse] Running spec. commands on various dial-up providers.
- Prev by Date: Re: [opensuse] possible bug in ext3?
- Next by Date: [opensuse] Apache woes and Yast
- Previous by thread: Re: [opensuse] Running spec. commands on various dial-up providers.
- Next by thread: Re: [opensuse] Running spec. commands on various dial-up providers.
- Index(es):
Relevant Pages
|