Python Script to dial a VPN connection, automate VPN routing table updates.

Darren New dnew at san.rr.com
Fri Mar 23 18:35:28 EST 2001


Warren Postma wrote:
> So after solving #2 above in Python, I wondered, does anyone know how, in
> Python win32 extensions, one might dial an RAS connection, and if it's
> possible to do so  through the win32 API somewhere or through COM? Then I
> could solve #1 above as well.

I had to do the same thing, but I use Tcl and NT4. I saved a shortcut to the
dialup, and I just execute "start yadda.rnk" to make the connect, giving a
delay of 5 seconds afterwards.


-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST).  Cryptokeys on demand.
A million monkeys in a room with a million typewriters 
              will only yield half a million pregnant monkeys.



More information about the Python-list mailing list