This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: (De)activating network connection
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/