delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/25/10:18:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: localhost.localdomain: ronald set sender to blytkerchan AT users DOT sourceforge DOT net using -f
Date: Fri, 25 Jul 2003 16:34:39 +0200
From: Ronald Landheer-Cieslak <blytkerchan AT users DOT sourceforge DOT net>
To: Rob <rob2 AT siklos DOT ca>
Cc: cygwin AT cygwin DOT com
Subject: Re: activating a dial-up connection from cygwin
Message-ID: <20030725143439.GA5789@linux_rln.harvest>
Reply-To: cygwin AT cygwin DOT com
References: <0d1001c352b5$3e6328f0$6c0aa8c0 AT adexainc DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019