LinBPQ Applications Interface.

LinBPQ has a facility to make a tcp connection from the node to an application running on the same machine. This was originally intended to connect to a shell to enable basic configuration editing, but has been generalised to allow connects to other tcp ports, thus allowing you to write your own applications to be used with LinBPQ.

Henk, pointed out that there was something missing in this story. Nowadays we mainly work with Systemd in the newer version of Linux. So the inetd (internet super server) is no longer part of this. But you can still install it. “sudo apt-get install inetutils-inetd” or the successor to inetd the Xinetd “sudo apt-get install xinetd”
Thank you Henk…

Ok, that sounds nice. Let give it a try.

Fist setup Linbpq, add de “cmdport” to the telnet port section.

I have add “CMDPORT 63000” but it can by any number.

Now add a Application at the end of de bpq32.cfg

Now we have to add some stuff to /etc/services and /etc/inetd.conf



Now restart inetd. sudo killall -1 inetd

I have found a small script on the internet and make some adjustments.
This script is using some perl modules that has to be installed.

The script. /usr/local/linbpq/

Now we can run the script from linbpq. Let give it a try.

1 thought on “LinBPQ Applications Interface.”

  1. Today i mannaged to make this script work! 🙂 There where a couple of things missing for my.
    I needed to install “inetd” (now xinetd) to make this work >> sudo apt-get install xinetd
    Took me a few hours to get it work with my limited knowledge of linux 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.