Comments (9)
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
# prepare the image
SECTOR1=$( fdisk -l $IMG | grep FAT32 | awk '{ print $2 }' )
SECTOR2=$( fdisk -l $IMG | grep Linux | awk '{ print $2 }' )
OFFSET1=$(( SECTOR1 * 512 ))
OFFSET2=$(( SECTOR2 * 512 ))
mkdir -p tmpmnt
mount $IMG -o offset=$OFFSET1 tmpmnt
touch tmpmnt/ssh # this enables ssh
umount tmpmnt
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?
from nextcloudpi.
maybe I'm missing something but I unmount the SD (on my Mac) after I run:
sudo dd bs=1m if=NextCloudPi_03-31-17_FULL.img of=/dev/rdisk3
and I add the ssh file
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
ssh [email protected]
the result is:
ssh: connect to host 192.168.1.73 port 22: Operation timed out
from nextcloudpi.
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:
- mount image
- touch bootmnt/ssh
- sync
- dd to SD card
from nextcloudpi.
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:
- Download image from https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/
- Insert SD into mac
diskutil unmountDisk /dev/disk3
cd ~/Downloads
sudo dd bs=1m if=NextCloudPi_03-31-17_FULL.img of=/dev/rdisk3
cd /Volumes/boot
touch ssh
- Eject SD
- Insert SD into RPi
ssh [email protected]
And then I get one of the following error:
ssh: connect to host 192.168.1.73 port 22: Operation timed out
ssh: connect to host 192.168.1.73 port 22: Host is down
from nextcloudpi.
The steps look ok to me, but I do not own an apple computer, so I am not sure.
Try to type sync
after step 7
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
from nextcloudpi.
After some time trying to figure it out I think it has to do with DHCP no assigning a local IP to the Pi .
Any idea why it could be?
If I do the exact same steps with the raspbian image, works fine
from nextcloudpi.
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
from nextcloudpi.
opened as a new issue #5
from nextcloudpi.
Thank you for the contribution and the quick answers! I'm looking forward to try NextCloudPi :)
from nextcloudpi.
Related Issues (20)
- Installation on Odroid HC1 HOT 2
- ncp-dist-upgrade to bookworm failed on ncp 1.54.2 HOT 16
- RaspberryPi5 v1.54.0 - Internal Server Error HOT 3
- Some packages could not be installed - sudo ncp-dist-upgrade HOT 2
- Website down? HOT 2
- Internal error encountered using twingate HOT 1
- nc-update-nextcloud does not prevent updating to unsupported versions HOT 4
- ncp-update fails at --fetch-keys https://packages.sury.org/php/apt.gpg HOT 1
- Error when enabling the Metrics app
- Error while applying update 1.54.0. Exiting... HOT 2
- NCPI 1.54.0 x86 LXC image: redis does not start due to faulty ownership HOT 1
- Lets-encrypt message in web panel "You should run Lets Encrypt for trusted encrypted access" HOT 2
- Pre-set users/passwords on NextCloudPi HOT 4
- Message "Update to bookworm available. Type 'sudo ncp-dist-upgrade' to upgrade" is shown after dist upgrade completed HOT 2
- Logged out automatically - Session token problem HOT 5
- RelatedResourceProviderNotFound
- dnsmasq error on installation HOT 1
- Alert admin when sd card lacks enough space HOT 1
- Better information in restore dialog HOT 1
- Apps using .mjs files (Polls) show a blank page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloudpi.