This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: activating a dial-up connection from cygwin


Hey, Sam,

Where were you when I was looking for this way back when?

That's two lacunae in as many days:

    rasdial
    mkshortcut

Ignorance is _not_ bliss!

Thanks to you and Luke Kendall for the enlightenment.

RRS


At 07:46 2003-07-25, Sam Edge wrote:
"Rob" <rob2@siklos.ca> wrote in
<0d1001c352b5$3e6328f0$6c0aa8c0@adexainc.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]