Headless installation Raspberry Pi

6 posts / 0 new
Last post
#1 Tue, 2017-01-10 13:57
marsp88
  • marsp88's picture
  • Offline
  • Last seen: 8 months 3 weeks ago
  • Joined: 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

Tue, 2017-01-10 22:47
zero-x-baadf00d
  • zero-x-baadf00d's picture
  • Offline
  • Last seen: 9 months 1 week ago
  • Joined: 2017-01-10

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.

Tue, 2017-01-24 13:43 (Reply to #2)
salvius
  • salvius's picture
  • Offline
  • Last seen: 9 months 8 hours ago
  • Joined: 2017-01-24

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

Fri, 2017-01-20 20:26
Ninja-1
  • Ninja-1's picture
  • Offline
  • Last seen: 9 months 4 days ago
  • Joined: 2017-01-20

This is something I'm interested in as well. Really need headless installation.

Tue, 2017-01-24 14:33
salvius
  • salvius's picture
  • Offline
  • Last seen: 9 months 8 hours ago
  • Joined: 2017-01-24

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 !).

Tue, 2017-01-24 17:33 (Reply to #5)
marsp88
  • marsp88's picture
  • Offline
  • Last seen: 8 months 3 weeks ago
  • Joined: 2017-01-10

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

Log in or register to post comments