User-friendly file sharing for a remote location
Off the Grid

© Lead Image © Tithi Luadthong, 123rf.com
A battery-powered WiFi hotspot can provide useful services like file sharing even when you're off the grid. A Pi Zero 2 W as the hotspot with ownCloud installed does the trick.
I am lucky enough to have access to my extended family's remote cabin. It's beautiful and remote (Figure 1), but there is no grid – no electricity or Internet, not even by cell service. I set up a solar-powered WiFi access point that hosts exactly one website: a place to share files. This lets the different people who visit the cabin exchange info with the next group who is staying. It's kind of fun, too: The shared data includes practical things like the new phone number of the fellow who delivers propane and playful things like photos of people swimming.
Getting Started
It might sound easy, but it took me about two weeks to figure this all out. I started with the goal of running Nextcloud on a device that uses the smallest amount of power possible, as power is in short supply. I knew that the "W" in Raspberry Pi Zero W meant built-in WiFi and the "Zero" indicated a small, low-power form factor. My first attempts with a Pi Zero W model (released in 2017) showed that it was too slow, so I ordered a Pi Zero 2 W (released in 2021). It has four cores, and its speed is adequate.
I also bought two different cases to try. Some have more openings than others, and I wanted black to be low-key. Since this project only requires WiFi and no HAT or buttons, I preferred the case with fewer openings. You can attach a WiFi antenna, but in my testing it wasn't necessary to cover the cabin. If you're just starting with the Pi Zero, I would recommend buying a kit: Mine came with an HDMI adapter, a USB power cord with an on/off switch, and an SD card, among other handy things. The Zero has two USB ports: for power and, well, non-power uses. I bought a USB hub so I could plug a keyboard and mouse into the non-power USB port. I already had a mouse, keyboard and HDMI monitor. With all this set up, I was able to use it like a regular, albeit slightly slow desktop computer (Figure 2). I read that the typical power consumption of a Raspberry Pi Zero 2 W is 350mA, making it one of the most energy-efficient options of Raspberry Pi models [1].
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Hits an Important Milestone
If you pay attention to the news in the Linux-sphere, you've probably heard that the open source operating system recently crashed through a ceiling no one thought possible.
-
Plasma Bigscreen Returns
A developer discovered that the Plasma Bigscreen feature had been sitting untouched, so he decided to do something about it.
-
CachyOS Now Lets Users Choose Their Shell
Imagine getting the opportunity to select which shell you want during the installation of your favorite Linux distribution. That's now a thing.
-
Wayland 1.24 Released with Fixes and New Features
Wayland continues to move forward, while X11 slowly vanishes into the shadows, and the latest release includes plenty of improvements.
-
Bugs Found in sudo
Two critical flaws allow users to gain access to root privileges.
-
Fedora Continues 32-Bit Support
In a move that should come as a relief to some portions of the Linux community, Fedora will continue supporting 32-bit architecture.
-
Linux Kernel 6.17 Drops bcachefs
After a clash over some late fixes and disagreements between bcachefs's lead developer and Linus Torvalds, bachefs is out.
-
ONLYOFFICE v9 Embraces AI
Like nearly all office suites on the market (except LibreOffice), ONLYOFFICE has decided to go the AI route.
-
Two Local Privilege Escalation Flaws Discovered in Linux
Qualys researchers have discovered two local privilege escalation vulnerabilities that allow hackers to gain root privileges on major Linux distributions.
-
New TUXEDO InfinityBook Pro Powered by AMD Ryzen AI 300
The TUXEDO InfinityBook Pro 14 Gen10 offers serious power that is ready for your business, development, or entertainment needs.