1 the wins.cfg file, Cd /var/opt/nbrfc/conf; sh wins.cfg – Siemens Unix V4.0 User Manual
Page 108
Configuring Advanced Server for UNIX
Configuring NetBIOS
Product Manual
U7613-J-Z815-6-76
©
S
iem
e
n
s
N
ix
dor
f
In
fo
rm
at
io
n
s
s
y
s
te
m
e
A
G
1
9
9
5
P
fad
: D:
\O
7
613
e6
\u
761
3e
.k
05
The chapter
contains more comprehensive explanations on how
WINS clients communicate with WINS servers.
Name resolution on an Advanced Server for UNIX computer is configured by editing two
textfiles in the
/var/opt/nbrfc/conf
directory:
●
The
wins.cfg
file is used to configure an Advanced Server for UNIX computer as a WINS
client.
●
The
names.cfg
file is used to specify static mappings of NetBIOS names to IP addresses.
The following sections explain the usage of both files.
5.1.3.1
The wins.cfg file
In file
wins.cfg
you can enter two WINS server addresses by which means the Advanced
Server for UNIX computer is configured as a WINS client. This file, together with a corre-
sponding template file
wins.sam,
is automatically created in
/var/opt/nbrfc/conf
during instal-
lation of the
nbrfc
package if it does not already exist.
To configure an Advanced Server for UNIX computer as a WINS client:
Ê
Edit
wins.cfg
and fill in the IP addresses of a primary and a secondary WINS server. Any
WINS-Server within reach – NT WINS or Advanced Server for UNIX 4.0 WINS – can
be used.
Ê
Run the file
wins.cfg
as a
sh
script:
cd /var/opt/nbrfc/conf; sh wins.cfg
The last command is executed automatically whenever NetBIOS starts, e.g. at system
startup.