RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    All of the sudden Problem with SSH...

    Scheduled Pinned Locked Moved Help and Support
    ssh connect
    25 Posts 7 Posters 5.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ClydeC
      Clyde @creativename
      last edited by Clyde

      @creativename You got me there, thanks. I muddled static with reserved ips, although they're different things. (Someone may correct me if I err again.) To my knowledge, static ips are configured on the devices themselves, whereas reserved ips are part of the dynamic DHCP process, just reserved for particular devices.

      I heard many times that static ips in an otherwise dynamic ip address space may collide with dynamic ips given by the DHCP server, thus they should be avoided or the whole network should be set to static ips. In @nestor1924's case, this doesn't apply, as the ip would be reserved, not static.

      edit: The method of assigning ips doesn't affect ssh on your system, so DHCP reservation shouldn't matter at all for your ssh problem. I can't say anything about your Windows problem because I don't use Windows.

      SanoS 1 Reply Last reply Reply Quote 0
      • SanoS
        Sano @Clyde
        last edited by

        @clyde
        Actually, duplicate IP are bad, but you can set a DHCP range on a subnet to mix static and dynamic IP.
        For example, on 192.168.0.0/24, you can set your DHCP range to 192.168.0.100-192.168.0.200 and use the rest of the subnet for static IP.
        But this require minimal network knowledge and some strictness in network management.

        That's why generally advised solutions are to avoid this, either by not mixing static/dynamic, or by using dynamic with reserved IP.
        My 2 cents.

        1 Reply Last reply Reply Quote 1
        • AlturisA
          Alturis @edmaul69
          last edited by

          @edmaul69 said in All of the sudden Problem with SSH...:

          @nestor1924 on the retropie can you go into retropie menu and then show ip and verify that the ip address matches the one on your winscp?

          What is the reasoning behind this? Why are people recommending that he use the IP instead of "retropie" ?

          RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @Alturis
            last edited by

            @alturis said in All of the sudden Problem with SSH...:

            Why are people recommending that he use the IP instead of "retropie" ?

            Because sometimes it won't recognise the hostname but it will recognise the IP.

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • nestor1924N
              nestor1924
              last edited by

              I managed to change the serting of the pi to reserved ip and had no issiues "yet" if it returns ill let you guys know, i still connect to winscp via the username, if the issue returns ill use the ip of the pi on winscp as the username to see what happens...

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.