-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: add "IPQoS 0x00" to "/etc/ssh/sshd_config", Rpi3, WiFi SSH issue #294
Comments
Where exactly do you need to add this? Can you send your |
I've added it near the bottom, above the last paragraph. Can't give you the details right now, I'm at work, sorry. |
Finally, here's the sshd_config file content, after image-writing, first boot, changed password, and me inserting the line:
|
Added it to nightly build, would be appreciated if you could test it helps |
Sorry, I completely forgot about this :-( If you still need me to test it, I can probably do that tomorrow - although right now I've got problems reaching the server with the nightlies? |
Ill fix that. Internet is affected by storms here
…On Feb 14, 2017 21:42, "Rejutka Lupex" ***@***.***> wrote:
Sorry, I completely forgot about this :-(
If you still need me to test it, I can probably do that tomorrow -
although right now I've got problems reaching the server with the nightlies?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#294 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAT4JuxrilwrVCfg7zB_dm_SEYPVoXQzks5rcgPCgaJpZM4LmCPQ>
.
|
Fixed the server, try now |
Down again, will fix |
Fixed, sorry for the mess, local connection was a mess here |
I can confirm the problem and the fix ! |
@timmmmmey @Cyberman-tM I want to close this too, you didn't need to enable anything, right? |
Update: # IT WORKS! I'm testing right now - sorry, forgot again - having problems connecting right now - getting "connection refused", but I'm not sure if the problem is the Raspi or my new modem... I'll keep trying until I figure out what's happening, I'll write again today. [edit]Octoprint is running and accessible, so connection is there. But Putty can't connect via SSH? [final edit] Apparently SSH wasn't enabled. I've plugged in a keyboard, went to setup, enabled SSH, and was able to connect via putty from my computer to the raspi - log in worked flawlessly. Many thanks, you can close this. |
While I couldn't reproduce this issue on a current build, apparently it doesn't necessarily have to happen always and the corresponding ticket on the rpi bug tracker (raspberrypi/linux#1519) is still open as well. Hence this change. As documented at https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141454 and other locations, ntp updates on RPi3 (sometimes?) fail if the built-in WiFi interface is used. This appears to be the same issue or at least related to SSH not properly functioning as described in guysoft#294 and also documented in raspberrypi/linux#1519. A wrong system date of the underlying OS will cause issues with SSL handshakes, which in turn will produce fatal errors when attempting to install plugins (see OctoPrint/OctoPrint#1827) or probably also when updating either OctoPrint or the system itself. Basically anything that does certificate validity checks will fall on its face. Having the Pi properly set its system date is hence crucial for operation, so we need to make sure ntp can do its job. This might also affect RPiZeroW - I haven't observed the issue with a current build there though.
Same here using rpi4, fixed adding " IPQoS 0x00" to /etc/ssh/sshd_config |
@lechu77 What version of OctoPi are you using? because this has been fixed in later versions here: |
This works! Many thanks! |
It does not work with the recent OpenSSH update anymore,
At least on my side since the latest debian update, this happens:
I can't quite work out which change is responsible for this: |
@bittorf if this has changed then it needs to be updated here: |
This probably only affects a few, but it's rather annoying. Details here:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=138631&p=1085534&hilit=qos#p1085534
Short version: Some(?) Raspi 3 stop responding to SSH after the (correct!) password has been entered.
Attaching a keyboard works, so it's just SSH.
Adding the line
IPQoS 0x00
to the file
/etc/ssh/sshd_config
solves the issue.
I have no idea what IPQoS is, but I do know it solved the issue of not being able to log in remotely at once. (After restarting the ssh daemon or the raspi.)
[edit]Note: this concerns a fresh install of OctoPi!
The text was updated successfully, but these errors were encountered: