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 In-Reply-To: <41630B3E.1E072A74@dessent.net> To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: Re: (De)activating network connection Message-ID: From: Fred Kulack Date: Tue, 5 Oct 2004 16:37:35 -0500 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes 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: ipconfig [/? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ] where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified adapter. /renew Renew the IP address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /setclassid Modifies the dhcp class id. -- 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/