No internet connection
  1. Home
  2. Technical Support

Cannot connect to server

By Garabed Yegavian @gyegavian
    2024-12-12 17:42:36.961Zassigned to
    • @david

    Can someone help me figure out what's the problem, I can get access the web interface but I cant get the screen to work, tried hdmi and the VGA. Also the log shows the usb cannot be found? I tried uploading or posting my log but it says has to be an image to upload and preformmated text says it too large.

    • 18 replies

    There are 18 replies. Estimated reading time: 12 minutes

    1. G
      Garabed Yegavian @gyegavian
        2024-12-12 20:22:23.349Z

        Log uploaded

        1. G
          In reply togyegavian:
          Garabed Yegavian @gyegavian
            2024-12-12 21:58:24.804Z

            I found the following error on my server usb 2-4: device descriptor read/64, error -110

            1. G
              In reply togyegavian:
              Garabed Yegavian @gyegavian
                2024-12-12 22:00:48.742Z

                I disconnected and tried the other ports now I am seeing

                [13061169.018739] usb 2-1: new high-speed USB device number 10 using xhci_hcd
                [13061177.843206] usb 2-1: device descriptor read/64, error -110
                [13061178.077133] usb 2-1: New USB device found, idVendor=1d6b, idProduct=0104
                [13061178.077141] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                [13061178.077145] usb 2-1: Product: Multifunction USB Device
                [13061178.077148] usb 2-1: Manufacturer: tinypilot
                [13061178.077151] usb 2-1: SerialNumber: 6b65796d696d6570690
                [13061178.079367] input: tinypilot Multifunction USB Device as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/0003:1D6B:0104.000F/input/input25
                [13061178.135429] hid-generic 0003:1D6B:0104.000F: input,hidraw0: USB HID v1.01 Keyboard [tinypilot Multifunction USB Device] on usb-0000:00:14.0-1/input0
                [13061178.137237] input: tinypilot Multifunction USB Device as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1/0003:1D6B:0104.0010/input/input26
                [13061178.137748] hid-generic 0003:1D6B:0104.0010: input,hidraw1: USB HID v1.01 Mouse [tinypilot Multifunction USB Device] on usb-0000:00:14.0-1/input1

                1. In reply togyegavian:
                  David @david2024-12-16 12:24:20.730Z

                  Hi @gyegavian, I'm sorry you're running into these connection issues.

                  Thanks for sharing those logs! For future reference, TinyPilot can upload a log to our servers that allows you to share just a URL for us to review the log. On the log view, click "Get Shareable URL" and paste the URL in your reply.

                  Can we focus on the No Signal issue to begin with?

                  Typically, we see a No Signal image if TinyPilot doesn't support the display setting that the target machine is outputting. We have an FAQ that goes into a little more detail about common causes of this No Signal that may help.

                  You mentioned you've tried both HDMI and VGA. Could you tell me more about how you tested HDMI here (particularly the target machine's make/model/operating system)? Have you tried a known-working HDMI cable and target machine?

                  Please let me know if you have any questions.

                  1. GGarabed Yegavian @gyegavian
                      2024-12-19 12:24:25.774Z

                      I tested with known working hdmi cable. I tried rebooting the pilot after switching to hdmi cable. I cannot reboot the server without loosing all the network settings. Thats why we got this was to hopefully fix this server. Let me ask you, is there no way to just ssh to the unit. Its my understanding that the tinypilot uses linux. Is there a possibility to ssh to it and then ssh to the unit in question?

                      1. David @david2024-12-19 16:15:50.984Z

                        Thanks for the update, @gyegavian!

                        If your server isn't working correctly, it's possible it's not outputting a video signal to your TinyPilot.

                        is there no way to just ssh to the unit. Its my understanding that the tinypilot uses linux. Is there a possibility to ssh to it and then ssh to the unit in question?

                        You can SSH into your TinyPilot - our FAQ has details on setting up SSH on your TinyPilot. However, it might be difficult to SSH into your server using TinyPilot if your TinyPilot isn't on the same network as the server and your client machine.

                        Could you tell me more about the setup you're using? For example, are you connecting to your TinyPilot remotely using a tool like Tailscale to try accessing the server?

                        Please let me know if you have any other questions.

                        1. GGarabed Yegavian @gyegavian
                            2024-12-19 16:20:28.635Z

                            I apologize I did not mean ssh to the server in question. I was wondering if I can connect to it over the USB port as a serial connection?

                            1. In reply todavid:
                              GGarabed Yegavian @gyegavian
                                2024-12-19 16:22:51.061Z

                                I am connecting to tiny pilot using putty. I was hoping I could make a serial connection from the tiny pilot to the server as we are trying to fix a network issue.

                                1. In reply todavid:
                                  GGarabed Yegavian @gyegavian
                                    2024-12-19 16:41:46.589Z

                                    something like this even

                                    1. David @david2024-12-19 19:05:44.450Z

                                      I was hoping I could make a serial connection from the tiny pilot to the server

                                      I believe it is possible to use a USB-A to Serial cable with TinyPilot to manage a machine like your server.

                                      I don't have many details to hand, but I believe once you've connected your TinyPilot to your server with a USB-A to serial cable, you can SSH into your TinyPilot and run a command like screen /dev/ttyUSB0 to establish a serial console connection with your server.

                                      If you have any specific questions on getting this working, please let me know and I can try and put together some details for you.

                                      1. GGarabed Yegavian @gyegavian
                                          2024-12-19 19:14:00.878Z

                                          I get the following

                                          pilot@tinypilot:~ $ screen /dev/ttyUSB0
                                          -bash: screen: command not found

                                          1. GGarabed Yegavian @gyegavian
                                              2024-12-19 19:18:34.814Z

                                              Yea I guess if you wouldnt mind getting me more info. running screen /dev/ttyUSB1 Cannot exec '/dev/ttyUSB1': No such file or directory

                                              1. David @david2024-12-20 12:31:18.665Z

                                                -bash: screen: command not found

                                                Sorry about that, I thought screen was installed by default. Could you run the following command to install it?

                                                sudo apt-get install screen -y
                                                

                                                To find available devices, run the following command:

                                                ls /dev/ttyUSB* /dev/ttyACM* 2>/dev/null
                                                

                                                If the baud rate your server uses isn't 9600, you can specify a baud rate after the device:

                                                screen /dev/ttyUSB0 115200
                                                

                                                Within screen, you can print help by typing the ? character and you can exit the console session by pressing Ctrl + A and then typing in :quit and hitting the RETURN key

                                                I hope the helps! Please let me know if you have any questions.

                                                1. GGarabed Yegavian @gyegavian
                                                    2024-12-20 13:19:01.491Z

                                                    I connected to different server and I am seeing the same results. Both are linux boxes. https://logs.tinypilotkvm.com/qXyfmGao

                                                    ls /dev/ttyUSB* /dev/ttyACM* 2>/dev/null provides no output. screen /dev/ttyUSB0 gives me Cannot exec '/dev/ttyUSB0': No such file or directory

                                                    1. David @david2024-12-20 15:46:20.215Z

                                                      I connected to different server and I am seeing the same results.

                                                      Thanks for sharing those logs! These new logs on the different server show the other server is outputting a 1920x1080p resolution at 60Hz (1920x1080p60.00). Unfortunately, TinyPilot Voyager 2 devices don't support that display setting, which causes this No Signal issue in this instance.

                                                      Are you able to manually adjust the output resolution of the second server? Could I ask if you're using a VGA adapter here?

                                                      ls /dev/ttyUSB* /dev/ttyACM* 2>/dev/null provides no output.

                                                      If that command I shared has no output, that suggests there isn't a serial device connected. Do you know whether the server you're connecting to is running a serial console?

                                                      1. GGarabed Yegavian @gyegavian
                                                          2024-12-20 16:09:21.777Z

                                                          sudo dmesg | grep tty
                                                          [ 0.488179] printk: console [tty0] enabled
                                                          [ 0.805500] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
                                                          [ 1.069882] tty tty5: hash matches

                                                      2. In reply todavid:
                                                        GGarabed Yegavian @gyegavian
                                                          2024-12-20 16:22:05.935Z

                                                          if i run ls /dev/ | grep ttyUSB0 i get nothing. Maybe I have this setup incorrectly. I have the data usb port connected to the servers usb port. Is that correct or am I supposed to use one of the other usb ports?

                                          2. G
                                            In reply togyegavian:
                                            Garabed Yegavian @gyegavian
                                              2024-12-20 16:01:07.462Z

                                              I set the server up to see if I can get the serial configuration working. I am sure if I reboot the monitor will work. The devices we service mostly have serial connectivity so if I can get this working, we can defiantly get some more! We do not really need a monitor if we can just terminal in. One less hassel.