Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: Date: Wed, 6 Oct 2004 04:50:57 +0800 From: "Edward L. Fox" Reply-To: "Edward L. Fox" To: cygwin AT cygwin DOT com Subject: Re: (De)activating network connection In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: 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 AT gmail DOT com On Tue, 5 Oct 2004 17:42:37 -0300, Thiers Botelho 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/