This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB Serial Device

Hi all,

I'm trying to plug in a USB-Serial adaptor into my UTM box to send some serial commands out from the UTM box itself.

The system is recognising that a USB device is plugged in:

[177544.073139] usb 2-1: Product: USB2.0-Serial

[178583.593357] usb 2-1: USB disconnect, device number 2
[178586.368061] usb 2-1: new full-speed USB device number 3 using ohci-pci
[178586.533108] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523
[178586.533118] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber= 


But it isnt issuing a tty address for it that I can send commands to such as 

echo test > /dev/ttyUSB0


I know this is outside of the UTM platform, but I would have thought a low level device such as a USB-Serial box would have worked?

Anyone point me in the right direction?

As a side note, looking in /dev/ there is a HEAP of tty entries, is that normal?

Cheers,
Matt


This thread was automatically locked due to age.
  • Found a way around this without using usbserial, no longer required.
  • Feel free to share specifics.  Some might be interested.  [:)]
  • Will do, I'm going to make a bit of a post about it once I get it 100% working. The USBSerial driver was to get LCD4Linux running on my local display, however the more I played tried to get it working on the latest version of UTM, the deeper I seemed to go into the rabbit hole of customising the OS which I didn't want to do.

    So I set my parameters to only use tools available natively on the OS, what I've come up with is putting an Arduino with the ethernet shield in place of the USBSerial connection. Using Bash script, Curl and of course coding the Arduino, I can send a small HTTP request with the stats to the arduino which will update the display every 5 seconds, works very well, and doesn't need any 3rd party tools or customizations.

    Just a bash script on the UTM itself.

    It has the added benefit of not needing to be near the system as it just needs LAN connectivity, or you can run more than 1 display at once. I'll be mounting one inside the server itself and one near my work station.

    The ONLY thing not working is launching the script on boot, which is more my n00b linux skills I think - I'll make a separate post on that.

  • The ONLY thing not working is launching the script on boot, which is more my n00b linux skills I think - I'll make a separate post on that.


    Hi, 

    You can add a startup script in /etc/rc3.d; name it S99something

    Barry
  • Short answer is yes it was normal, USBSerial isn't on the UTM box from what I can tell.

    I built a work around here: https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/22593
  • @Mehak50:  What is hard to tell?  Please be more detailed with your questions.