swarshah
Posts: 2
Joined: Fri Mar 11, 2016 7:44 pm

Re: [RPi3] SSH not working via wifi

Fri Mar 11, 2016 7:51 pm

I also have the same issue with RPI3.
The ssh didn't work with my router but when I created the hotspot using my laptop it worked just fine!

Point of interest: Yesterday I also tried ssh with my LEO-NANO150N USB wifi adapter but it didn't work either(I'll confirm today just to make sure).

vollmeise
Posts: 9
Joined: Wed Mar 09, 2016 12:08 pm

Re: [RPi3] SSH not working via wifi

Fri Mar 11, 2016 8:56 pm

@swarshah

What access point/router model do you have?

swarshah
Posts: 2
Joined: Fri Mar 11, 2016 7:44 pm

Re: [RPi3] SSH not working via wifi

Fri Mar 11, 2016 9:05 pm

vollmeise wrote:@swarshah

What access point/router model do you have?
I have either 2Wire 2701 or 2wire 2701hg-g.
Can't be sure until I reach home!

Edit: It's 2wire 2701HG-G Gateway

Robster2007
Posts: 6
Joined: Thu Mar 03, 2016 2:42 pm

Re: [RPi3] SSH not working via wifi

Sat Mar 12, 2016 2:37 pm

Add to bad list Apple Time Capsule, latest generation and firmware.

ravenchild
Posts: 1
Joined: Sat Mar 12, 2016 4:17 pm

Re: [RPi3] SSH not working via wifi

Sat Mar 12, 2016 4:24 pm

I've got the same problem here. Jessie Lite.
Works fine with ethernet plugged in. I can connect over to ssh over the wifi's ip and ethernet ip. Moment I unplug eth0, the wifi ssh disconnects.

I don't think its a router problem as I can use the pi over wifi, connect to other ssh servers, download updates, etc.. I seems as if the fw rules aren't allowing remote connections when eth0 isn't active. I'm going to play around with it some more tonight, its a nice day and I haven't ridden my bike all winter so that's taking priority :).

sjdarlington
Posts: 1
Joined: Sun Oct 13, 2013 12:13 pm

Re: [RPi3] SSH not working via wifi

Sun Mar 13, 2016 12:05 pm

I was having problems with networking on the Pi 3.

Started with new Jessie image (from late Feb). Used the internal wifi. No problems adding packages using apt-get etc.

Problems included (I suspect single root problem).
could not ssh to it.
could not ping to or from it.

Last night did following commands
sudo rpi-update
sudo apt-get update
sudo apt-get dist-upgrade

Problems I was having now gone. Looks like latest updates fixed problem for me.

Stephen

cdotson
Posts: 1
Joined: Mon Mar 14, 2016 3:50 am

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 3:57 am

Had this issue as well, but can confirm that the following will fix the issue.

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update

Another data point:
It seems to be due to power save settings. In my case, ssh was available immediately after booting but would stop responding after several minutes if not in use.

A350XWB
Posts: 10
Joined: Fri Mar 04, 2016 10:10 am
Location: Germany

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 7:47 am

@sjdarlington + @cdotson:

Please note that we are having issues with SSH although we can ping the Pi and have disabled power saving mode. It's not about timeouts, SSH won't respond at all. Can someone confirm that rpi-update or dist-upgrade will solve the issue? Last time I ran rpi-update, it failed to boot afterwards (see also this thread viewtopic.php?t=138559&p=919455).

J.P
Posts: 1
Joined: Mon Mar 14, 2016 8:37 am
Location: Germany

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 8:42 am

Hello,
I have the same problems with ssh and Raspi 3. (SSH don`t response after password)
I have tried it with IP6. With ip6 there are no problems.

Juergen

User avatar
Mike Lake
Posts: 106
Joined: Sun Feb 12, 2012 11:45 am
Contact: Website

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 8:46 am

As suggested, I ran:

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update

and the RPi shutdown and rebooted fine.

SSH still does work from PuTTY under Windows XP.

Symptoms:

It requests the login name
It requests the password
It rejects invalid passwords with "Access denied"
It does not accept the valid password
PuTTY eventually gives up with a Windows message: "Network error: Software caused connection abort"
Life's single regret: not patenting dongles when we invented and named them to protect the Wordcraft word processor on the Commodore PET!

You can buy 31 RPi3s for the £639 price of one Samsung Galaxy S7 Edge smart phone - who buys this stuff?

Robster2007
Posts: 6
Joined: Thu Mar 03, 2016 2:42 pm

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 8:49 am

I also ran the three commands and rebooted.

I can now get a reliable SSH connection to my Pi from two Macs and my iPad.

I could barely get to a first login screen from any of these sources before this update.

Regards.

Robin

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 10:01 am

Robster2007 wrote:I also ran the three commands and rebooted.

I can now get a reliable SSH connection to my Pi from two Macs and my iPad.

I could barely get to a first login screen from any of these sources before this update.

Regards.

Robin
Sounds like you were experiencing the power management problem (that is worked-around by rpi-update) rather than the SSH problem described in this thread. Did you disable the power management prior to running the three commands?
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

Robster2007
Posts: 6
Joined: Thu Mar 03, 2016 2:42 pm

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 11:43 am

No, I simply ran the three commands.

The issue I was having was not being able to SSH into my Pi3 on its own internal WiFi.

If I had a USB WiFi or Ethernet connection I could SSH into the Pi3's internal WiFi connection but lost this if I unplugged the other connections.

I could make a connection but either I managed to log in and then lost connectivity or I was never able to log into SSH over the internal WiFi.

However the Pi3 was still connected to internet and could access web sites and once I had it up and running I could also VNC into the Pi but not SSH.

Since running the commands and rebooting it is all working fine without any external dongle or cable connected.

Robster

A350XWB
Posts: 10
Joined: Fri Mar 04, 2016 10:10 am
Location: Germany

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 12:01 pm

Robster2007 wrote:I could make a connection but either I managed to log in and then lost connectivity or I was never able to log into SSH over the internal WiFi.
These are symptoms of the power saving mode issue. This thread is about not beeing able to connect at all due to some weird wireless chip/router incompatibilities.

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 12:07 pm

Ok, thanks. It looks like the problem you're describing is slightly different:
If I had a USB WiFi or Ethernet connection I could SSH into the Pi3's internal WiFi connection but lost this if I unplugged the other connections.
I've not been able to SSH using the internal WiFi at all, even if a USB dongle or ethernet is present. Currently myself and Mike Lake are running updated Raspbians and the SSH problem remains. Which makes me think you were suffering the power management problem as you hadn't implemented the power-management fix prior to rpi-update.
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

Robster2007
Posts: 6
Joined: Thu Mar 03, 2016 2:42 pm

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 12:22 pm

Oh interesting, I did not realise there were two separate issues!

Good luck getting your problem resolved quickly.

Robster

Yggdrasil
Posts: 138
Joined: Sun Aug 26, 2012 8:45 pm

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 4:04 pm

Mike Lake wrote:As suggested, I ran:
[...]
SSH still does work from PuTTY under Windows XP.
Symptoms:

It requests the login name
It requests the password
It rejects invalid passwords with "Access denied"
It does not accept the valid password
I can confirm this error, too. Used image was 2016-02-26-raspbian-jessie.img

My ssh client was not Putty, but OpenSSH on Ubuntu 14.04.
Note that the other direction (from Rpi to OpenSSH server) also hangs after the password authentication. ssh -vvv show nothing which wasn't already post in this thread.

User avatar
Mike Lake
Posts: 106
Joined: Sun Feb 12, 2012 11:45 am
Contact: Website

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 4:37 pm

I think the problem lies with Windows XP.

I took my RPi to a friend's place, he downloaded PuTTY under a Windows 10 virtual machine on his Mac and it worked straight away. It also worked fine from an Android SSH client on a Hudl2.

I installed tightvncserver on the RPi and VNC clients on Windows 10 and Android - both worked only after adding ":5901" to the IP address.

I returned home, booted a Windows 10 PC, installed PuTTY and it worked!

I uninstalled PuTTY on my XP machine, reinstalled the latest PuTTY and it failed in the same way.

So, I conclude that the problem lies with XP somehow.

Yes, I know - why am I still using XP? Well, it works (until now) - and think of all the heartache I have saved not upgrading so far! Obviously I can only hang on as a Luddite for so long!
Life's single regret: not patenting dongles when we invented and named them to protect the Wordcraft word processor on the Commodore PET!

You can buy 31 RPi3s for the £639 price of one Samsung Galaxy S7 Edge smart phone - who buys this stuff?

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 4:43 pm

Mike Lake wrote:...So, I conclude that the problem lies with XP somehow.
Except I'm using OSX and Android, so it can't be XP related.

Makes me wonder what exactly changed to make it work :?:
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 4:49 pm

Mike Lake wrote:I returned home, booted a Windows 10 PC, installed PuTTY and it worked!
Did you leave the Pi connected at your friends or connected it to the network you previously had problems with?
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

User avatar
Mike Lake
Posts: 106
Joined: Sun Feb 12, 2012 11:45 am
Contact: Website

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 5:03 pm

chrisoh

I brought the RPi back home so it is connected to the original router.

I have made no changes to the RPi since the update/upgrade this morning.

So, it works on a W10 PC, on W10 as a virtual machine under OSX and on Android.

It does not work on my XP PC. All other things are equal and unchanged.
Life's single regret: not patenting dongles when we invented and named them to protect the Wordcraft word processor on the Commodore PET!

You can buy 31 RPi3s for the £639 price of one Samsung Galaxy S7 Edge smart phone - who buys this stuff?

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 5:11 pm

Mike Lake wrote:I have made no changes to the RPi since the update/upgrade this morning.
So essentially, connecting your Pi to another router, fixed the problem you had with your current router.

That is quite confusing :lol:
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

User avatar
Mike Lake
Posts: 106
Joined: Sun Feb 12, 2012 11:45 am
Contact: Website

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 5:25 pm

No.

All my earlier attempts had been with PuTTY running on a Windows XP machine. Those attempts failed.

My friend happened to be using Windows 10 - and it worked.

When I returned home with the RPi I booted a different PC with Windows 10, installed PuTTY and it worked.

So, under Windows 10 it works with my router and with my friend's router.

On my Windows XP is still does not work even though it is the same RPi, the same router and the same version of PuTTY.

XP appears to be the variable causing the problem.

When you install the VNC server on the RPi, then install a VNC client on something like a tablet, then, from the RPi screen on the tablet you access the Internet - how do you explain to a non-computer person what is going on without their brain exploding?
Life's single regret: not patenting dongles when we invented and named them to protect the Wordcraft word processor on the Commodore PET!

You can buy 31 RPi3s for the £639 price of one Samsung Galaxy S7 Edge smart phone - who buys this stuff?

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 5:37 pm

Mike Lake wrote:When I returned home with the RPi I booted a different PC with Windows 10, installed PuTTY and it worked.
Ok, gotcha. Works with Windows 10. Maybe you were experiencing a different problem afterall, related to XP.
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

User avatar
chrisoh
Posts: 217
Joined: Sun Dec 06, 2015 8:50 pm
Location: Essex, UK

Re: [RPi3] SSH not working via wifi

Mon Mar 14, 2016 6:02 pm

Yggdrasil wrote:
Mike Lake wrote:As suggested, I ran:
[...]
SSH still does work from PuTTY under Windows XP.
Symptoms:

It requests the login name
It requests the password
It rejects invalid passwords with "Access denied"
It does not accept the valid password
I can confirm this error, too. Used image was 2016-02-26-raspbian-jessie.img

My ssh client was not Putty, but OpenSSH on Ubuntu 14.04.
Note that the other direction (from Rpi to OpenSSH server) also hangs after the password authentication. ssh -vvv show nothing which wasn't already post in this thread.
Thanks for your input Yggdrasil.
Would of thought there might be some feedback by now from the RPF devs after 10 days and 3 pages of confirming reports :cry:
Raspberry Pi 3 model B Idle @ 250mA
  • HDMI +200mA
  • Minecraft 1.9 Server +100mA
  • 2.4Ghz dongle +20mA

Return to “Troubleshooting”