(De)activating network connection

Thiers Botelho thiers@fosfertil.com.br
Tue Oct 5 20:43:00 GMT 2004


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/



More information about the Cygwin mailing list