kevijeps
Greetings
I am working on a system that will use the Quadras as unattended terminals interfacing museum Telegraph displays together into a large area Telegraph network across the internet.
I can get a basic image created to flash to Quadras that will then be placed in the various museums. However the one thing I can't do before deployment is configure the Internet access. All the museums have different Internet connections ranging from normal Lan ethernet access through firewalls to wifi being tethered to the dosent's personal phones.
I want to get the Quadra image setup to be able to have a local computer act as a terminal to access the Quadra using a USB null modem connection so I can configure the Internet access when the device is first installed.
I have a USB to USB null modem cable and it gets detected by the Quadra just fine, however getting a terminal access setup to use that USBtty has eluded me.
The other gotcha is that the Quadras all have one USB interface that will be used to talk to the local telegraph equipment so I need to be able to make sure that the terminal uses a consistent USBtty port but I don't know how to force the Quadra to always use USB0 for the telegraph and USB1  for the terminal.
I hope that makes sense.
Has anyone used a USB null modem cable for Terminal access to a Quadra?
Suggestions welcome.

73
Ciao
Kevin Jepson
Instigator and Wirechief
Alberta MTC Line project
Calgary (CG) Chapter of The Morse Telegraph Club
DougReed
Hi Kevin.
I don't have exact steps for you, but the advice I've seen elsewhere is that you want to write some "udev rules" to make sure USB devices are assigned the way you want them. Do a web search for "linux usb udev rules" and start reading. For being able to edit files on the remote Quadra over serial, you are going to have to write one of those rules to assign the USB serial port as "con:" the console serial port for the Quarda, If that works, the result would be similar to SSH. Telnet, or TTY login to a Linux box. You would hit enter a few times on the PC serial program and the Quadra should respond with a "Login" prompt. Enter the user name, enter, followed by the password, and enter. The password will not be echoed back, but if you did it right, you should be logged in, same as using the local console from the GUI. Be sure to "exit" when done. I haven't actually tried doing this, but it should be a start toward doing it right?  Doug.
Reply 0 0
kevijeps
Hi Doug
Thanks for the pointer, I have successfully created a UDEV rule that detects when the null modem cable is attached and adds a serial console to it.
This is exactly what I wanted 😁
There is one odd behaviour though, the two physical usb ports behave differently the one on the back operates as one would expect adding teh console correctly and removing it when the cable is plugged and removed.
The one on the side, the blue one, will do this after the Quadra is restarted but after the cable is removed it will not dted=ct it again until the Quadra is again restarted!
Thanks again for your help, I will open a question in the support forum for this one.
Have Happy New Year!
Ciao
KJ
Reply 0 0
Reply