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?

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 😅

@barsquid@lemmy.world
link
fedilink
English
14M

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.

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@lemmy.world
link
fedilink
English
14M

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.

Prison Mike
creator
link
fedilink
English
14M

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.

Prison Mike
creator
link
fedilink
English
14M

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.

Create a post

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!

  • 1 user online
  • 126 users / day
  • 421 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog