Headless installation Raspberry Pi
#1
Tue, 2017-01-10 13:57
marsp88
-
- Offline
- 1 year 1 month ago
- 2017-01-10
Hi everybody,
I am currently trying to install Alpine on my Raspberry Pi. My problem is, that I am not able to connect a Keyboard to it.
Is there a way to install Alpine on it with Network + SSH coming up?
I tried adding openssh to /etc/apk/world , but it seems network is not even coming up. I can not see an assigned IP in my router.
Thank you,
Markus
Same issue with my raspberry pi 2. Raspbian boot with success but Alpine Linux dont boot. with disable_splash = 0, I only get the "rainbow screen". Maybe something goes wrong with the kernel boot.
This might be an issue with the new sd card driver. Try to add an overlay to the old one in your config.txt :
dtoverlay=mmc
This is something I'm interested in as well. Really need headless installation.
openSSH is already in APK default package. Setup-alpine enable it at first set-up (but keyboard is required, so...). The manually command line is "rc-update add ssh" so I guess you have to script something in "etc/init.d/" or maybe manually change openssh value in runlevel file. An other way should be to write an overlay and add it in device-tree with config.txt.
For networking, "interfaces" file in rpi.apkovl.tar.gz/etc may be an option. I'm working on it.
I although read something about pre-edit "answer" file generated during "setup-alpine" configuration.
I'm trying to build a ready-to-use OTG headless img of alpine for Pi Zero (in plain "sys" mod that is not enable for Raspi). I will post it here when done (if !).
I tried adding ssh to /etc/runlevel in rpi.apkovl.tar.gz , but when I do that it won't boot at all (black screen). I also modified interfaces to use a static IP and added networking to runlevel, but got the same result: black screen.
I am not sure why it wont boot after I modify files on the SD card.
Let me know if you get it to work.
EDIT: Check this thread, it might help you https://forum.alpinelinux.org/forum/installation/alpine-iso