beautypg.com

Nbtstat -w – Siemens Unix V4.0 User Manual

Page 109

background image

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

To view the current WINS client configuration:

Ê

At the command prompt, type

nbtstat -w

Example of

/var/opt/nbrfc/conf/wins.cfg

:

WINS servers configured in the

wins.cfg

file are not only used for name resolution, but also

for name registration, name renewal and name release.

Be sure to have the NetBIOS tuning parameter NBRFCWINSREG set to 1 if you

want Advanced Server for UNIX to register names with WINS servers.

If the local machine is running the Advanced Server for UNIX 4.0 WINS service, it

is recommended to configure both primary and secondary WINS to point to this
WINS, i.e. to the local machine.

#########################################################################

# WINS client configuration file for nbrfc

#########################################################################

#delete old WINS entries from old configurations
/var/opt/nbrfc/bin/delwins -s > /dev/null 2>&1
/var/opt/nbrfc/bin/delwins -p > /dev/null 2>&1

#uncomment the line and add the IP address to configure a primary WINS
/var/opt/nbrfc/bin/addwins -p 144.145.16.26

#uncomment the line and add the IP address to configure a secondary WINS
/var/opt/nbrfc/bin/addwins -s 144.155.17.199

i

i