| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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: | <OF15EEB4D8.B6B9CEE4-ON86256F24.00769234-86256F24.0076CCA0@us.ibm.com> |
| From: | Fred Kulack <kulack AT us DOT ibm DOT com> |
| Date: | Tue, 5 Oct 2004 16:37:35 -0500 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |