this post was submitted on 29 Jun 2024
18 points (95.0% liked)

Selfhosted

37746 readers
661 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey everyone, I’m looking to replace my router with a NanoPi R6S but want to do everything myself from Alpine Linux.

I’ve been doing a lot of research and it seems that the chipset and hardware are supported as of Linux 6.3, but looking at Alpine’s ARM documentation makes installation sound a bit more advanced than I’m used to (specifically, the partition layout and U-Boot are confusing to me).

Has anyone gone this route?

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 days ago (1 children)
[–] [email protected] 1 points 2 days ago

I’m simply interested in running Alpine Linux on it.

[–] JASN_DE 1 points 3 days ago (1 children)

Any special requirement for Alpine, or just "because I want to"?

[–] [email protected] 2 points 2 days ago

It’s exactly that, I’m simply interested in running Alpine Linux on it.

[–] Theoriginalthon 1 points 3 days ago (3 children)

I looked at the nanopi r4s and the r6s when I replaced my router. I did consider doing it all myself but in the end settled on the r4s running opwenwrt, I think it took all of 5mins from download to working system. The benefit been the openwrt image has uboot included so only one image need writing, also web interface out of the box

Don't think of it as an installation, it's writing image files to disk. I prefer using gparted or disks when working with partitions. Then use dd for the actual writing as I can quite easily see I've got the right partition from gparted/disks. Got that wrong a couple of times 😅

[–] [email protected] 1 points 1 day ago

I suppose what I could do is download a supported image (like OpenWRT) then get the image layout details from that in order to build my own image.

I know I’m going about it the hard way but it’s something I don’t mind learning.

[–] [email protected] 1 points 2 days ago

I’m familiar with writing images, but I’d be crafting it myself since there’s no official one from Alpine Linux for the specific SoC.

[–] barsquid 1 points 3 days ago (1 children)

No onboard eMMC? Are you able to run this from a read-only SD? That's kinda intriguing, I figure eMMC could be one of the weakest links on an SBC.

[–] Theoriginalthon 2 points 2 days ago (1 children)

The r4s doesn't have eMMC where as the r6s does. I just left the SD card as rw, I'm not too concerned about failure, I'm hoping for some wear leveling built in, if not SD cards are cheap. I should probably clone the disk and have a cold spare SD card.

Storage wise I'm using 17. 63MiB of 29.38GiB, I think I may have bought a too big SD card Ram usage is around 88MiB of 3.87GiB I have got a couple of more things to set up like wireguard but as it stands I'm glad I went the openwrt route over a full server install

[–] barsquid 1 points 2 days ago

Yeah OpenWRT is incredibly slim. I remember doing a double-take looking at their install page because the memory requirements are so low. I'm used to seeing numbers in GB and they're saying they can provide full functionality in 64 MB.