During installation BToolkitd is put in the $BKIT directory, but it may be moved to any convenient directory for execution; the licence file B.licence (supplied separately from the B-Toolkit) may also reside in any convenient directory. If this licence file is not present, BToolkitd will not execute.
On invocation BToolkitd should be given the full path to the B.licence directory; so assuming that BToolkitd and B.licence are in /usr/local/bin and /usr/local/lib respectively, it may be invoked:
/usr/local/bin/BToolkitd /usr/local/libTo ensure that the daemon runs on start-up the following text should be inserted in an appropriate start-up file (for example /etc/rc.local on SunOs4.x, /etc/rc2.d/s73nfs.client on Solaris, /etc/rc.d/rc.local on Linux):
# # start BToolkitd # if [ -f /usr/local/bin/BToolkitd ]; then /usr/local/bin/BToolkitd /usr/local/lib & echo -n ' BToolkitd' fiFor convenience, the licence file may now have a name other than B.licence, in which case the full path to the licence (rather than to its directory) should be given: for example, if the licence is called B.licence_ultra5, and resides in the /usr/local/licences directory, it should be invoked:
/usr/local/bin/BToolkitd /usr/local/licences/B.licence_ultra5Note that the following are equivalent:
/usr/local/bin/BToolkitd /usr/local/lib
/usr/local/bin/BToolkitd /usr/local/lib/B.licence
BToolkitd may take an optional port-number second argument (see below)
$BKIT/B_server(ie. in the BKIT directory of the B-Toolkit installation). The BToolkit will then use this file (together with the optional $BKIT/B_port file) to establish the platform/port on which the daemon is running, and attempt to establish a TCP/IP connection.
If the file $BKIT/B_server does not exists, it will be assumed that BToolkitd is running on the same platform as the BToolkit, as will be the case in a single-platform installation. same platform.
BToolkitd 2050/tcp # BToolkit daemonIf this method is used, all clients as well as the server, should have the same entry in their services file.
usr/local/bin/BToolkitd /usr/local/licences/B.licence_ultra5 5000then that port in taken. However in this case, the file
$BKIT/B_portshould be created to contain the port , so that clients may contact the daemon on the correct port.
BToolkitd_util may be invoked in the following four ways:
Obtaining and installing the licence is a four-part process (assuming you have already downloaded and installed the latest version of the B-Toolkit, and set the BKIT Environment Variable):
$BKIT/BToolkitd_util codeThis will produce a file containing a dotted-quad hardware code for your machine.
Visit http://www.b-core.com
and navigate to the section on Evaluation Licences.
Fill in and submit the form giving the hardware
code you obtained above.
When the email arrives, save the mail message as the file:
BHW.mailin the $BKIT directory.
$BKIT/BToolkitd_util installBHWThis will install the hardware licence and you will now be able to run the B-Toolkit.