this post was submitted on 20 Oct 2024
212 points (99.5% liked)

Linux

48008 readers
1278 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
212
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

I had a Chinese Android box gathering dust in a drawer. It had been sidelined because it was stuck on an outdated version of Android, with no updates in sight from the manufacturer. I started considering alternatives like a Raspberry Pi or a budget x86 mini PC to set up a PVR with TVheadend. But before placing an order, I wondered if I could repurpose the Android box as a Linux server. After all, it had decent specs: an Amlogic S905X2 chip, 4 GB of RAM, and 32 GB of internal storage.

A quick search revealed that it was possible to boot Linux on the box using a microSD card or USB stick. Within an hour, I had CoreELEC up and running. One of the great things about CoreELEC is the ease with which you can install Docker and TVheadend. This meant that my forgotten Android box was now transformed into a functional Linux server.

I hooked up a TV tuner (yes, I'm aware it's not exactly cutting-edge, but I need OTA TV for work) and installed TVheadend. It essentially turned the box into a budget-friendly HDHomeRun. I even set up AdGuard Home and configured my router to use it as a network-wide ad blocker.

Once you have Docker running, the possibilities are endless. To my surprise, I even discovered that you can boot Armbian on these inexpensive boxes and use them as a lightweight desktop. Or turn them into a router or pihole box using openwrt.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 106 points 2 weeks ago (3 children)

Linux: Turning your garbage into useful shit

[–] [email protected] 34 points 2 weeks ago (1 children)

Don't call it garbage! It's doing it's best okay ?!

[–] [email protected] 28 points 2 weeks ago

Well it is now....

[–] [email protected] 15 points 2 weeks ago (2 children)

One man's trash is another man's treasure.

[–] [email protected] 23 points 2 weeks ago (1 children)

One man's trash is another man's server

[–] [email protected] 11 points 2 weeks ago

One man’s trash is actually that same man’s server, now

[–] [email protected] 5 points 2 weeks ago

Unless there is a raccoon involved. Then it's both.

[–] [email protected] 3 points 2 weeks ago

Or are proprietary software the ones purposely generating trash?

[–] [email protected] 47 points 2 weeks ago

The first step into the world of owning your tech is knowing what can actually run on it. It's not just Linux. Just not Windows or MacOS.

If you're super into what you've just accomplished, have a look at the ESP32 ecosystem and behold.

[–] [email protected] 35 points 2 weeks ago* (last edited 2 weeks ago)

I had a similar experience with a "wow the Linux community is beautiful" feeling after booting into Debian on an old rockchip CPU TV box !

Have a look at the armbian community. Those guys are on another level 😁.


Edit

To my surprise, I even discovered that you can boot Armbian on these inexpensive boxes and use them as a lightweight desktop

Oupsi ! It's late here so I didn't read till the end ! Sorry about that 😅

[–] [email protected] 16 points 2 weeks ago

I use old android phones for WiFi on some of my desktops.

Shizuku to be able to do privileged, shell, and hidden api stuff.

Termux to set up an sshd proxy/server to be able to access the machines.

InviziblePro for anonymized DNScrypt and tor socks proxy.

[–] [email protected] 13 points 2 weeks ago (1 children)

You don't technically need docker though.It's just a convenience layer.

[–] [email protected] 4 points 2 weeks ago (1 children)

Coreelec doesn't have a package manager.

[–] [email protected] 8 points 2 weeks ago

You don't technically need a package manager though. It's just a convenience layer.

[–] [email protected] 11 points 2 weeks ago

...and that is why I love Linux as well! Gotta love my little ~~potato~~ Orange pi zero 3.

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

i wish i can do the same i have a tv tuner running android 4 sadly its a huawei with a HISILICON CPU and i cannot find some adb option and i cannot find a project that supports HISILICON cpus its a old one i found it in my uncles house closet i even tried asking lemmy they said just get a new device mine is obescure i tried some chinese forums the system refused to see the files and download them is a pain i gave up