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:
enable the port for user login.
In solaris: pmadm -e -p digimon2 -s d2001s
In RedHat: /sbin/agetty ttyd200 9600 vt220
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!