Discussion Locked

Configuring TCP/IP via DOS

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We are running Win95 clients on a Netware LAN using TCP/IP. We are having problems with DNS being lost. Is there a way to edit the TCP/IP properties (ie DNS) via DOS? I would like to create a login script that automatically assigns the DNS settings in the event that they are lost. Thanks in advance.

J-Man

9 replies

by nettek

Win 9x can use HOSTS files to map IP addresses to domain names. You will find a sample host file in 9x called c:\windows\hosts.sam (.sam for "sample"). You can open it with notepad to view it. You create your own by using notepad and saving it asHOSTS.txt.

You could create a shared folder on your server, and copy this file to the c:\windows directory of each workstation using a login script.

by earnest

Speaking only for me the only place I know you can get access to is the hosts.sam. What you do is edit this file and save it with no extension. This will provide the DNS addresses.

Bo

by stillatit

You could, on each machine, export the registry key [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters] into a .reg file. Double-clicking on the .reg file will restore the parameters. Note that this key is on my NT workstation. Key names on other systems may vary.

Good luck.

by mark

Use the DHCP Server that comes with Novell. Configure it to assign the IP, Gateway, and DNS. Be sure to disable the settings on the workstation or they will over-ride the DHCP settings.

This discussion is closed to new replies.