DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

netbios(ADMN)


netbios -- NetBIOS startup/shutdown script

Syntax

/etc/netbios [ start | stop ]

Description

The /etc/netbios script starts or stops NetBIOS. The argument (start or stop) specifies the action to be taken. When starting NetBIOS, netbios reads and exports configuration information to be used by the NetBIOS daemon, nbd(ADMN). If the /etc/lmhosts file exists, the script also calls dlnbhosts(ADMN) which adds all remote host entries in /etc/lmhosts to the internal NetBIOS host table. Certain parameters must be provided to netbios, from which all the information required by nbd will be determined. netbios sources the file /etc/default/nbconf, which should set the following environment variables:

NB_ADDR
Internet address of interface to be used (in dot notation).

NB_BROADCAST
Internet broadcast address to use (in dot notation).

NB_DFLTNCB
Default maximum number of pending NetBIOS Control Blocks (NCBs) per NetBIOS user environment.

NB_DFLTSSN
Default maximum number of active sessions per NetBIOS user environment.

NB_HOST
Hostname corresponding to the interface to be used.

NB_KPALIVE
Time in seconds to enable keep alive messages. If set to -1, no keep alive messages will be used. If set to zero, keep alive messages will be enabled for the default idle time.

NB_MAXNAME
Maximum number of names a user may register.

NB_MAXNCB
Maximum number of NCBs that may be configured.

NB_MAXPKT
Maximum IP datagram size to avoid fragmentation.

NB_MAXSSN
Maximum number of sessions that may be configured.

NB_SCOPE
NetBIOS scope name string (fully-qualified domain name string, for example, i99.sic.com; NetBIOS names are qualified by this domain name).
The environment variables NB_ADDR, NB_BROADCAST, and NB_MAXPKT, which are required by /etc/nbd, are derived from the environment. These values may be overridden by explicitly setting any of these variables in /etc/default/nbconf (for example, NB_BROADCAST could be set to a multicast address).

The following is a sample /etc/default/nbconf file:

   #   @(#)nbconf	1.4 SCO NetBIOS source
   #
   #	Copyright 1995 Santa Cruz Operation, Inc.
   #
   NB_SCOPE=i99.sic.com
   NB_DFLTNCB=16
   NB_DFLTSSN=4
   NB_MAXNAME=16
   NB_MAXNCB=16
   NB_MAXSSN=8
   NB_KPALIVE=0
   export NB_DFLTNCB NB_DFLTSSN NB_MAXNAME NB_MAXNCB NB_MAXSSN NB_KPALIVE

Files


/etc/default/nbconf
NetBIOS configuration file

/etc/lmhosts
NetBIOS remote hosts file

See also

dlnbhosts(ADMN), lmhosts(SFF), nbd(ADMN), netbios(ADMP)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003