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

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
From: Sam Edge <sam DOT edgeZZZ AT lineone DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: activating a dial-up connection from cygwin
Date: Fri, 25 Jul 2003 15:46:39 +0100
Organization: .
Reply-To: cygwin AT cygwin DOT com
Message-ID: <7cg2ivo56t2dqc91b57gcjnom7qvjk964u@4ax.com>
References: <0d1001c352b5$3e6328f0$6c0aa8c0 AT adexainc DOT com>
In-Reply-To: <0d1001c352b5$3e6328f0$6c0aa8c0@adexainc.com>
MIME-Version: 1.0
X-Posting-Agent: Hamster/2.0.0.1
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h6PEl1h11678

"Rob" <rob2 AT siklos DOT ca> wrote in
<0d1001c352b5$3e6328f0$6c0aa8c0 AT adexainc DOT com>
in gmane.os.cygwin on Fri, 25 Jul 2003 10:01:28 -0400:

> Hello,
> 
> I was wondering if there was any way to activate an existing windows 2000
> dial-up connection from the cygwin command line.
> 
> 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.

Try typing
	rasdial /help
from a command line.

It's a built-in in NT, 2k and (I think) XP and works fine for me from
CMD.EXE or bash.

There's a freeware (or perhaps shareware) version available for 9x/Me
as well. You'll have to Google for that.

Regards,
-- 
Sam Edge

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