From Smartphone To A Home Server

Some people like their homelabs to be as big and fancy as possible, with racks of new or surplus server hardware sucking down power. [Hardware Haven] evidently has the opposite idea, given he just made a video about making the cheapest, smallest server possible: an Android phone.

Sure, it’s not going to be streaming terabytes of data at multiple gigabytes per second, but that’s not everyone’s use case. Don’t forget, flagship phones had multiple cores and gigabytes of RAM a decade ago, so even an old and busted smartphone has more than enough power for something like Home Assistant, which is what gets installed in this video.

After considering loading termux and rooting his device for Docker-on-Android, he opted for postmarketOS, the premiere Linux for old smartphones. That’s not because the Linux environment you get with termux wouldn’t work; it’s just that he wanted something native. To that end, he bought a somewhat worse-for-wear Xiaomi Mi A1 from eBay to get hardware Alpine-based postmarket could use.

Software wise, it was just a matter of following instructions and reading manuals — Linux is Linux, after all. The firewall proved to be his main challenge, though trying to branch out from Home Assistant to run Minecraft Server did run into Java issues [Hardware Haven] had no interest in troubleshooting. Hardware wise, though, well — do you want to leave a phone plugged in permanently? Smokey the Bear suggests you not, especially if you live near a forest. Besides, you probably don’t want your server on WiFi, and at least this smartphone wouldn’t charge when using a networking dongle.

That meant phone surgery: the battery came out, and 5 V from an old USB charger was piped into the battery charge controller via a diode. The diode was used for its voltage drop, to bring the 5 V supply down to a believable battery voltage — a buck converter might have been better, but you use what you have, and the diode drop doesn’t dissipate much power. Power dissipation is still one watt at idle, six during a stress test.

Given how cheap the phone was, and how little power this thing sips, [Hardware Heaven] has an excellent answer to those who say homelabbing is a rich person’s hobby. This project also reminds us that while our phones might not be as hackable as we’d like, they’re still far from totally locked down. You can even run NixOS on (some of) them.

Continue reading “From Smartphone To A Home Server”

Dial Into The Internet Like It’s 1999

Restoring classic hardware of any sort is a great hobby to have, whether it’s restoring vintage cars, tools, or even antique Apple or Commodore computers. Understanding older equipment can help improve one’s understanding of the typically more complicated modern equivalents, plus it’s just plain fun to get something old up and running again. Certainly we see more retro computing restorations around here, but one thing that we don’t typically see much of is the networking equipment that would have gotten those older computers onto the early Internet. [Retrocet] has a strong interest in that area, and his latest dial-up server really makes us feel like we’re back in the 90s.

This home networking lab is built around a Cobalt Qube 2 that was restored after it was gifted to him as a wedding present. The Qube had a cutting edge 250 MHz 64-bit processor with up to 256 MB of RAM, and shipped with a customized Linux distribution as an operating system. The latest upgrade to this build sped up the modems to work at their full 56k rates which involved the addition of a DIVA T/A ISDN terminal and some additional hardware which ensures that incoming calls to the modems are digital. Keeping the connections digital instead of analog keeps the modems from lowering their speed to 33k to handle the conversions.

Until recently, [Retrocet] was running some of the software needed for this setup in a custom virtual machine, but thanks to the full restoration of the Qube and some tweaking of the Red Hat Linux install to improve the Point-to-Point Protocol capabilities of the older system, everything is now running on the antique hardware. If you are like [Retrocet] and have a bunch of this older hardware sitting around, there are still some ISPs available that can provide you with some service.