SSH connection to local Rasberry Pi sporadically loses route to host [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm trying to connect to my Rasberry Pi which is connected to the same network as my laptop. Most of the time everything works fine and I can SSH to the Pi no problem.



Sometimes however (approximately a couple times an hour), the SSH connection to the Pi will drop. Trying to reconnect will result in



ssh: connect to host 192.168.1.127 port 22: No route to host


Trying to ping my Pi (192.168.1.127) from my laptop when this happens will return



From 192.168.1.140 icmp_seq=63 Destination Host Unreachable


After about a varying amount of time, about 1-10 minutes, the problem will magically go away and I can SSH and ping my Pi without any problems.



The internet on the Pi is stable and always connected. When my laptop is having this issue, I can ping and SSH to the Pi on my phone and main computer without any problem. The issue seems to be something with my laptop.










share|improve this question















closed as too broad by Rui F Ribeiro, Archemar, Thomas, msp9011, schily Sep 1 at 15:50


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Cable or Wifi? Anything in /var/log/messages when this happens?
    – Gerard H. Pille
    Aug 31 at 7:18










  • Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
    – Smaugy
    Aug 31 at 16:17











  • Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
    – Gerard H. Pille
    Aug 31 at 20:20










  • @GerardH.Pille The wireless connection is the one giving problems
    – Smaugy
    Sep 2 at 15:22










  • As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
    – Gerard H. Pille
    Sep 2 at 17:40














up vote
1
down vote

favorite












I'm trying to connect to my Rasberry Pi which is connected to the same network as my laptop. Most of the time everything works fine and I can SSH to the Pi no problem.



Sometimes however (approximately a couple times an hour), the SSH connection to the Pi will drop. Trying to reconnect will result in



ssh: connect to host 192.168.1.127 port 22: No route to host


Trying to ping my Pi (192.168.1.127) from my laptop when this happens will return



From 192.168.1.140 icmp_seq=63 Destination Host Unreachable


After about a varying amount of time, about 1-10 minutes, the problem will magically go away and I can SSH and ping my Pi without any problems.



The internet on the Pi is stable and always connected. When my laptop is having this issue, I can ping and SSH to the Pi on my phone and main computer without any problem. The issue seems to be something with my laptop.










share|improve this question















closed as too broad by Rui F Ribeiro, Archemar, Thomas, msp9011, schily Sep 1 at 15:50


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Cable or Wifi? Anything in /var/log/messages when this happens?
    – Gerard H. Pille
    Aug 31 at 7:18










  • Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
    – Smaugy
    Aug 31 at 16:17











  • Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
    – Gerard H. Pille
    Aug 31 at 20:20










  • @GerardH.Pille The wireless connection is the one giving problems
    – Smaugy
    Sep 2 at 15:22










  • As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
    – Gerard H. Pille
    Sep 2 at 17:40












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to connect to my Rasberry Pi which is connected to the same network as my laptop. Most of the time everything works fine and I can SSH to the Pi no problem.



Sometimes however (approximately a couple times an hour), the SSH connection to the Pi will drop. Trying to reconnect will result in



ssh: connect to host 192.168.1.127 port 22: No route to host


Trying to ping my Pi (192.168.1.127) from my laptop when this happens will return



From 192.168.1.140 icmp_seq=63 Destination Host Unreachable


After about a varying amount of time, about 1-10 minutes, the problem will magically go away and I can SSH and ping my Pi without any problems.



The internet on the Pi is stable and always connected. When my laptop is having this issue, I can ping and SSH to the Pi on my phone and main computer without any problem. The issue seems to be something with my laptop.










share|improve this question















I'm trying to connect to my Rasberry Pi which is connected to the same network as my laptop. Most of the time everything works fine and I can SSH to the Pi no problem.



Sometimes however (approximately a couple times an hour), the SSH connection to the Pi will drop. Trying to reconnect will result in



ssh: connect to host 192.168.1.127 port 22: No route to host


Trying to ping my Pi (192.168.1.127) from my laptop when this happens will return



From 192.168.1.140 icmp_seq=63 Destination Host Unreachable


After about a varying amount of time, about 1-10 minutes, the problem will magically go away and I can SSH and ping my Pi without any problems.



The internet on the Pi is stable and always connected. When my laptop is having this issue, I can ping and SSH to the Pi on my phone and main computer without any problem. The issue seems to be something with my laptop.







linux ssh networking route






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 31 at 19:34

























asked Aug 31 at 2:24









Smaugy

62




62




closed as too broad by Rui F Ribeiro, Archemar, Thomas, msp9011, schily Sep 1 at 15:50


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as too broad by Rui F Ribeiro, Archemar, Thomas, msp9011, schily Sep 1 at 15:50


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • Cable or Wifi? Anything in /var/log/messages when this happens?
    – Gerard H. Pille
    Aug 31 at 7:18










  • Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
    – Smaugy
    Aug 31 at 16:17











  • Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
    – Gerard H. Pille
    Aug 31 at 20:20










  • @GerardH.Pille The wireless connection is the one giving problems
    – Smaugy
    Sep 2 at 15:22










  • As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
    – Gerard H. Pille
    Sep 2 at 17:40
















  • Cable or Wifi? Anything in /var/log/messages when this happens?
    – Gerard H. Pille
    Aug 31 at 7:18










  • Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
    – Smaugy
    Aug 31 at 16:17











  • Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
    – Gerard H. Pille
    Aug 31 at 20:20










  • @GerardH.Pille The wireless connection is the one giving problems
    – Smaugy
    Sep 2 at 15:22










  • As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
    – Gerard H. Pille
    Sep 2 at 17:40















Cable or Wifi? Anything in /var/log/messages when this happens?
– Gerard H. Pille
Aug 31 at 7:18




Cable or Wifi? Anything in /var/log/messages when this happens?
– Gerard H. Pille
Aug 31 at 7:18












Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
– Smaugy
Aug 31 at 16:17





Everything is connected through WiFi although my main computer which always connects to the Pi is connected through ethernet @GerardH.Pille
– Smaugy
Aug 31 at 16:17













Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
– Gerard H. Pille
Aug 31 at 20:20




Wifi is ethernet too, I suppose you mean cable. Which connection is giving problems, wifi or cable?
– Gerard H. Pille
Aug 31 at 20:20












@GerardH.Pille The wireless connection is the one giving problems
– Smaugy
Sep 2 at 15:22




@GerardH.Pille The wireless connection is the one giving problems
– Smaugy
Sep 2 at 15:22












As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
– Gerard H. Pille
Sep 2 at 17:40




As far as I can see, the problem is with the laptop. Perhaps it put the wifi to sleep?
– Gerard H. Pille
Sep 2 at 17:40















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)