This is the mail archive of the
mailing list for the Cygwin project.
Re: (De)activating network connection
- From: Fred Kulack <kulack at us dot ibm dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 5 Oct 2004 16:37:35 -0500
- Subject: Re: (De)activating network connection
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
do the activate/deactivate step.
ipconfig /release '*Builtin*'
ipconfig /renew '*Wireless*'
ipconfig [/? | /all | /renew [adapter] | /release [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] ]
adapter Connection name
(wildcard characters * and ? allowed, see examples)
/? 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