Solved

DNS Server name in net initialize stage of unattended install

Posted on 1998-11-25
7
610 Views
Last Modified: 2013-12-14
I need to include the DNS server name and address in the dos net initialization stage of the unattended install in order to map my i386 directory from the server how do I do this.
0
Comment
Question by:jmays
  • 3
  • 3
7 Comments
 
LVL 8

Expert Comment

by:Koen
ID: 1771965
I'm not sure this is the right one so I'll post as a comment...

Check the net directory of your boot diskette for a lmhosts file? This should look like this :

# Copyright (c) 1994 Microsoft Corp.
#
# This is a sample LMHOSTS file used by Microsoft TCP/IP
#
# This file contains the mappings of IP addresses to computer
# (NetBIOS) names.  Each entry should be kept on an individual line.
# The IP address should be placed in the first column followed by the
# corresponding computername. The address and the LAN Manager name
# should be separated by at least one space.
#
# Note that the utilities will only recognize a finite number of
# mappings.  This current limit is 59 for Windows for Workgroups.
#
# Also, comments (like these) may be inserted on individual lines or
# following the machine name denoted by a '#' symbol.
#
# For example:
#
#      149.124.10.4     server1                 # main office server
#      182.102.93.122   joe3                    # joe's database server


Add your deployment server's IP-address and name to the file (of course NOT preceeded by the #)


0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1771966
do you mean the unattended setup  file? then

[ProtocolsSection]
TC = TCParams
[TCParams]
IPAddress   = w.x.y.z
Subnet         = a.b.c.d
DNSServer = e.f.g.h
DNSName = domain.dom


or do you mean DOS's protocol.ini:
[TCPIP]
DriverName         = TCPIP$
IPAddress0          = w x y z
SubNetMask0     = a b c d
DNS_Server0      = e f g h
WINS_Server0    = i j k l



0
 

Author Comment

by:jmays
ID: 1771967
ahoffman I mean the DOS protocol.ini, here is my DOS protocol.ini how would I put in a DNS server name and address.

 [network.setup]
version=0x3110
netcard=ms$oli164,1,MS$OLI164,1
transport=tcpip,TCPIP
lana0=ms$oli164,1,tcpip

[ms$oli164]
drivername=OLITOK$
; adapter=0
; maxtransmits=6
; maxrequests=6
; recbufsize=512
; recbufcount=10
; earlyrelease=yes
; rpl=

[protman]
drivername=PROTMAN$
PRIORITY=MS$NDISHLP

[tcpip]
NBSessions=6
DefaultGateway0=
SubNetMask0=
IPAddress0=
DisableDHCP=0
DriverName=TCPIP$
BINDINGS=ms$oli164
LANABASE=0

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Accepted Solution

by:
Koen earned 50 total points
ID: 1771968
You needn't enter anything in the protocol.ini for DNS... DOS doesn't use that... It uses a lmhosts file (see above) instead... Have you tried my solution?
in the protocol.ini file comes your IP and the gateway and the subnet and that's it...

The name resolving is done throught the lmhosts file!
0
 

Author Comment

by:jmays
ID: 1771969
so if I had a server named,  jmayssrv  with an address of 199.199.199.199.  How would my lmhosts file look.  Thanks.
0
 
LVL 8

Expert Comment

by:Koen
ID: 1771970
What I posted in my first comment is the standard lmhosts file that comes with every NIC.
(but since it is all remarks you can just forget about that).
create a text file, name it lmhosts (no extention) and add following line :

199.199.199.199      jmayssr

That is it no special formatting,nothing just the IP address and the name separated by some spaces.
Gd Luck
Koen
0
 

Author Comment

by:jmays
ID: 1771971
Your the man!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question