No internet connection
  1. Home
  2. Technical Support

setting a static IP address on the TinyPilot Voyager 2

By Stavros Kaukas @StavrosK
    2022-09-01 12:15:23.746Z

    I am referecing: https://tinypilotkvm.com/faq/static-ip

    In the Putty session I enter the following commands and then hit the enter key shown by -->

    export TINYPILOT_STATIC_IP="10.0.0.223/24"
    export ROUTERS="10.0.0.1"
    export DNS="${ROUTERS} 8.8.8.8 1.1.1.1"
    curl --fail --silent --show-error \ https://tinypilotkvm.com/scripts/set-static-ip.sh | /bin/bash &&
    sudo reboot
    Then putty session closes(says Server unexpectedly closed netowrk conenction;
    but I see >curl: (3) URL using bad/illegal format or missing URL

    Then the tinypilot voyager2 reboots and the same ip address is in place.

    • 1 replies
    1. David @david2022-09-02 12:11:01.372Z

      Hi Stavros, thanks for your question!

      Based on your description and the error message, it looks like the curl command is failing. There are supposed to be line breaks after the backslashes, but it looks like they're getting stripped out somehow and causing the error.

      I've re-written the command to remove the backslashes. Can you copy & paste each command in order and see if that works?

      export TINYPILOT_STATIC_IP="10.0.0.223/24"
      export ROUTERS="10.0.0.1"
      export DNS="${ROUTERS} 8.8.8.8 1.1.1.1"
      
      curl --fail --silent --show-error https://tinypilotkvm.com/scripts/set-static-ip.sh | /bin/bash
      
      sudo reboot