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
Enable ssh on first boot #4
Comments
This image is based in Raspbian, so there is no difference If you place a file called ssh it indeed enables SSH If you look at https://github.com/nachoparker/qemu-raspbian-network/blob/master/qemu-pi.sh The relevant code is
I use that everyday (automatically) to build NextCloudPi images, so I know it works. You must have done something wrong... maybe you forgot to sync and umount? |
maybe I'm missing something but I unmount the SD (on my Mac) after I run: After I insert the SD to the pi, attach the ethernet to the router, I find the IP the Pi has been assigned and I try |
how are you adding the ssh file to the boot partition? did you run sync before dd'ing the image to the SD? Just to be sure:
|
I'm not sure what you mean by sync, I add the file with touch from the boot directory. This are the steps I'm doing:
And then I get one of the following error:
|
The steps look ok to me, but I do not own an apple computer, so I am not sure. Try to type In any case, it must be just the same as with any other Raspbian. The exact same How do you know what IP you have to use? can you ping the IP you are trying to connect to? Connect a TV and keyboard if you are stuck |
After some time trying to figure it out I think it has to do with DHCP no assigning a local IP to the Pi . |
I tested the issue and you are right: as long as wicd is active, DHCP no longer appears to work. I will disable it by default then thanks for the feedback, I'll open a new issue with this |
opened as a new issue #5 |
Thank you for the contribution and the quick answers! I'm looking forward to try NextCloudPi :) |
I would like to try the image but I don't have any display or keyboard so I need ssh enable form the beginning to be able to use the Pi.
With the normal Raspbian image you can achieve this adding a file called ssh to the SD root (it doesn't matter the content).
I tried this with NextCloudPi but it's not working.
The text was updated successfully, but these errors were encountered: