Connecting from one SG-3100 to another via Console cable



  • I am remotely connected to an SG-3100 and want to console to another SG-3100 connected to it's USB port in order to repair it.

    If I run the command usbconfig I get the following output:
    ugen1.2: <Silicon Labs CP2104 USB to UART Bridge Controller> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)

    But if I try to connect to it using the cu command all I get is Connected, doesn't matter how often I hit the enter key, I don't get anywhere with it.

    root: cu -l /dev/cuaU0 -s 115200
    Connected
    

    I've done this using the SG-5100 without a problem using the screen command, but for some reason the screen package is not available on the SG-3100, so I'm stuck with cu.

    I'm wondering whether this works for anyone else?

    Also any idea why there is no screen package for ARM?



  • I compiled screen for armv6 using my poudriere setup, and communication isn't working there either, just a blank screen.

    Going to try getting a laptop connected and see if that works. Will let you guys know if it does and whether I figure anything out.


  • Netgate Administrator

    Yeah that should work fine using cu, I do that here all the time. Seems more like it really has no console output.

    Steve



  • Update: So turns out, it does work fine. My screen package for ARM also works fine on the SG-3100, so not sure why it's excluded in the upstream build.

    The root problem was, that the problematic SG-3100 that I'm trying to troubleshoot goes into a
    Setting up static routes...Fatal kernel mode data abort: 'Translation Fault (L1)' on read
    error and new console connections would not work, if I catch it during boot then I'm fine.

    Next up, trying to figure out what that fatal kernel mode abort is all about.


  • Netgate Administrator

    You should probably open a ticket with us here for that if you have not already: https://go.netgate.com

    Steve


Log in to reply