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

    Weird SSH / Wi-fi problem

    Scheduled Pinned Locked Moved Help and Support
    ssh wi-fi
    7 Posts 3 Posters 1.9k 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.
    • T
      tuomasjar
      last edited by

      I have raspberry pi 3 with raspberrys own power supply. I run irssi screen on the pi along with retropie and I keep it on all the time.

      Almost every day when not used for long time I need to reboot the pi to be able to connect to SSH from my desktop.
      I use Putty, desktop is connected via cable to router and retropie is on Wi-Fi, since it is in living room.
      I tried re-enabling the ssh and it says ssh is now enabled.
      But only after a reboot I am able to connect to ssh again.

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @tuomasjar
        last edited by

        @tuomasjar

        How far away is your Pi from the Router? Mine's unavoidably far and I have trouble losing connection all the time. The Antennae on the Pi3 is pretty weak.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 0
        • R
          RetroRay
          last edited by

          @tuomasjar yeah, I agree you'r most likely getting disconnected over time. Next time you ssh into your pi install the wavemon wifi utility to survey signal strength. To do so issue "sudo apt-get install wavemon" then run the application with "sudo wavemon -i wlan0". link quality should be atleast 60% and also take note of your signal level . The lower the number the better. My Pi is about 8 feet away from my router and my link quality is 100%, signal level -41dBm. Hope this helps :)

          1 Reply Last reply Reply Quote 0
          • T
            tuomasjar
            last edited by tuomasjar

            Alright I'll try that. Pretty far away a behind two soft walls. Around 10 meters. It shows 40-50% quality. signal lvl -75 dBm

            1 Reply Last reply Reply Quote 0
            • T
              tuomasjar
              last edited by

              Is there a way to refresh the connection without rebooting the whole pi?

              R 1 Reply Last reply Reply Quote 0
              • R
                RetroRay @tuomasjar
                last edited by

                @tuomasjar sudo ifdown wlan0 down && sudo ifconfig wlan0 down && sudo ifup wlan0

                1 Reply Last reply Reply Quote 0
                • T
                  tuomasjar
                  last edited by

                  Now it seems that when I use my phone to connect to the SSH from external source my port forwarding works, but I can't connect from my desktop using internal ip address. Retropie is 192.168.100.11 and desktop is 192.168.100.15...

                  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.