Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <bcbc1a8604100513506028919a@mail.gmail.com>
Date: Wed, 6 Oct 2004 04:50:57 +0800
From: "Edward L. Fox" <edyfox@gmail.com>
Reply-To: "Edward L. Fox" <edyfox@gmail.com>
To: cygwin@cygwin.com
Subject: Re: (De)activating network connection
In-Reply-To: <OF694183C2.CFA4EE65-ON03256F24.006CB529-03256F24.0071B3F7@fosfertil-ultrafertil.com.br>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <OF694183C2.CFA4EE65-ON03256F24.006CB529-03256F24.0071B3F7@fosfertil-ultrafertil.com.br>
X-IsSubscribed: yes

Hi Thiers,

    You may try netsh.exe. It's a built in utility in Windows.

    Good luck!


                Edward L. Fox
                2004-10-06

From: edyfox@gmail.com

On Tue, 5 Oct 2004 17:42:37 -0300, Thiers Botelho
<thiers@fosfertil.com.br> wrote:
> Hi all,
> 
> After searching google and cygwin.com I couldn't find what follows (well,
> maybe didn't search thoroughly enough, but then I couldn't make the search
> terms very much objective . . .)
> 
> I wish to use some command within a script to activate / deactivate an
> Ethernet connection.
> 
> In WinXP this would normally be done thru Settings / Network Connections /
> Local Connection / right-click .
> 
> I found _rasdial.exe_ but it seems to deal only with dial-up connections.
> 
> There's got to be some simple cmdline on/off switch somewhere (hope that
> won't be regedit . . .)
> 
> Any hints on that are welcome.
> 
> Thnx all
> 
> Thiers Botelho
> 
> --
> 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/
> 
>

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

