this post was submitted on 20 Oct 2024
202 points (98.6% liked)

Linux

48624 readers
1516 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
202
submitted 1 month ago* (last edited 1 month 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
[–] NegativeLookBehind 109 points 1 month ago (3 children)

Linux: Turning your garbage into useful shit

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

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

[–] linearchaos 28 points 1 month ago

Well it is now....

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

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

[–] ViscloReader 23 points 1 month ago (1 children)

One man's trash is another man's server

[–] kautau 11 points 1 month ago

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

[–] [email protected] 6 points 1 month ago

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

[–] [email protected] 3 points 1 month ago

Or are proprietary software the ones purposely generating trash?

[–] just_another_person 48 points 1 month 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] 33 points 1 month ago* (last edited 1 month 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 1 month 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 1 month ago* (last edited 1 month ago) (1 children)

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

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

Coreelec doesn't have a package manager.

[–] [email protected] 8 points 1 month ago

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

[–] GustavoM 11 points 1 month ago

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

[–] [email protected] 4 points 1 month ago* (last edited 1 month 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