(De)activating network connection [SOLVED]

2004-10-06 Thread Thiers Botelho
However off-topic, let me make this last posting in order to report my [very positive and interesting] findings on this matter. 1. Microsoft KB article 262265 explains that NETSH.EXE returns an error when trying do disable an Ethernet connection: "Dedicated interfaces cannot be connect

Re: (De)activating network connection

2004-10-06 Thread Jani Tiainen
Brian Dessent wrote: Thiers Botelho wrote: 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 di

Re: (De)activating network connection

2004-10-05 Thread Christopher Faylor
On Tue, Oct 05, 2004 at 04:37:35PM -0500, Fred Kulack wrote: >Getting way off topic here, ...which makes it a better topic for the cygwin-talk mailing list... http://cygwin.com/lists.html#cygwin-talk cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: h

Re: (De)activating network connection

2004-10-05 Thread Fred Kulack
Getting way off topic here, and I'm sure you found this also, but ipconfig is useful for DHCP connection manipulation. I find its sufficient for my use although it doesn't do the activate/deactivate step. YMMV. Example: ipconfig /release '*Builtin*' ipconfig /renew '*Wireless*' USAGE: ip

Re: (De)activating network connection

2004-10-05 Thread Brian Dessent
Thiers Botelho wrote: > 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

Re: (De)activating network connection

2004-10-05 Thread Edward L. Fox
Hi Thiers, You may try netsh.exe. It's a built in utility in Windows. Good luck! Edward L. Fox 2004-10-06 From: [EMAIL PROTECTED] On Tue, 5 Oct 2004 17:42:37 -0300, Thiers Botelho <[EMAIL PROTECTED]> wrote: > Hi all, > > After searching google and cygw

(De)activating network connection

2004-10-05 Thread Thiers Botelho
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 th