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

Linux

47814 readers
1098 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
200
submitted 1 day ago* (last edited 1 day ago) by mfat@lemdro.id to c/linux@lemmy.ml
 

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
[–] interurbain1er@sh.itjust.works 11 points 16 hours ago* (last edited 8 hours ago) (1 children)

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

[–] mfat@lemdro.id 2 points 6 hours ago (1 children)

Coreelec doesn't have a package manager.

[–] CHKMRK@programming.dev 5 points 5 hours ago

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

[–] Mwa@lemm.ee 4 points 14 hours ago* (last edited 14 hours 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

[–] NegativeLookBehind@lemmy.world 101 points 1 day ago (3 children)

Linux: Turning your garbage into useful shit

[–] nossaquesapao@lemmy.eco.br 2 points 14 hours ago

Or are proprietary software the ones purposely generating trash?

[–] pastermil@sh.itjust.works 13 points 21 hours ago (2 children)

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

[–] ViscloReader@lemmy.world 18 points 21 hours ago (1 children)

One man's trash is another man's server

[–] kautau@lemmy.world 9 points 20 hours ago

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

[–] muhyb@programming.dev 4 points 18 hours ago

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

[–] Dreyns@lemmy.ml 31 points 1 day ago (1 children)

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

[–] linearchaos@lemmy.world 25 points 1 day ago

Well it is now....

[–] N0x0n@lemmy.ml 33 points 1 day ago* (last edited 1 day 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 😅

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.

[–] masterofn001@lemmy.ca 16 points 1 day 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.

[–] GustavoM@lemmy.world 10 points 1 day ago

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