
Connect Tech Blue Heat/Net User’s Manual
Revision 0.13
89
Software Installation for Linux
Installing the Linux host driver
Configure your Blue Heat/Net prior to installing your Linux driver, as outlined in the
Configuration
section of this manual. Once you have your Blue Heat/Net configured, connect
the Blue Heat/Net to the network and make sure you can communicate with the unit.
If it is connected, but you can't communicate with the Blue Heat/Net, try using the
SCM
(Serial
Configuration Manager) to reconfigure the network settings.
Set the line modes of each port (232, 485-HD, 485-FD, etc). This step is vital if your Blue
Heat/Net is to operate correctly within the Linux Operating System. You can configure the line
modes using any of the configuration managers. Reboot your Blue Heat/Net and ping the unit.
The Linux driver is available on the CD that shipped with your Blue Heat/Net. The latest version
of the Linux driver is also available for download from the Connect Tech website.
Insert the CD provided with your Blue Heat/Net into the disk drive. Follow the steps below to
install the driver.
1.
Log in as root.
2.
Mount your CD drive (where XX is your CD ROM drive location).
mount /dev/hdxx/mnt/cdrom
3.
Copy the driver to your home directory.
cp /mnt/cdrom/bh-net/Linux/*.gz
4.
Change the directory to your home.
cd
5.
Unzip the given .tar.gz file into a temporary directory.
tar -xvzf BHN_LHD.tar.gz
6.
Navigate to the temporary directory.
cd BHN_LHD
7.
Run the install script and follow the on-screen instructions.
./BHN_LHD-install.sh
Linux host driver setup using auto discovery
1.
Navigate to the install directory.
cd /usr/cti/BHN-Linux
2.
Create a configuration file.
cat /proc/bhn/autodiscover > ./bhn.conf
3.
Run bload.
./bload
This will attach the driver to
/dev
nodes according to
./bhn.conf
To test the installation, run a local loopback test between two ports using a standard serial
terminal program (like minicomm) and a null modem cable.
You should now have a set of Blue Heat/Net ports available as
/dev/bhnS* .
The file bhn.conf is
used to set the serial port mappings. For more information on serial port mapping in Linux,
please refer to the Readme.txt located on the Blue Heat/Net CD.