• 0 Posts
  • 36 Comments
Joined 7 months ago
cake
Cake day: December 6th, 2024

help-circle

  • Well, the N100 does have a lot more breathing space in terms of computing power, so it’s maybe a better bet for something you want to use for a decade or more, and that remote control I linked to above does work fine, except for the power button (which will power your Linux off but won’t power it back on).

    I actually tried an Android TV Box (which is really just and SBC in the same range of processing power as the Pi) for this before going for the Mini PC and it was simply not as smooth operating.

    That Mini-PC has enough computing power room (plus the right processing extensions) that I can be torrenting over OpenVPN on a 1Gb/s connection whilst watching a video from a local file and it’s not at all noticeable on the video playback.


  • Kodi install instructions are here

    I don’t use docker, I use lubuntu with normal packages. So for example Kodi is just installed from the Team Kodi PPA repository (which, granted, is outdated, but it works fine and I don’t need the latest and greatest) and just set it up to be auto-started when X starts so that on the TV it’s as if Kodi is the interface of that machine.

    Qbittorrent is just the server only package (qbittorrent-nox) which I control remotelly via its web interface and the rest is normal stuff like Samba.

    After the inital set up, the actual linux management can be done remotelly via ssh.

    That said, LibreELEC is a Linux distro which comes with Kodi built-in (it’s basically Kodi and just enough Linux to run it), so assuming it’s possible to install more stuff in it might be better - I only found out about it when I had my setup running so never got around to try it. LibreELEC can even work in weaker hardware such as a Raspberry Pi or some of its clones.

    Also you can get Kodi as a Flatpak which works out of the box in various Linux distros so if you need the latest and greatest Kodi plus a full-blown Linux distro for other stuff you might do the choice of distro based on supporting flatpack and being reasonably lightweight (I actually originally went for Lubuntu exactly because it uses a lightweight Window Manager and I expected that N100 mini-pc to need it, though in practice the hardward can probably run a lot more heavy stuff than that, though lighter stuff means the CPU load seldom goes up significativelly hence the fan seldom turns on and so the thing is quiet most of the time and you only hear the fan spinning up and then down again once in a while even in the Summer).

    As for docker, there are a lot of instructions out there on how to install Kodi with Dockers, but I never tried it.

    Also you might want to get a remote like this, which is a wireless remote with a USB adapter, not because of the air-mouse thing (frankly, I never use it) but simply because the buttons are mapped to exactly the shortcuts that Kodi uses, so using it with Kodi in Linux is just like using a dedicated remote for a TV Media Box - in fact all those thinks are keyboard shortcuts (that remote just sends keypresses to the PC when you press a button) and they keyboard shortcuts for media players seem to be a standard.


  • It really depends on what you’re doing with it and on what old PCs you have available.

    I have an N100 Mini-PC at home in my living room connected to my TV which is both a home server and a TV-Box using Kodi (I even have a remote for it).

    Having modern image and video decoding in hardware is pretty useful when I’m using it as a TV Box (there is zero stutter with it), whilst the rest of the time the thing mostly sits doing some low CPU-intensive server tasks (mainly torrenting and SMB server stuff).

    Also, it’s a small box that fits fine on my TV stand without standing out and runs silent pretty almost all of the time.

    Further, I don’t have any low power consuming old PCs around - the best are some chunky old notebooks, the rest are old gaming PCs which eat more power idle than the mini PC does at full load - and even the notebooks aren’t that low power as all that.

    Mind you, for many years I used an old Asus EEE PC (a very small notebook running Linux) as home file server (with external HDs) and had a separated dedicated hardware TV Media Server box playing files from it, but eventually that PC stopped working and I found out I could just use my Router as a file server.

    Last but not least, judging for how long I kept using my TV Media Server boxes (which over almost 2 decades I had 2 different ones and which as dedicated hardware could not easilly be upgraded when new video compression standards came out) 10+ years is definitelly my time-frame for using that Mini-PC.

    All this to say that you should consider using old hardware, especially if you have some around and it’s task appropriate (like I did before using an old Asus EEE PC as a home file server), but also take in account what you’re going to do it and consider if new hardware won’t be better over the timespan you will likely be using it and if the being able to get a more task appropriate form factor (like how having a little box-size Mini PC lets me have it in my living room on a TV stand next to my TV and my fiber router) is worth it.

    In summary, before you get hardware you should ponder a bit about what you intend to do with it before you decide what to get, don’t be afraid of using stuff you already have and also don’t be afraid to get new stuff if it’s actually justified by hardnosed reasons rather than merely some variant of the “new stuff smell” psychological effect when buying new.




  • The actual driver for an HID USB device, even on WIndows, is still just a few KB.

    Worse, the default driver for HID devices like mice, keyboards, joysticks, gamepads and so on is part of Windows since Windows 7 and all you had to do was give it an INF file that really just associated USB hardware devices that sent the PC a specific identifier (made up of a VID and a PID value) on USB protocol initialization, with that built-in driver - and that file is maybe 100 bytes. Even better, that INF file is not even needed anymore since Windows 10.

    A driver for a mouse (pretty much the simplest Human Interface Device there is) that in addition to the normal mouse thing also supports setting the RGB color of some lights is stupidly simple because the needed functionality is already in the protocol.

    Remember, modern digital electronics still uses really tiny processors sometimes with less than 32KB flash memory (and way less than that in RAM) only they’re microcontrollers rather than microprocessors now, hence the protocols are designed so that they can be handled by processing hardware with little memory (after all, many USB Hosts aren’t PCs but instead are things like USB HUDs which have microcontrollers not microprocessors)

    I have no doubt in my mind whatsoever that almost the entirety of that 1GB is bloatware.




  • Stories from the “good” old days running Linux on a 386 machine with 4 MB or less of memory aside, in the present day it’s still perfectly normal to run Linux on a much weaker machine as a server - you can just rent a the cheapest VPS you can find (which nowadays will have 128 MB, maybe 256MB, and definitelly only give you a single core) and install it there.

    Of course, it won’t be something with X-Windows or Wayland, much less stuff like LibreOffice.

    I think the server distribution of Ubunto might fit such a VPS, though there are server-specific Linux distros that will for sure fit and if everything fails TinyCore Linux will fit in a potato.

    I current have a server like that using AlmaLinux on a VPS with less than 1GB in memory, which is used only as a Git repository and that machine is overkill for it (it’s the lowest end VPS with enough storage space for a Git repository big enough for the projects I’m working on, so judging by the server management interface and linux meminfo, that machine’s CPU power and memory are in practice far more than needed).

    If you’re willing to live with a command line interface, you can run Linux on $50 worth of hardware.


  • Similar story but I just installed slackware on one of the University PCs (they just had a handful of PCs in the general computer room for the students and nobody actually watched over us) since I did not have a PC yet (only had a ZX Spectrum at the timback then).

    Trying to get X-Windows to work in Slackware was interesting, to say the least: back then you had to manually create your own video timings configuration file to get the graphics to work - which means defining the video mode at the very low level, such as configuring the number of video clock cycles between end-of-line-drawing and horizontal-retrace - and fortunatelly I didn’t actually blow up any monitor (which was possible if you did the configuration wrong).

    At least we had some access to the Internet (most things were blocked but we had Usenet and e-email and one could use FTPmail gateways to download stuff from remote servers) via Ethernet, so that part was easy.

    Anyways, my first reaction looking at the OP’s post was like: yeah, if they’re running X it’s probably a too powerfull machine.


  • The more services you have depending on a 3rd party which can do whatever the fuck they want, either directly or by changing the rules when the feel like it (i.e. not bound by rules they cannot change, such as root DNS providers are) and then doing it, the less your system is actually self-hosted, IMHO.

    For me the whole point of self-hosting is exactly being as independent as possible of 3rd parties that can just fuck you up, be it on purpose (generally for $$$) or because they go bankrupt and close their services.

    This is why I’ve actually chosen to run Kodi on my home server that doubles down as TV Box even though I can’t easilly use it from anywhere else (it’s possible but it involves using a standalone database that is then shared, which can only be safelly done through customly setup ssh pipes) rather than something like Plex.

    It’s kinda funny to see people into self-hosting still doing the kind of mistake I did almost 3 decades ago (fortunatelly in a professional environment) of trusting a 3rd party to the point of becoming dependent on them and later getting burned when they abused that trust, and which led me to avoid such situations like the plague ever since.

    Mind you, I can understand if people for whom self-hosting is not driven by a desire to reduce vulnerability to the whims of 3rd parties (which includes reducing the risk of enshittification) and is instead driven by “waste not” (for example, bringing new life to old hardware rather than throwing it out) or by it being a fun challenge, don’t really care to be as independent as possible from such 3rd parties.


  • Aceticon@lemmy.dbzer0.comtolinuxmemes@lemmy.worldIt's gotten better
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    The more consumer friendly and complex this stuff gets the further away from the raw metal those the users see as “magicians” are.

    It used to be that the “magicians” were the Electronics Geeks (and the OP’s post and most comments here are a basically on “magic” that has to do with Electronics), but nowadays most “magicians” capable of explaining and dealing with the “unexplainable” are Software Techies.


  • Aceticon@lemmy.dbzer0.comtolinuxmemes@lemmy.worldIt's gotten better
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 months ago

    It could be you wore the kind of clothes - certain shoes, wool pullovers, clothes made of certain plastic fibers - that makes one accumulate static electricity, so you literally had a charge different from the rest (did you have a tendency to get a shock when you touched large metalic objects or other people?)

    Or maybe you were the biggest person on the team and hence caused the biggest electromagnetic shadow on the surrounding electromagnetic radiation (nowadays we live surrounded by radio sources). A similiar effect would happen if you had a less dry skin and hence more conductive than your colleagues (was this, for example, early morning after you took your daily shower).

    Anyways, somewhere in that circuit was a wire which was unconnected and led to the gate side of a transitor, probably a Mostfet. If you were using a microcontroller in it, you might have left an I/O port enabled that was not physically connected to anything so its value could easilly flip merelly from electromagnetic interference and that day you just happened to have the biggest electromagnetic footprint (due to static charge, body size and/or body conductivity) around.

    For fun it’s not hard to make a circuit that “detects people closeby” using a transistor or microcontroller I/O port connected to a wire that goes nowhere with the other side set up to light or not an LED depending on the input signal, which detects people because them being close or not alters the electromagnetic radiation that goes into that wire (an unconnected component pin also works, but it’s more sensitive with a bit or wire). The simple version is not exactly reliable, but it’s pretty spooky when it works.


  • If it’s in your systems in an open format it’s yours, if it’s outside your systems or wrapped in some kind of locked format that forces you to go through somebody else’s software it’s de facto theirs.

    Due to my own experience in software development with 3rd party solutions from way back, I never adhered to Streaming solutions (even though I was tempted) and always stuck to getting my entertainment in a media format I controlled (legitimately for a long as I could, not so much once even physical media started having DRM) because I was aware that it’s risky to outsource so much control over one aspect of what you do (in this case entertainment) to an entity which, frankly, sees you as nothing else that microscopic fraction of their bottomline.

    (The funny bit is that if Netflix would sell me their Series in an open file format that I could download and at a reasonable price, I would have sent lots of money their way, same as I spent lots of money on DVDs and even VHS tapes back in the day. In fact all throughout that period I was doing something like that for games: as soon as I discovered GOG with their DRM-free downloadable installers, I started acquiring all my games by buying them from GOG)

    In the fullness of time, my caution seems to have been proven right.


  • That’s pretty much the self-made home media system I’ve upgraded to some months ago, only mine has an N100 CPU (which is nicer from a power consumption point of view for an always on system since its TDP is 15W).

    It’s wired to my TV, running Kodi on the foreground, runs qBittrorrent on the background over an always on VPN and serves as my home NAS.

    From Aliexpress I got a wireless remote that let’s me control Kodi as if it was a TV box, so from my sofa I handle it as a TV box whilst from my PC I can ssh to it and to any computer kind of management.

    Probably one of my best purchases ever.


  • Aceticon@lemmy.dbzer0.comtoPrivacy@lemmy.ml"You need to try Linux"
    link
    fedilink
    English
    arrow-up
    42
    ·
    edit-2
    3 months ago

    One should be have been assuming since Windows 7 and automated online updates that the Microsoft key used to sign OS updates is in the hands of at least the NSA (and hence probably the Israeli equivalent) and they can push whatever they want to your computer as an OS update, bypassing all protections.

    In fact the same applies to Linux updates of certain distros - if they’re maintained by a company based in the US they can be forced by FISA courts to provide the signing keys to the US Government.

    More in general, just go read about FISA courts and their secret court orders - companies based in the US or hosting things in the US can be secretly forced to just “give the keys of the Realm” to parts of the US Government.

    Since things like the Patriot act one should be treating companies based in the US as just as untrustworthy as companies based in China.

    (By the way, some other supposed Democratic countries have similar or worse systems - for example the equivalent of FISA courts in the UK have things like secret court sessions were the side which is not the State is not authorized to have a legal representation, see most of the evidence or even know the decision of the court).

    Have people already forgot most of what came out in the Snowden Revelations?!