Re: setting IP address mask via CLI

2004-02-05 Thread Benjamin Lindner
Victor,

under windows2000 the tool you might use is netsh.exe.
It's a kind of a scripting interface to network parameters

by doing
netsh interface dump

you get the current configuration, which you can alter to your needs
(IP, gateway, DHCP yes/no, DNS, WINS etc)
save the configuration to a file and call

netsh -f configfile

which loads the settings in your configuration file.
Under Windows2000 you do not have to reboot for the new settings
to become effective if you have an active network connetction while
calling netsh -f ...
(at least this is my experience)

HTH
benjamin


On 04.02.2004 at 18:49 Victor Stepanov wrote:

Hello,

Possibly an off-topic, but may someone recommend the way to set up Windows
IP parameters (address, mask, gw...) via command like interface? I'm
looking
for tool similar to netconfig of RedHat Linux.

Thanks in advance!

V.

--
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/



setting IP address mask via CLI

2004-02-04 Thread Victor Stepanov
Hello,

Possibly an off-topic, but may someone recommend the way to set up Windows
IP parameters (address, mask, gw...) via command like interface? I'm looking
for tool similar to netconfig of RedHat Linux.

Thanks in advance!

V.

--
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/



Re: setting IP address mask via CLI

2004-02-04 Thread Jim Drash
The tool to use is regedit.  The TCP/IP setting are a set of registry
entries.  Figure out which Hive to change and then you can use regedit's
CLI to do it.



--
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/



Re: setting IP address mask via CLI

2004-02-04 Thread Shankar Unni
Jim Drash wrote:

The tool to use is regedit.  The TCP/IP setting are a set of registry
entries.  Figure out which Hive to change and then you can use regedit's
CLI to do it.
More than just setting the entry, surely. The setting won't take effect 
until you restart the network connection.

--
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/