QUESTION

SSH into rpi and shut it down

2 people are following

I am trying to shift towards the single usb cable solution for my modbro setup but I am having issue to shutdown or reboot the rpi zero (w). Previously I used to do that by the REST Api. But now I am unable to get the ip address of the rpi. I tried using 192.168.137.1/api/restart but it failed. Please help me in this situation and thanks for enabling this usb ethernet gadget feature. Is there any way to ssh into rpi?

Replies 1 - 1 (1)

Hi @Arkduke 

If you successfully set up the USB connection like described here, the Raspberry Pi will be reachable under the IP 192.168.137.2
So it should be 192.168.137.2/api/restart in your case for a reboot.

Thanks for the question though. I've also added a short section to the bottom of the FAQ page to clarify the IP address and hopefully avoid future confusion :)

Login to comment

Login
Like most websites, we also use cookies. But don't worry, we only use them for your login and statistics.