USAGE EXAMPLE
=============

  Below is an example of using NetBEUI extension for Linux 2.0.35 
and SAMBA 2.0.6 :

# netb start

Procom LLC (version 1.10)
NET3.035: IEEE 802.2 extended support.

LLC installation successful.

NetBEUI 1.28 : A product from Procom Technology Inc.
        (C)Copyright Procom Technology Inc. 1997

        - NetBIOS SAP(0xF0) opened successfully on LLC.
        - NetBEUI is bound to all supported network devices.

NetBEUI started.

# cd /usr/local/samba-2.0.6/source/bin

*** Note : This will start SAMBA for boty TCPIP and NETBEUI protocol ***
# smbd -Z NETBEUI -S SMB_SERVER
# nmbd -Z NETBEUI -n SMB_SERVER
# smbd -Z TCPIP -S SMB_SERVER
# nmbd -Z TCPIP -n SMB_SERVER

# smbclient '\\SMB_SERVER\TMP' -Z NETBEUI
Password:
smb: \>
smb: \> ls
smb: \> get myfile.txt
smb: \> quit

# nbstatus SMB_SERVER

Status information from SMB_SERVER          
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Length of status information: 168 bytes

Adapter's encoded address: 000000000000

Software version: 3.0 (with support of new NCB parameters)
Duration of reporting period: 20 minutes

Maximum datagram packet size: 3505
Maximum number of pending sessions: 65535
Maximum size of session data packet: 3552

Number of names in name table: 6

*******************************************************************************
                              N A M E  T A B L E
*******************************************************************************
NameNo  Name                         Type    Status 
-------------------------------------------------------------------------------
 7      SAMBA          <1c>          GROUP   registered
 6      SMB_SERVER     <03>          GROUP   registered
 5      SAMBA          <1e>          GROUP   registered
 4      SAMBA          <00>          GROUP   registered
 3      SMB_SERVER     <00>          GROUP   registered
 2      SMB_SERVER                   UNIQUE  registered

#


HOW TO USE NETBEUI 
==================

  After installation, there are two groups of programs that make use 
of NetBEUI:

	1. NetBEUI scripts and utilities.

	2. SAMBA daemons and utilities.


   NetBEUI scripts and utilities are useful utilities and programs for 
administration and monitoring the NetBEUI itself. They consist of:

	nbadmin - C program for issuing some administrative commands
		on NetBEUI. See doc/NBADMIN.txt for more information.

	nbstatus - C program for reporting statistics and status of 
		NetBEUI such as name table and other useful parameter
		values. See doc/NBSTATUS.txt to know how to use this
		utility.

	nbview - A menu-driven bash script which helps a lot in showing
		the current state of NetBEUI, such as registered names,
		name status, links, adapters and sessions established and 
		detailed information about each of them. 
		See doc/NBVIEW.txt to know how to use this useful utility.

	netb - Bash script for either starting or stopping the NetBEUI.

	(Note that right after NetBEUI installation all above commands
	are available below /usr/sbin, but they have no effect until 
	NetBEUI is started.)
	
   SAMBA daemons and utilities that the current NetBEUI extension is applied 
to them consist of:

	smbd - The SAMBA server which performs all the job of SMB/CIFS file
		and printer sharing in the network. There are two options
		added to smbd:

		-S <NETEIOS NAME> : For giving a netbios name to the server.

		-Z <NETBEUI | TCPIP> : For selecting between NetBEUI and TCPIP.

**IMPORTANT**
	- All names and options should be entered UPPERCASE


	nmbd - The SAMBA name server which handles browsing and group and
		domain listing and management in the network. There is
		only one option added:

		-Z <NETBEUI | TCPIP> : For selecting between NetBEUI and TCPIP.


	smbclient - The SAMBA client that can talk to an SMB/CIFS 
		    server. It offers an interface similar to that 
		    of the ftp program. There is only one option 
		    added: 
	
		-Z <NETBEUI | TCPIP> : For selecting between NetBEUI and TCPIP.

   The above comments for SAMBA programs are also available while using 
'-h' option for each of the above utilities and daemons.
