Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald set sender to blytkerchan@users.sourceforge.net using -f
Date: Fri, 25 Jul 2003 16:34:39 +0200
From: Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
To: Rob <rob2@siklos.ca>
Cc: cygwin@cygwin.com
Subject: Re: activating a dial-up connection from cygwin
Message-ID: <20030725143439.GA5789@linux_rln.harvest>
Reply-To: cygwin@cygwin.com
References: <0d1001c352b5$3e6328f0$6c0aa8c0@adexainc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0d1001c352b5$3e6328f0$6c0aa8c0@adexainc.com>
User-Agent: Mutt/1.4i
X-Disclaimer: I had nothing to do with it - I swear!
X-loop: linux_rln.harvest

On Fri, Jul 25, 2003 at 10:01:28AM -0400, Rob wrote:
> I was wondering if there was any way to activate an existing windows 2000
> dial-up connection from the cygwin command line.
None that I know of, but..

> The reason I want to know is because I have a shell script that
> automatically backs up files to a remote computer (which is only accessible
> through a vpn connection).  Since I don't want to maintain the VPN
> connection all the time, I need a way to start it up (and possibly shut it
> down) from the command line.
This may be of interest to you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/establishing_a_dial_up_connection_to_the_internet.asp

With this info, it should be pretty straight-forward to make a home-grown util
that does exactly what you want.

Don't forget to share it when you've got it working ;)

HTH

rlc
-- 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

