Migrating EtherLite 32 from Unix to Linux.

Hello everyone!

New to the forums, and to Linux. We use several digiboards with EtherLite32 to manage a variety of serially connected instruments. We are currently in the process of migrating from a Solaris Environment to a Red Hat Linux one. Because the connections will be managed by instruments, it is important that I can script the port management commands rather than using a GUI. For example, the instrument interface program should automatically adjust the port baud rate by calling to the Linux Layer and passing the appropiate line commands.

I have a couple of questions:

Is there a simple way to toggle the login prompt to a digiboard port? I have been using agetty with mixed results. What is the recommended command(s) to:

  1. enable the port for user login.
    In solaris: pmadm -e -p digimon2 -s d2001s
    In RedHat: /sbin/agetty ttyd200 9600 vt220

  2. disable the port for user login (like for an instrument, where the instrument would not “login” into the system.

I have been using callout in combination with agetty, anyone knows if that is correct?

Many thanks in advance for your help!

You may want to consider using upstart. It allows you to use a simple start and stop command to spawn agetty and uses individual configuration files for each tty device.

You’ll want to check with your Linux vendor to obtain the package/documentation.

Thanks for the advice! I will look into upstart as a starting point.