Re: [opensuse] Running spec. commands on various dial-up providers.



-----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



Relevant Pages

  • Re: Add record and update List
    ... Click the command button and it opens a form to add a record. ... You have a form that's used for Provider demographics (what's ... Microsoft Office/Access MVP ...
    (microsoft.public.access.formscoding)
  • Bug in OdbcCommandBuilder
    ... I need to access Sybase ASE Server 12.0, but Oledb provider provided by ... so I have to use ODBC. ... the command text built is: ...
    (microsoft.public.dotnet.languages.csharp)
  • Data access in XML from Sql-server200 using asp
    ... Dim adoStreamQuery ' As ADODB.Stream ... Set adoCmd.CommandStream = adoStreamQuery ' Set the command object's command to the input stream set above ... Object or provider is not capable of performing requested operation. ... SQLXMLOLEDB Provider command object can only execute to a stream. ...
    (microsoft.public.inetserver.asp.db)
  • re: [msh] get-property not working on alias
    ... These cmdlets provide access to properties of items when exposed by a certain type of Cmdlet Provider. ... Microsoft Command Shell Development ... get-property not working on alias ...
    (microsoft.public.windows.server.scripting)
  • Re: [opensuse] Running spec. commands on various dial-up providers.
    ... the "active" provider smpppd is using, somehow via the command line. ... my friend uses few free providers, how different their IPs are... ...
    (SuSE)