----------
From:   Tim Coleman[SMTP:[EMAIL PROTECTED]]
Sent:   Friday, 3 March 2000 10:26
To:     Wilson Fletcher
Subject:        Re: dialing different hosts

> I do now have work around for pap-secrets which is to use the remotename
> pppd option which forces a server name and thus ensures that pppd chooses 
> the correct password from pap-secrets.

Hmmm...I haven't seen the remotename option.  That's interesting indeed.

Well it's buried in that epic ... the pppd man page

>       /usr/bin/diald -f diald.$prefhost -- remotename $prefhost

Wouldn't that be pppd-options $prefhost?  Then again, you wouldn't
need to use the remotename option on the command line.  You would
put it in the diald.$prefhost file.  At least for simplicity it
would.

the double dash -- is the same as pppd-options but on the command line. ie. 
diald <diald options here> -- <any pppd options here>

And yes you're right the diald.$prefhost file would probably be the best 
place for the options.

> Once I get this running then I'll be able to set a script entry that will 
> switch between them even during sessions ... of course I might loose the
> odd packet in the process but what's a few packets between friends (after 
> all I'm not controlling the space shuttle).

If you set up the diald startup script to use an environment
variable all you'd have to do is set it to the proper value and
issue a restart.

hmmm, is the environment variable likely to be set when the machine is 
starting ? ie. I have S10diald in /etc/rc.d/rc3.d since at the moment I 
like it to be started first so I can (on RedHat anyhow) press "i" to go 
interactive and then choose to not load it. Because it's first I can choose 
y|n and then "c"ontinue everything else which means I don't have to sit 
there choosing yes|no for all options. (This may not make sense if you 
don't use RH, I'm not sure how the other distributions are configured).

> Forgive the pseudo yuk I don't carry syntax in my head .... and my life
> doesn't generally depend on bash.

Mine does sometimes.  I'm a sysadmin for the time being.
But I much prefer perl.

I have a lot of time for perl as a sys admin tool. Have you tried python ?

BTW, I noticed that you're using a Microsoft e-mail client.  That
may be the reason why my messages looked funny when I PGP signed
them.  Now it should work properly, at least it does in Outlook.
By properly I mean that the message is displayed, and the signature
is listed as an attachment.

Yes and what a pathetic piece of software it is too. Doesn't even let me 
use ">" on my replies.

Forgive this but I'm experimenting and trying to get GPG working
right with my MUA (mutt).

No problem. I wasn't sure whether you knew what your email looked like to 
other clients which is why I mentioned it.

regards,

Wilson

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to