-
Notifications
You must be signed in to change notification settings - Fork 5.2k
SSH over USB stops working after Pi reboot #4890
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
Comments
Does unplugging the USB cable and reconnecting it make the interface work again? Perhaps the problem is with the host computer not handling the reboot of the Zero. |
Yes, same issue when unplugging and reconnecting the USB cable. |
It works on Debian 11. (Both work: reboot and yanking out the USB cord) |
On the host PC or the Zero? |
Probably a duplicate of #4872. Try updating the kernel to 5.15. 24 with |
unfortunately available firmware from yesterday is only @.23 for now |
@pelwell it works for Debian on host PC. Yet, a problem with Ubuntu on the host PC. On the Pi Zero I always have Rasbian 11 (bullseye) |
That's true, but a comment in #4872 suggests it might be worth updating anyway. |
I did the Pi Zero kernel update. Same problem. before: |
Lucky you. |
5.15.24 is now in rpi-firmware and available for rpi-update. |
Sorry my last comment was incorrect, updating to 5.15.23 does not work after rebooting Pi and host PC. The usb0 interface does not have an IP address. I'm going to try re-running |
5.15.24 has the same issue. The host PC no longer sees the USB Ethernet connection |
some progress with 5.15.24 (xhci USB ok now, no more crash), but still some issue when starting
|
Summary: upgrading the Pi Zero kernel to 5.15.23 Or 5.15.24 does not fix the issue. It makes it worse. After rebooting the host PC the network interface no longer shows up on the host PC. |
Interestingly it works fine with my Host on Mint 19.2, kernel 4.15.0-167 |
5.15.26 seems to have yet-a-further fix for the issue:
|
I confirm 5.15.26 with todays |
I can also confirm 5.15.26 works, but version 5.15.27 and 5.15.28 no longer work... I tested with the help of this tutorial: https://www.isticktoit.net/?p=1383 |
Never mind. I just had broken cable... I guess... |
Describe the bug
I followed the guide to enable SSH over USB: https://artivis.github.io/post/2020/pi-zero/
SSHing into the Pi worked but after rebooting the Pi from the host I cannot SSH into the Pi.
The USB Ethernet connection IPv4 is stuck on "Connecting...".
Looks like the problem is that the Pi can no longer Arp the hardware address of the host.
Steps to reproduce the behaviour
sudo reboot
on the PiOn Host Computer:
On the Pi:
interface usb0
static ip_address=10.42.0.42
static routers=10.42.0.1
Device (s)
Raspberry Pi Zero
System
Logs
On the Pi (when things work):
On the Pi when SSH stops working:
The Ubuntu host where the Pi is plugged in as a USB gadget shows:
After changing the Ubuntu Settings GUI for the network connection to "IPv4 Shared to Other computers" and turning the connection On and Off:
Additional context
I put all the details here: https://raspberrypi.stackexchange.com/questions/136166/ssh-over-usb-stops-working-after-pi-reboot
The text was updated successfully, but these errors were encountered: