<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by GT_ on Medium]]></title>
        <description><![CDATA[Stories by GT_ on Medium]]></description>
        <link>https://medium.com/@gt-channel?source=rss-4b5274ef32e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nbGPbaLs7c5myRlNZbrEqQ.png</url>
            <title>Stories by GT_ on Medium</title>
            <link>https://medium.com/@gt-channel?source=rss-4b5274ef32e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:12:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gt-channel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Is Your IP Camera Putting on a Show for the Whole Internet?]]></title>
            <link>https://gt-channel.medium.com/is-your-ip-camera-putting-on-a-show-for-the-whole-internet-ff0d317268a7?source=rss-4b5274ef32e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff0d317268a7</guid>
            <dc:creator><![CDATA[GT_]]></dc:creator>
            <pubDate>Wed, 28 Oct 2026 12:48:02 GMT</pubDate>
            <atom:updated>2026-10-28T12:48:02.620Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A beginner-friendly guide to checking whether your IP camera is streaming without a password, using an Android scanner I built myself.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nK9XcOXqT-t_iMLoikUDwQ.png" /><figcaption>AI generated image of a person watching many unsecured video feeds</figcaption></figure><p>Every few months, the same headline comes back from the dead: thousands of private surveillance cameras, exposed on the internet, streaming to anyone who bothers to look. And “anyone who bothers to look” is surprisingly easy. Search engines such as <a href="https://www.shodan.io/">Shodan</a> can list exposed devices in a few clicks, no hacking hoodie required.</p><p>So here’s an uncomfortable question: <strong>how sure are you that your own camera isn’t one of them?</strong></p><p>If your honest answer is “well… I think it’s fine?”, this guide is for you. By the end, you’ll have checked your camera in about five minutes, with nothing more than your phone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ko3S-OnpE1TKzIuWtEdLnQ.png" /></figure><h3>The problem</h3><p>Most IP cameras send their video using a protocol called <strong>RTSP</strong> (Real Time Streaming Protocol). Think of it as a TV channel: the camera broadcasts, and any app that knows the “channel address” can tune in.</p><p>That address is made of an IP address, a port (usually 554) and a <em>path</em>, which looks something like rtsp://192.168.1.50:554/stream1.</p><p>Here’s the catch. Many cameras ship with predictable paths, and some of them don’t ask for a username or password at all. If the path is guessable and there’s no password, your camera is basically an exhibitionist with an open window: it won’t mind who’s watching, and it certainly won’t tell you.</p><p>And if the camera is also reachable from the internet (hello, UPnP), the audience is no longer just your household. It’s the whole planet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*akk8wLDpJf9YB-9qlaCUfw.png" /></figure><h3>A solution: RTSniff</h3><p>In full transparency, I developed <a href="https://play.google.com/store/apps/details?id=com.gt.rtsniff">RTSniff</a> myself, so take my enthusiasm with a pinch of salt. I built it because, as an IT professional, I wanted a quick, simple way to answer one question: <em>is this camera streaming without protection?</em></p><p>Here’s what it does: you give it an IP address and a port, and it checks them against a built-in list of known, publicly documented insecure RTSP paths. If one of them answers, you’ll know your camera is talking to strangers.</p><p>The latest version includes <strong>385 RTSP feed models</strong> (<a href="https://www.youtube.com/watch?v=IF_vj0D3Cvo">the first video I made about</a> it mentioned 180+, so yes, the list has been busy), including better compatibility with H.265 (HEVC) streams.</p><p>It’s also worth knowing that RTSniff doesn’t collect any personal information, and all links of RTSP video streams it finds, are shown on your device only. They aren’t sent or stored anywhere else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aH7kmWp9Y7HjOMhg5g6Gkg.png" /></figure><h3>What you’ll need</h3><ul><li>an Android smartphone;</li><li>the <a href="https://play.google.com/store/apps/details?id=com.gt.rtsniff">RTSniff</a> app, installed from Google Play (currently €0.99: not free, but cheaper than a vending-machine coffee, and far better at protecting your privacy);</li><li>the local IP address of the camera you want to test;</li><li>a connection to the same Wi-Fi network as the camera;</li><li>(optional) VLC, or any other app that can play RTSP streams;</li><li>a cup of tea. Not strictly necessary, but it makes you feel like a professional.</li></ul><p>One golden rule before we start: <strong>only scan cameras and networks that belong to you, or that you’re authorised to test.</strong> We’re here to lock doors, not to try handles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eHAmi2Ur_ofYXaQiQ8B-_A.png" /></figure><h3>Step 1 | Find your camera’s IP address</h3><p>The easiest way is to open your router’s admin page and look at the list of connected devices. Your camera should be in there, along with its IP address (something like 192.168.1.50).</p><p>If you gave your camera a hostname, as I did with my Raspberry Pi camera, you can also ask your computer to find it. In a Linux terminal, replace the hostname with your own:</p><pre>ping GT-CAM-RP0W-1.local -c 4</pre><p>The IP address will appear in the first line of the output.</p><p>Pro tip: if your router lets you assign a fixed IP address to the camera, do it. Your future self will be very grateful.</p><h3>Step 2 | Install and open RTSniff</h3><p>Go to Google Play, search for <a href="https://play.google.com/store/apps/details?id=com.gt.rtsniff"><strong>RTSniff RTSP Scanner</strong></a> and install it. Then open the app. It’s available in Portuguese, English, Spanish, French, Italian, German, Polish, Ukrainian and Dutch, so hopefully it speaks your language.</p><p>Make sure your phone is connected to the <strong>same local network</strong> as the camera.</p><h3>Step 3 | Ping the camera</h3><p>Type the camera’s IP address into the app and start by pinging it. This simply checks whether the camera is awake and answering.</p><p>In my test, the camera replied in 27 milliseconds. Perfectly happy.</p><p>If you get no reply, double-check the IP address and make sure both devices are on the same network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*FjLnw6HPbZwZmDJY14RWPg.jpeg" /></figure><h3>Step 4 | Scan for insecure streams</h3><p>Keep the same IP address and leave the port as it is. RTSniff fills in <strong>554</strong> by default, which is the standard RTSP port. Then start the scan and wait for it to work through its list of paths.</p><p>Now comes the moment of truth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*1cgH9PV3AnCSvsm5dFivmg.jpeg" /></figure><h3>Step 5 | Read the results</h3><p>In my test, the scan found two streams, and RTSniff told me the resolution of each one: <strong>1280x720</strong> for the first and <strong>640x480</strong> for the second. A small confession: the screenshot below is a veteran from an older version of the app, so it doesn’t show the protocol. The latest version does, telling you which protocol each RTSP stream is using.</p><p>What does that mean in practice? It means that anyone on the same network who knows that address can watch the camera. No password, no questions asked.</p><p>You can copy the RTSP address to your clipboard and open it in VLC (or any other RTSP-capable app) to see for yourself. It’s a slightly spooky feeling the first time you watch your own camera without logging in. Consider it a free wake-up call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zm3SySBWoXCrLiBn2cUvUw.png" /></figure><h3>Step 6 | Check what the internet can see</h3><p>This is the step that matters most. Your camera might be perfectly quiet inside your home and still be shouting through your router.</p><ol><li>From any device on the same network, open a site such as <a href="https://www.myip.com/">myip.com</a> to find your <strong>public IP address</strong>.</li><li>Go back to RTSniff and enter that public IP address instead of the local one.</li><li>Run the scan again, with the same port.</li></ol><p><strong>If RTSniff finds a stream here, your camera is exposed to the internet</strong>, and anyone with your public IP address could be watching from anywhere in the world.</p><p>In my case, the scan found nothing. Phew.</p><p>Small tip: some routers don’t like it when you test your own public address from inside your network. If the result looks odd, repeat the scan from your phone using mobile data instead of Wi-Fi (and keep in mind the VPN note further down).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8nSIEm7iBd0xN1T_BAa5TQ.png" /></figure><h3>Step 7 | Understand what “nothing found” really means</h3><p>I’d love to tell you that an empty result means you’re bulletproof. It doesn’t. It means <strong>good news, but not a guarantee</strong>.</p><p>Your camera may be using a non-standard path, a different port, or an authentication mechanism that isn’t covered by the RTSniff database (which is growing, but isn’t omniscient). So think of it as a smoke detector, not a fireproof building: when it beeps, you act. When it’s quiet, it’s a good sign, and you carry on being careful.</p><h3>Found something? Here’s how to fix it</h3><p>If your scan found streams on your public IP address, don’t panic. Do these, in this order:</p><ol><li><strong>Enable authentication</strong> on your camera or stream, or change it if it’s already there. Use strong credentials, not admin / admin or your dog’s name.</li><li><strong>Disable UPnP</strong> on your router, so your devices can’t quietly open doors to the internet on their own.</li><li><strong>Read the manual</strong> of your camera or the firmware it runs. Every model is a little different, and the answer is often hiding in a settings page nobody has opened since 2019.</li><li><strong>Scan again</strong> with RTSniff to confirm the stream is no longer open.</li></ol><h3>Things worth knowing</h3><ul><li><strong>VPNs, proxies and firewalls</strong> can interfere with the scan. They can mask addresses or block packets, so results may be incomplete or wrong. For the most accurate test, scan without them.</li><li><strong>The scan is a starting point, not a certificate.</strong> See Step 7.</li><li><strong>The app is under active development.</strong> The most recent update targets Android API 36, adds 55 new feed models (385 in total) and fine-tunes the scanning engine to reduce the chance of tripping the connection limits or protection mechanisms some camera firmwares have.</li></ul><h3>Final thoughts</h3><p>Owning a camera that watches your home is a great idea. Owning a camera that <em>also</em> lets strangers watch your home is a terrible one, and the difference can be one password and five minutes of your time.</p><p>If you’d like to try it, RTSniff is available on Google Play:</p><p><a href="https://play.google.com/store/apps/details?id=com.gt.rtsniff"><strong>https://play.google.com/store/apps/details?id=com.gt.rtsniff</strong></a></p><p>And if you prefer to see it in action first, here’s the video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIF_vj0D3Cvo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIF_vj0D3Cvo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIF_vj0D3Cvo%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b75e3c53b1e24dc8bcba8f56d20de6d8/href">https://medium.com/media/b75e3c53b1e24dc8bcba8f56d20de6d8/href</a></iframe><p>Thank you for taking the time to read this article! If you found it useful, feel free to share it with a friend who has a camera at home. Every read and every share is greatly appreciated.</p><p>Keep your privacy… private.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff0d317268a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Raspberry Spy: The How-To]]></title>
            <link>https://gt-channel.medium.com/raspberry-spy-the-how-to-76d666aa1468?source=rss-4b5274ef32e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/76d666aa1468</guid>
            <dc:creator><![CDATA[GT_]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 17:49:02 GMT</pubDate>
            <atom:updated>2026-10-06T17:49:02.504Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A beginner-friendly guide to setting up a simple RTSP camera using a Raspberry Pi Zero W and a CSI camera.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jzR_cKbYQM7bIXdECP3F1w.jpeg" /><figcaption>A Raspberry Pi Zero W connected to a camera via a CSI cable</figcaption></figure><p>I’ve always been very fond of Raspberry Pi Zero projects involving cameras. Despite its age becoming more apparent with each passing year, this little SBC still proves to be a surprisingly capable platform for all sorts of projects. It’s small, lightweight, and just capable enough to get the job done.</p><p>Today, I’m going to show you how to use a Raspberry Pi Zero W (the version with Wi-Fi) to build a simple RTSP camera, one you can connect to your local NVR and use for monitoring a bird’s nest, keeping an eye on your 3D printer, or even adding a little extra security to a door or window.</p><h4>What you’ll need</h4><p>There are a few things you’ll need to make this project a reality:</p><ul><li>a <a href="https://www.raspberrypi.com/products/raspberry-pi-zero-w/">Raspberry Pi Zero W</a> SBC (or a more recent one from the same brand);</li><li>a CSI camera;</li><li>a CSI cable;</li><li>an 8 Gb MicroSD card (all data will be lost, backup if needed);</li><li>a microSD card reader/writer;</li><li>a 5V 2A power supply;</li><li><a href="https://www.raspberrypi.com/software/">Raspberry Pi Imager</a> installed on a computer;</li><li>an active Internet connection.</li></ul><h4>Prepare the CSI camera</h4><p>The first thing we’ll do is set up the camera. Connect one end of the CSI cable to the camera, with the contacts facing towards the camera board, and the other end to the CSI connector on the Raspberry Pi Zero W.</p><p>At this point, <strong>do not insert the microSD card into the Raspberry Pi or power it up yet.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qzJmvfza9XCi7UaxkRbvbw.jpeg" /><figcaption>The Raspberry Pi Zero W connected to a camera via a CSI cable</figcaption></figure><h4>Prepare the microSD card</h4><p>It’s now time to install an operating system on the microSD card. This will provide the environment needed to run the software required for our project.</p><p>Go to your computer, plug your microSD card reader into an available USB port, and insert the card into the reader.</p><p>Now install Raspberry Pi Imager, if you haven’t already, and launch it.</p><p>The first step is to <strong>choose a device</strong>. I’ll select <strong>Raspberry Pi Zero</strong> and click <em>Next</em>.</p><p>Next, we need to <strong>choose an operating system</strong>. I’ll select <em>Raspberry Pi OS (other)</em>, then <em>Raspberry Pi OS Lite (32-bit)</em>, and click <em>Next</em>.</p><p>Finally, we need to <strong>choose the storage</strong>. I’ll select my microSD card reader and click <em>Next</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*qbt9EVXn4F9LCbotN8Q6vg.png" /></figure><p>Let’s <strong>choose a hostname</strong> (the name of our computer). I’ll call mine <em>GT-CAM-RP0W-1</em>, and then click <em>Next</em>.</p><p>Next, I’ll <strong>choose my localisation</strong> settings: my <em>City</em>, <em>Time Zone</em>, and <em>Keyboard layout</em>, and click <em>Next</em>.</p><p>Time to <strong>choose a username</strong>. My username will be <em>gt</em>, and then I’ll enter a password twice. <strong>Make sure you remember your username and password</strong>, as you’ll need them to log in to the camera. Click <em>Next</em> to continue.</p><p>Let’s <strong>set up the network</strong>. Enter the name of the Wi-Fi network you want your camera to connect to, followed by its password, and then click <em>Next</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*tmpKf2fbnRWta4RY5t4feg.png" /><figcaption>SSH authentication tab on Raspberry Pi Imager</figcaption></figure><p><strong>Enable SSH</strong> with password authentication, and click <em>Next</em>.</p><p>There’s no need to enable <strong>Raspberry Pi Connect</strong>. We won’t be using it for this project, as we’ll keep the camera accessible only from your local network. Click <em>Next</em>.</p><p>After choosing all the settings, you’ll be shown a <strong>summary of your choices</strong> for you to review. If everything looks OK, just click <em>Write</em>.</p><p>You’ll be prompted with one final warning message telling you that all existing data on the microSD card will be lost. If you’re sure you’ve selected the correct card, click <em>I UNDERSTAND, ERASE AND WRITE</em>.</p><p>Raspberry Pi Imager will now download and install the selected operating system onto the microSD card. This might take a few minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*HFFhv170Oc6j378x7PEPIQ.png" /><figcaption>Raspberry Pi Imager burning the OS in to a microSD card</figcaption></figure><p>Once it’s done, just click <em>Finish</em>.</p><p>It’s time to eject and remove the microSD card from the card reader, and insert it into your Raspberry Pi. Once you’ve done that, you can power up your Raspberry Pi and wait around five minutes for all the initial boot procedures to complete.</p><h4>Connect to the Camera via SSH</h4><p>Let’s get back to the computer and make sure it’s connected to the same network as your Raspberry Pi.</p><p>Because my computer runs Linux Mint XFCE, I’ll be using it as the basis for the instructions that follow. If you’re using a different operating system, make sure you know how to connect to another device via SSH.</p><p>All the following procedures will be carried out in a terminal window (Bash). Simply copy and paste the commands into your terminal (usually with <strong>Ctrl+Shift+V</strong>) and press <em>Enter</em>.</p><p>Remember to change any parts of the commands that need to match the settings you chose during the operating system customisation process.</p><p>First, let’s find out the IP address of the Raspberry Pi. Run the following command, replacing the hostname with the one you chose earlier:</p><pre>ping GT-CAM-RP0W-1.local -c 4</pre><p>If everything went well, you should see output similar to this:</p><pre>PING GT-CAM-RP0W-1.local (192.168.7.118) 56(84) bytes of data.<br>64 bytes from GT-CAM-RP0W-1 (192.168.7.118): icmp_seq=1 ttl=64 time=77.4 ms<br>64 bytes from GT-CAM-RP0W-1 (192.168.7.118): icmp_seq=2 ttl=64 time=6.61 ms<br>64 bytes from GT-CAM-RP0W-1 (192.168.7.118): icmp_seq=3 ttl=64 time=8.16 ms<br>64 bytes from GT-CAM-RP0W-1 (192.168.7.118): icmp_seq=4 ttl=64 time=10.2 ms<br><br> - - GT-CAM-RP0W-1.local ping statistics - -<br>4 packets transmitted, 4 received, 0% packet loss, time 3003ms<br>rtt min/avg/max/mdev = 6.612/25.589/77.387/29.932 ms</pre><p>I now know that my camera’s IP address is <strong><em>192.168.7.118</em></strong>. Yours will most probably be different, and I’ll use this IP address in the next command to connect to the camera via SSH:</p><pre>ssh gt@192.168.7.118</pre><p>The code is simple to understand: <em>ssh user@ip</em>. Because this is the first time I’m connecting to this device at this IP address, SSH asks me to verify and accept the host key fingerprint. You’ll see something similar to this:</p><pre>The authenticity of host &#39;192.168.7.118 (192.168.7.118)&#39; can&#39;t be established.<br>ED25xx9 key fingerprint is SHA256:5RvMt1O6W9Zxxxxxxxxxxxxxxxxxxxxu79z2+rxxxxc.<br>This key is not known by any other names.<br>Are you sure you want to continue connecting (yes/no/[fingerprint])? yes<br>Warning: Permanently added &#39;192.168.7.118&#39; (ED25xx9) to the list of known hosts.<br>gt@192.168.7.118&#39;s password: <br>Linux GT-CAM-RP0W-1 6.18.50+rpt-rpi-v6 #1 Raspbian 1:6.18.50-1+rpt1 (2026-09-11) armv6l<br><br>The programs included with the Debian GNU/Linux system are free software;<br>the exact distribution terms for each program are described in the<br>individual files in /usr/share/doc/*/copyright.<br><br>Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent<br>permitted by applicable law.</pre><p>Simply type <em>yes</em>, press <em>Enter</em>, and then enter the password you chose for your Raspberry Pi user account. Press <em>Enter</em> again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*G0MAOYbX6lBFo8RJCbsHWA.png" /><figcaption>The terminal windows showing an active SSH connection to the camera</figcaption></figure><p>If everything went well, you are now connected to your Raspberry Pi remotely via SSH.</p><h4>Configure the Software</h4><p>Now it’s time to configure our camera’s software. The first step is to update the entire system. Run the following command:</p><pre>sudo apt update &amp;&amp; sudo apt upgrade -y</pre><p>Press <em>Enter</em>, and provide your password. This will update the operating system and may take quite some time, depending on the Raspberry Pi SBC you’re using. So, grab a coffee, sit back, and patiently admire the magic happening in your terminal.</p><p>Once the update is finished, we’re going to install a couple of dependencies we need to get this project going. Run the following command:</p><pre>sudo apt install -y ffmpeg<br>sudo apt install -y curl</pre><p>This will install <strong>FFmpeg</strong>, which is used to record, convert, edit, and stream audio and video files, and <strong>cURL</strong>, a tool for transferring data to or from a server using various network protocols. Remember to enter your password whenever you’re prompted for it.</p><p>Now we’re going to install <strong>MediaMTX</strong>, a specialised media server and proxy designed to receive real-time video and audio streams from one source and route them to different users or formats.</p><p>Run each of the following commands, one at a time:</p><pre>cd ~<br>LATEST=$(curl -s https://api.github.com/repos/bluenviron/mediamtx/releases/latest | grep tag_name | cut -d &#39;&quot;&#39; -f4)<br>wget https://github.com/bluenviron/mediamtx/releases/download/${LATEST}/mediamtx_${LATEST}_linux_armv6.tar.gz<br>tar xzf mediamtx_*_linux_armv6.tar.gz<br>sudo mv mediamtx /usr/local/bin/<br>rm -rf mediamtx_*</pre><p>Let’s create the configuration file for MediaMTX. First, create the required directory and then open a new configuration file:</p><pre>sudo mkdir -p /etc/mediamtx<br>sudo nano /etc/mediamtx/mediamtx.yml</pre><p>Now paste the following configuration into the file using <strong>Ctrl+Shift+V</strong>:</p><pre>rtspAddress: :8554<br>readTimeout: 30s<br>writeTimeout: 30s<br><br>paths:<br>  main:<br>    runOnInit: /bin/sh -c &#39;rpicam-vid -t 0 --nopreview --inline --width 800 --height 600 --framerate 15 --bitrate 1300000 --codec h264 -o - | ffmpeg -re -fflags +genpts+nobuffer -flags low_delay -i - -c:v copy -f rtsp rtsp://127.0.0.1:8554/main&#39;<br>    runOnInitRestart: yes<br><br>    # If the image is horizontally and/or vertically inverted, use this line instead of the previous one:<br>    # runOnInit: /bin/sh -c &#39;rpicam-vid -t 0 --nopreview --inline --width 800 --height 600 --framerate 15 --bitrate 1300000 --codec h264 --hflip --vflip -o - | ffmpeg -re -fflags +genpts+nobuffer -flags low_delay -i - -c:v copy -f rtsp rtsp://127.0.0.1:8554/main&#39;</pre><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>We also need to make sure MediaMTX starts automatically whenever the Raspberry Pi boots. To do this, we’ll create a <strong>systemd service</strong>:</p><pre>sudo nano /etc/systemd/system/mediamtx.service</pre><p>Paste the following configuration using <strong>Ctrl+Shift+V</strong>:</p><pre>[Unit]<br>Description=MediaMTX RTSP Server<br>After=network.target<br><br>[Service]<br>Type=simple<br>ExecStart=/usr/local/bin/mediamtx /etc/mediamtx/mediamtx.yml<br>Restart=always<br>User=gt<br><br>[Install]<br>WantedBy=multi-user.target</pre><p><strong>Make sure you change </strong><strong>User=gt to the username you created when setting up Raspberry Pi OS.</strong></p><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>At this point, we have the MediaMTX configuration file and the systemd service file in place. We now need to make sure MediaMTX has the correct permissions:</p><pre>sudo chmod +x /usr/local/bin/mediamtx<br>sudo chown -R gt:gt /etc/mediamtx</pre><p>Again, make sure you change gt:gt to the username you created when setting up Raspberry Pi OS.</p><p>Now let’s activate the service:</p><pre>sudo systemctl daemon-reload<br>sudo systemctl enable --now mediamtx</pre><p>The first command tells <em>systemd</em> to reload its configuration files so that it knows about the new service. The second enables MediaMTX to start automatically at boot and starts it immediately.</p><p>Finally, let’s check that the service is running:</p><pre>sudo systemctl status mediamtx</pre><p>You should see <strong>active (running)</strong> in green, similar to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*71YrPKVcTMKhXueDb3DJMA.png" /></figure><p>If everything looks good, just press <strong>Ctrl+C</strong> to exit the status screen and return to the terminal.</p><p>Congratulations! MediaMTX is now installed, configured, and running as a system service. It will also start automatically whenever your Raspberry Pi boots.</p><p>My RTSP stream is now available at:</p><pre>rtsp://192.168.7.118:8554/main</pre><p>I can now add this stream to my NVR and start using the Raspberry Pi as a network camera. Alternatively, I can watch the stream using any media player that supports RTSP.</p><p>Of course, <strong>your IP address will most probably be different</strong>, so make sure you use the IP address assigned to your own Raspberry Pi.</p><h3>System Optimization</h3><p>This next part will let us <strong>optimise the system</strong>, making sure it runs as smoothly as possible, with as little downtime as we can manage.</p><p>First, we’re going to disable Wi-Fi power saving. This prevents the Wi-Fi adapter from entering a power-saving state, which can potentially affect the reliability of our RTSP stream.</p><p>Let’s create a systemd service for it:</p><pre>sudo nano /etc/systemd/system/wifi-powersave-off.service</pre><p>Paste the following configuration using <strong>Ctrl+Shift+V</strong>:</p><pre>[Unit]<br>Description=Disable WiFi power saving<br>After=network.target<br><br>[Service]<br>Type=oneshot<br>ExecStart=/sbin/iw dev wlan0 set power_save off<br>RemainAfterExit=yes<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>Now let’s enable the service and start it immediately:</p><pre>sudo systemctl enable --now wifi-powersave-off.service</pre><p>The service will now be started automatically whenever the Raspberry Pi boots, and Wi-Fi power saving will be disabled.</p><h4>Automatic Stream Recovery</h4><p>We’re almost there! There’s just one more thing I want to add to make the camera a little more resilient.</p><p>Sometimes, for whatever reason, an RTSP stream can stop working. Rather than having to manually connect to the Raspberry Pi and restart MediaMTX, we can create a small script that checks the stream periodically and restarts the service if necessary.</p><p>Let’s create the script in our home directory:</p><pre>nano ~/check_rtsp.sh</pre><p>Paste the following script into the file using <strong>Ctrl+Shift+V</strong>:</p><pre>#!/bin/bash<br># Check whether the RTSP stream is accessible<br>if ! timeout 8 ffprobe -v error -i rtsp://127.0.0.1:8554/main -show_streams -select_streams v:0 -timeout 5000000 &gt; /dev/null 2&gt;&amp;1; then<br>    echo &quot;$(date &#39;+%Y-%m-%d %H:%M:%S&#39;) - Stream DOWN → restarting mediamtx&quot; &gt;&gt; /var/log/mediamtx_monitor.log<br>    systemctl restart mediamtx<br>else<br>    echo &quot;$(date &#39;+%Y-%m-%d %H:%M:%S&#39;) - Stream OK&quot; &gt;&gt; /var/log/mediamtx_monitor.log<br>fi</pre><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>The script uses ffprobe to check whether the RTSP stream is responding. If the stream is unavailable, it restarts MediaMTX and records the event in a log file. If everything is working normally, it simply records that the stream is OK.</p><p>Now we need to make the script executable and create its log file:</p><pre>chmod +x ~/check_rtsp.sh<br>sudo touch /var/log/mediamtx_monitor.log<br>sudo chown gt:gt /var/log/mediamtx_monitor.log</pre><p><strong>Make sure you replace </strong><strong>gt:gt with the username and group of the user you created when setting up Raspberry Pi OS.</strong></p><h4>Schedule the stream check</h4><p>We’re going to run the script every five minutes. Because the script needs permission to restart the MediaMTX service, we’ll add it to the root user’s cron table:</p><pre>sudo crontab -e</pre><p>Add the following line at the end of the file:</p><pre>*/5 * * * * /home/gt/check_rtsp.sh</pre><p>Again, make sure you replace gt with your own username.</p><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>The Raspberry Pi will now check the RTSP stream every five minutes. If the stream is down, the script will automatically restart MediaMTX.</p><h4>Schedule a daily reboot</h4><p>Finally, I like the idea of giving the Raspberry Pi a complete fresh start once a day. We can schedule it to reboot every morning at <strong>03:30</strong>.</p><p>We’ll use the root crontab again:</p><pre>sudo crontab -e</pre><p>Add the following line at the end:</p><pre>30 3 * * * /sbin/reboot</pre><p>Use <strong>Ctrl+O</strong> to save the file, then <strong>Ctrl+X</strong> to exit <em>nano</em>.</p><p>And that’s it! Every day at 03:30, the Raspberry Pi will perform a complete reboot. Combined with the five-minute RTSP check, this should give our little camera a good chance of recovering automatically from the occasional hiccup without requiring any intervention.</p><p>You’ve actually built your own network camera with a Raspberry Pi! Also, use whatever camera best fits your needs. There are so many options to choose from: cameras with no IR filter, autofocus, fisheye lenses, and many others. Your imagination - and, of course, your budget - is the limit!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjMXNgffI4WUBmKvBRktqQ.png" /><figcaption>Snapshot of a bird inside a homemade nest, filmed with a Raspberry Pi camera.</figcaption></figure><p>Thanks for taking the time to read this article! I hope you found it useful, or perhaps even got a few ideas for some future project.</p><p>And if you enjoyed it, feel free to share it with someone who might find it useful too. Every read and every share is greatly appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76d666aa1468" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turning a Forgotten Netbook into a Home Server? Simple!]]></title>
            <link>https://gt-channel.medium.com/turning-a-forgotten-netbook-into-a-home-server-simple-df0228ddc344?source=rss-4b5274ef32e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0228ddc344</guid>
            <category><![CDATA[foss]]></category>
            <category><![CDATA[netbook]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[casaos]]></category>
            <category><![CDATA[diy-projects]]></category>
            <dc:creator><![CDATA[GT_]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 17:39:51 GMT</pubDate>
            <atom:updated>2026-09-28T17:39:51.187Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A simple guide to turning your forgotten old netbook (or any other old laptop) into a home server. A cool DIY project for absolutely everyone!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kiVB1uZ5AOniBbAcr_Oh-g.jpeg" /><figcaption>AI generated image of a netbook running as a home server</figcaption></figure><p>I have a very old netbook, and I’ve been trying to think of a way to make it useful again. It’s a 2011 Packard Bell PAV80 DOT SE, and its specs were modest even out of the box:</p><ul><li><strong>CPU:</strong> Intel Atom N450, 1.66 GHz (single-core, two threads)</li><li><strong>RAM:</strong> 2 GB DDR2</li><li><strong>GPU:</strong> Intel GMA 3150</li><li><strong>Storage: </strong>Vaseky 64 GB SSD</li><li><strong>Original OS:</strong> Microsoft Windows 7 Starter Edition</li></ul><p>By today’s standards, this computer is completely obsolete and as slow as a snail reversing on a Russian winter’s night. I spent hours testing all sorts of Linux-based operating systems with graphical desktop environments, but its performance is so poor that I can’t imagine doing any kind of task on it. And yes, that includes lightweight distros such as Elive, Puppy, Lubuntu, Bodhi, Peppermint, antiX, MX, and so many others. I even tried a few non-Linux operating systems, such as Haiku. While a few of them managed to deliver reasonable performance, the user experience simply wasn’t good enough by our current standards.</p><p>To be honest, whenever I test something, I ask myself whether I could recommend it to someone less tech-savvy, and if I couldn’t, I move on to something else. In the end , none of these systems will make a netbook a proper daily driver, or something nice to use as a second laptop. That’s especially true now that we all carry a very capable computer in our pockets, and so many of us own a simple tablet that would kick any netbook into the shadow realm in both performance and usability. So… is there anything I can do to get it out of the drawer?</p><h3>The Solution</h3><p>The idea is simple: let’s turn it into a home server, something easy to set up, simple to maintain, and with a genuinely useful purpose around the house.</p><p>And, as you’ve probably figured out by now, this guide is aimed at less tech-savvy users. It’s a step-by-step walkthrough that shows just how easy it is to turn your old netbook into something cool. In this project, I’ll focus on turning it into a NAS (network-attached storage). You’ll be able to share password-protected folders across your network and use them with your other computers, Android boxes, IP cameras and so on.</p><p>It won’t be a fast NAS, but it will do the job. Keep it switched on and you’ll have a very handy 24/7 storage server, one you can brag about to your friends: “<strong><em>I built a server!</em></strong>”.</p><h3>Preparation</h3><p>To begin, turn that old netbook on and <strong>back up any files you might need</strong>. By the time we’re finished, everything on it will have been erased, so copy your files to a USB stick, an external hard drive, the cloud… wherever suits you. I can’t emphasise this enough: <strong>back up everything you’ll need, or you will lose it all, because we’re going to wipe your netbook’s internal storage</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NaYRjeUM3Vp6b6Qjrt0XMA.jpeg" /><figcaption>AI generated image showing a netbook with an Ethernet cable, a USB storage key and the power barrel jack.</figcaption></figure><p>I’ll also assume that <strong>your netbook will be connected to your network by Ethernet</strong>. To get any meaningful network speed, you’ll need to plug it in with an Ethernet cable directly into your router, a network switch or a wall socket. If your netbook doesn’t have an Ethernet port, this project isn’t suitable for you (I don’t recommend relying on the netbook’s old Wi-Fi card for the connection).</p><p>You will also need a <strong>+1 GB USB stick</strong> (not the one you used to back up your files, as it will be completely erased). Also, your netbook should be <strong>connected to its charger all the time</strong>.</p><p>For last, you can use any computer running Windows, Mac or GNU/Linux to setup the USB key.</p><h3>Step 1 | Prepare the USB key</h3><p>Let’s start by preparing the USB key with the operating system we’ll use for our server. You can either create a multiboot stick with a tool such as <a href="https://www.ventoy.net/en/index.html">Ventoy</a>, which lets you keep several operating systems on the same stick, or set up a single-system USB key. Either way, we’ll be using Debian, in its ‘<em>netinst</em>’ version, which requires a network connection. If you want to learn how to create a Ventoy USB key, just watch the video bellow (in Portuguese, please turn on subtitles if needed), else just keep reading.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2EW-O_za4zM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2EW-O_za4zM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2EW-O_za4zM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/349963a512b54bec16adc68ba77bf024/href">https://medium.com/media/349963a512b54bec16adc68ba77bf024/href</a></iframe><p>Plug the USB stick into your main computer and open a web browser. Then go to the <a href="https://www.debian.org/">official Debian website</a> and click the big button on the right to download the latest version.</p><p>If you’re using Windows, I recommend <a href="https://rufus.ie/">Rufus</a> or <a href="https://etcher.balena.io/">balenaEtcher</a> to write the downloaded image (an ISO file) to your USB stick. On a Mac, I’d go with balenaEtcher. On Linux, you can use balenaEtcher or your distro’s built-in disk image writer, if it comes with one (Linux Mint Xfce does).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*pxxQAHeQd3obN4XiN4ivVQ.png" /><figcaption>Screenshot showing the media selection on balenaEtcher</figcaption></figure><p>For this example, I will use balenaEtcher. After download, execute the file. Once the program opens, you are presented with the media selection. For the source, select the file you’ve just downloaded. For the target, select your USB key, then press <em>Flash!</em> and let it write the image until your system reports that it has finished.</p><p>Once finished, remove your Debian Netinstall USB key, and plug it into your netbook.</p><h3>Step 2 | Installing the OS</h3><p><em>This next part might feel a bit overwhelming, so just relax and take it easy. Go step by step and you’ll see that it isn’t scary. If anything goes wrong, just try again and work out where it went off track. You can also ask an AI assistant such as Gemini for help if you get stuck at any point, but I bet you won’t need to: </em><strong><em>despite the number of steps, it’s mostly click and go… I promise</em></strong><em>.</em></p><p>With the Debian USB key, the Ethernet cable and the charger plugged into your netbook, it’s time to switch it on. Press the power button, then quickly and repeatedly tap your netbook’s boot menu key to bring up the boot device menu. On my netbook, right after pressing the power button, I tap the F12 key repeatedly, and after a few seconds I’m presented with a list of devices to boot from. I select my USB key and press Enter.</p><p><em>If you have any difficulty getting to the boot menu, please refer to your computer’s documentation, as you might need to enable it in the BIOS settings or, on a more recent netbook with UEFI, disable Secure Boot.</em></p><p>On the Debian boot menu, choose <strong>Graphical Install</strong> and press Enter. After a few seconds, the installer will start.</p><p>Its graphical interface will load, and you’ll need to make a few choices. First, choose the <strong>language</strong> for the installation process and the installed system, then select your <strong>country</strong> and your <strong>keyboard layout</strong>, clicking <em>Continue</em> after each step. The installer will now probe your hardware to load the components it needs (depending on your netbook, this might take up to a minute or two).</p><p>Next, choose your <strong>network connection</strong> from the list. <strong>Select your Ethernet device</strong>, not your Wi-Fi card. After you click <em>Continue</em>, the installer will configure the network automatically. For reference, my Ethernet interface is named <em>enp1s0: Qualcomm Atheros AR8152 v1.1 Fast Ethernet</em>.</p><p>Now you need to give your netbook a <strong>hostname</strong>, a single word that makes it easy to identify on the network. I’ll call mine <strong>NBNAS</strong> (short for Netbook NAS). When it asks for a <strong>domain</strong> name, leave it blank and click <em>Continue</em>.</p><p>Next, choose a <strong>password for the root account</strong>. This is very important, as this password will allow you to administer your Debian system whenever necessary, so choose something secure that you won’t forget. A strong password is more than eight characters long and mixes numbers, letters (with at least one capital) and a special character such as % or #.</p><p>Enter the <strong>full name</strong> for the new user account (I’ll use GT), then choose a <strong>username</strong> for it (I’ll use <em>gt</em>) and a <strong>password</strong>. Next, select your <strong>time zone</strong> (the options depend on the country you chose earlier).</p><p>The installer will now detect your drive and present you with the options for setting up your storage. Choose <strong>Guided partitioning</strong> and click <em>Continue</em>, then choose <strong>Guided — Use entire disk</strong> and click <em>Continue</em>, and then select your internal drive (<strong>be careful not to select your USB stick</strong>). For reference, my drive is named <em>SCSI1 (0,0,0) (sdb) — 62.0 GB ATA Vaseky V800/64G</em>.</p><p>Now choose <strong>All files in one partition (recommended for new users)</strong>. On the next screen, the option <strong>Finish partitioning and write changes to disk</strong> should already be selected, so just click <em>Continue</em>. A confirmation screen will then summarise the changes that are about to be made. Select <strong>Yes</strong> to let the installer write them to the disk and start installing the base system. Depending on your netbook’s performance, this might take a while.</p><p>With the base system now installed, you’ll be asked to choose a <strong>mirror server</strong> for your update files. A mirror is a server that hosts copies of the official Debian repository, which Debian uses to download software and updates when necessary. First, choose the country where you live or one near you, then pick a mirror from the list (e.g. <em>deb.debian.org</em>).</p><p>Now enter your <strong>HTTP proxy</strong>, if you use one. If you don’t (and you probably don’t), just leave it blank and click <em>Continue</em>.</p><p>The installer will then set up the software repositories for the customisation stage of the installation. The first question is whether you want to <strong>share anonymous usage data</strong> with the Debian developers (the default answer is <strong>No</strong>). Choose your answer and click <em>Continue</em>.</p><p>You’re now on the <strong>Software selection</strong> screen, which shows a list of desktop environments you might want to install, plus a few other options. The only two you need to select are:</p><ul><li><strong>SSH server</strong> (for remote access to your server over your network);</li><li><strong>standard system utilities</strong></li></ul><p>Remember to untick everything else on the list before clicking <em>Continue</em>. The installer will now install the software you’ve selected (it might take a while).</p><p>Now the installer asks where to install the <strong>GRUB boot loader</strong>, a small program that loads Debian whenever you switch your computer on. Select your drive from the list and click <em>Continue</em>. For reference, I chose <em>/dev/sdb (ata-Vaseky_V800_64G_AA001911402714)</em>, the same drive I selected earlier for the system installation.</p><p>You’re now on the last screen, which tells you that once you click Continue, your system will boot into your new Debian installation. So what are you waiting for? Click <em>Continue</em>, and remember to remove your USB stick as soon as the screen goes blank and the netbook restarts! 🙂</p><h3>Step 3 | Setting up the Server</h3><p>When your computer restarts, after the power-on self-test (POST) you’ll see the GRUB menu with the <strong>*Debian GNU/Linux</strong> entry already selected. Just press Enter, or wait a few seconds and it will boot automatically into your new server!</p><p>A little while later, your server boots up and asks you to log in. Use the credentials you set up earlier in the process. For the username, I’ll type <em>gt</em> and press Enter, then type my password and press Enter again.</p><p>If everything went well, you’ll now see something like this, followed by a blinking cursor:</p><p>gt@NBNAS:~$</p><p>So what does it all mean? The prompt follows this pattern, where ~ is shorthand for your home directory:</p><p>user@server:~$</p><p>Yes! You’re now logged in to your brand-new server and ready to take the final steps to make it perfect.</p><p>Let’s start by updating our server. To do that, we’ll enter in to the Super User mode:</p><p>su</p><p>After you press Enter, you’ll be asked for your root password (the one you set up earlier during the installation), and you should see something similar to this:</p><p>root@NBNAS:/home/gt#</p><p>This means we’re now in superuser mode. Let’s make the system check for available updates with this code (remember to press Enter after each line of code that I provide):</p><p>apt update</p><p>The system will report back how many updates are available, if any. If you have packages to be upgraded, run the following code:</p><p>apt upgrade -y</p><p>Once our packages are upgraded, we’re going to install the software we’ll use to manage our new server. <a href="https://casaos.zimaspace.com/">CasaOS</a> is a free, open-source personal cloud system with a web dashboard that helps you manage your hardware and server services.</p><p>First, we need to install curl (a command-line tool for transferring data between your computer and a website):</p><p>apt install curl -y</p><p>Then, finally, install CasaOS with the following command:</p><p>curl -fsSL https://get.casaos.io | bash</p><p>The installation script might take a while, so grab a coffee while you’re at it. As soon as it finishes, you’ll be presented with some text similar to this:</p><p><em>CasaOS v0.4.15 is running at:</em><br><em>- http://192.168.7.195 (enp1s0)</em><br><em>Open your browser and visit the above address.</em></p><p>Copy the IP address shown (in my case, <em>http://192.168.7.195</em>), as you’ll need it to access your new home server from any other computer on the same network.</p><p>Before we do that, let’s set up a Samba password so we can use its services with our main user account. Samba is the software responsible for providing file and print-sharing services on our server, and it’s already built into it. Run the following command, replacing the username with your own:</p><p>smbpasswd -a gt</p><p>You’ll be prompted to enter your new network password twice, and then we’re done! Time to leave the Super User session by typing <em>exit</em> and pressing Enter.</p><h3>Step 4 | Using the New Server</h3><p>I am now on another computer, and I’m going to log in to my new home server. I open Firefox, type in my server’s address, and press Enter.</p><p>I’m presented with a Welcome screen, where I click <em>Go</em> to continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TlMMZxi87y-U8wfoA42jRg.png" /><figcaption>Initial CasaOS account setup screen</figcaption></figure><p>I’m asked to create credentials to access CasaOS. You can use the same credentials you used for your Debian server, or set up new ones. For this example, I’ll use the same ones (the same username and password), and click <em>Create</em>.</p><p>It then asks if I want it to <strong>Show news feed from CasaOS blog</strong>, and I choose <em>Cancel</em>.</p><p>And we’re now on the dashboard of our brand-new server! As Jeremy Clarkson would say… “<strong><em>I built a thing!</em></strong>” 😂</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4saq8DorSE1u47UJ2hxjA.png" /><figcaption>Screenshot of CasaOS dashboard</figcaption></figure><p>As you can see, super readable dashboard. <strong>System status</strong> showing your CPU and RAM usage, <strong>Storage</strong> showing your hard drive usage, a <strong>Network status</strong> for you to check your download and upload metrics, an <strong>App store</strong> for setting up new software and services for your server, and <strong>Files</strong> - a file explorer that makes it super easy to setup and manage shared folders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShnhhBpAOxdafI8TZAoStA.png" /></figure><p>On the top left corner you will also find three options:<br>- Account settings;<br>- System settings;<br>- Terminal and logs (in case you need to remotely access your server via the terminal, using your server’s credentials to log in).</p><h3>Step 5 | Sharing a Folder</h3><p>Yes… we are almost there. Let’s now create a folder on our server and share it over the network. Then we’ll try to access it remotely from both a Linux computer and a Windows computer.</p><p>Open the <strong>Files</strong> app, right-click in the right-hand pane, and select <strong>New folder</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*msILKXPkcx9TZFE1_WVtqQ.png" /><figcaption>Screenshot of a new folder creation on Files app</figcaption></figure><p>I’ll call my folder <strong><em>NBShare</em></strong> and tick the <strong>Shared</strong> option before clicking <em>Submit</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ze2nnYl53MMcdDlCu8Gbjg.png" /><figcaption>Screenshot of naming a new folder in Files</figcaption></figure><p>My new folder now appears alongside all the other existing folders, with a small green symbol indicating that it is a shared folder. I can access it simply by clicking on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZXpiIWejrw_TCx9ABr_Ow.png" /></figure><p>Once inside, and for the purposes of this article, I’ll upload an image file by dragging it from my file explorer directly into the CasaOS window in Firefox. I could also click on the <strong><em>Upload files</em></strong> button to do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T6lEOyaRBy4J9xJC2sYfQA.png" /><figcaption>Screenshot of a file being shared inside my shared folder</figcaption></figure><h3>Step 6 | Access my Shared Folder</h3><p>Now let’s see if I can access it directly from my file explorer, inside my Linux system.</p><h4>Linux</h4><p>I open <em>Thunar</em>, my file explorer, and navigate to my server’s shared folder by manually entering its address in the address bar:</p><p>smb://192.168.7.195</p><p>Note that this is the same IP address as my server, prefixed with smb://, which tells <em>Thunar</em> to use the Samba protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*oecCjqWxHPvoGVkOzd3zHw.png" /><figcaption>Screenshot of credentials being required to log in to the shared folder</figcaption></figure><p>After a few seconds, it shows me a folder called <strong>NBShare</strong> inside that IP address. I double-click on it to open, and I’m prompted for authentication.</p><p>I select <strong>Registered User</strong>, then enter my Samba username (remember, the one we set up earlier using the smbpasswd command) and my Samba password. I can then choose whether to <strong>Remember those credentials forever</strong>, remember them until I log out of my Linux system, or simply forget them immediately after accessing the folder.</p><p>I recommend choosing <strong>Remember forever</strong> if you’re at home, on your private network, and you’re the only person using your computer, or you trust everyone who does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*Qo-t2idD_X3cQXvZDv402Q.png" /><figcaption>Screenshot of the contents of the shared folder</figcaption></figure><p>And here we are, inside our shared folder. The image file I placed there (a cool retro Linux wallpaper) is immediately visible. I also see that it has 49,5 GB of free space.</p><p>I can add, change or remove any files I want, and for the purpose of this article, I’m going to add another file to it, and then try to access it from a Windows computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*2RgHAhqzNbSZoygRk7FqiQ.png" /><figcaption>Screenshot of the new contents of the shared folder</figcaption></figure><h4>Windows</h4><p>I opened Windows Explorer, manually entered my server’s address, \\192.168.7.195, and pressed Enter. A few moments later, a pop-up window prompted me to enter my credentials for the shared folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNj-6Scmda4YG8lf2mDf4w.png" /><figcaption>Screenshot of Windows Explorer asking for my credentials (in Portuguese)</figcaption></figure><p>After entering my credentials (the Samba user credentials), it displayed all the available shared folders on that IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AVQf0o0HeWCywztyrvYhjA.png" /><figcaption>Screenshot of Windows Explorer showing the NBShare folder</figcaption></figure><p>I can see the <strong>NBShare</strong> folder. Double-clicking it opens the folder and shows me its contents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOYnEykHnXpGsX5Ye4dJag.png" /><figcaption>Screenshot of the contents of the shared folder</figcaption></figure><p>As you can see, both files are present: the one we first added to CasaOS for testing, and another one we added later via a Linux file explorer. Everything works flawlessly!</p><p>And don’t worry, whenever you reboot you netbook, or turn it on again after a power failure, the system will automatically restore its previous state regarding all your current shares. No need for you to fiscally log into it, as everything works in background.</p><h3>Last thoughts</h3><p>Once you have everything set up, maintaining it is almost effortless. You just need to make sure it is powered on, update the system occasionally, and set up new shares whenever needed.</p><h4>Transfer speeds</h4><p>I tested uploading a 300 MB executable file to the server and got a transfer speed of around 8.9 Mb/s. Downloading the same file gave me speeds of around 9.3 Mb/s.</p><p>I then uploaded a folder containing hundreds of tiny files, each only a few KB in size. The transfer speeds were all over the place, never reaching more than 1.7 Mb/s. Downloading the same folder showed similar fluctuations, although it reached a maximum download speed of around 1.8 Mb/s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZSBYabM6Z7HeJn2cj2iwUA.png" /><figcaption>Screenshot of files being copied from the server to my computer via local network</figcaption></figure><p>Copying an 850 MB .mp4 movie to the server gave me upload speeds of around 7.3 Mb/s. Downloading the same movie gave me speeds of around 9.3 Mb/s, which, for this particular file, was more than enough bandwidth for remote streaming.</p><h4>Power draw</h4><p>In case you’re wondering, I checked how much power my netbook was drawing from the wall using a power meter. At idle, it consumed around 10 W (about the same as a regular LED light bulb), with the battery installed and the screen always on.</p><p>I then lowered the screen brightness to its minimum, and power consumption fell to around 9.3 W. I got the same result by physically removing the netbook’s battery, as it was already fully charged.</p><p>And, acting as a headless server, meaning with no screen or keyboard physically connected to it (although I had to partially open the netbook to achieve this), I was getting around 7.5 W at idle.</p><p>This isn’t the most optimised hardware for this task, as an SBC such as a Raspberry Pi 4 would likely be much more power-efficient. But your mileage may vary, as your netbook may have more efficient hardware than mine.</p><h3>Conclusion</h3><p>And that’s it. We’ve taken an old, otherwise forgotten netbook, installed Debian and CasaOS on it, turned it into a small home server, and made its storage available to both Linux and Windows computers on our network.</p><p>It’s not the fastest server in the world, nor is it the most power-efficient piece of hardware you could use for this job. But it works, it uses very little power, and, most importantly, it gives an old machine a new purpose instead of letting it gather dust in a drawer.</p><p>For me, that’s what this little project was really about. Not building the perfect home server, but making something useful out of hardware many of us already had.</p><p>And honestly… there’s something quite satisfying about looking at an old netbook and being able to say:</p><p><strong>“I built a thing.”</strong> 😂</p><p>Thanks for taking the time to read this article! I hope you found it useful, or perhaps even got a few ideas for some future project.</p><p>And if you enjoyed it, feel free to share it with someone who might find it useful too. Every read and every share is greatly appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0228ddc344" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Never Lose a 2FA Code Again! Here’s How]]></title>
            <link>https://gt-channel.medium.com/generate-your-2fa-codes-everywhere-you-need-to-15372059ed9a?source=rss-4b5274ef32e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/15372059ed9a</guid>
            <category><![CDATA[two-factor-authentication]]></category>
            <category><![CDATA[2fa-authentication]]></category>
            <category><![CDATA[proton]]></category>
            <category><![CDATA[foss]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[GT_]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 09:26:55 GMT</pubDate>
            <atom:updated>2026-09-23T09:35:23.703Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Using a secure cross-platform 2FA code generator app to sync between devices</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6FwPZ8zafNDx3K4NGUReDA.jpeg" /><figcaption>An AI rendered image symbolizing a cross platform 2FA app</figcaption></figure><p>A few years ago, when I first started using a two-factor authentication (2FA) app, I had a bit of a bumpy start… and, in fairness, it was entirely my own fault. I installed <a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2">Google Authenticator</a> on my smartphone and genuinely liked it. It was simple to use, and having my codes always with me felt like a small luxury.</p><p>I don’t quite recall why, but at some point I had to factory-reset that smartphone. In my naive innocence, I assumed the app was synced with my Google account, so imagine my surprise when I reinstalled it and realized every single code was gone. That meant resetting 2FA on every service I had it configured for, and it’s how I learned that some platforms really don’t make it easy to recover from a lost authenticator. To this day, there’s one account I still haven’t managed to get back into.</p><figure><img alt="AI generated image of a man almost falling from his chair looking in surprise at his smartphone" src="https://cdn-images-1.medium.com/max/1024/1*ueF6WeuqvZvA54NbAODNaA.jpeg" /></figure><p>After that experience, I switched to <a href="https://apps.apple.com/us/app/microsoft-authenticator/id983156458">Microsoft Authenticator</a> on my iPad, and it became my go-to app for every 2FA code I needed. Since the iPad rarely left the house, I felt safer… less risk of losing it, breaking it, or having to wipe it, and therefore less risk of going through that whole reset nightmare again. But one thing kept nagging at me: I needed a way to have my codes everywhere: on my iPad, my smartphone, and even my Linux computer. And then, <strong><em>there was light</em></strong>!</p><h3>The Solution</h3><p>In truth, I have been de-googling my life for quite some time, and despite having read that Google Authenticator now has the option to sync codes between devices as long as you are logged into your account, I wanted to move away from it. I wanted something open source, and secure, and that had support for Linux, and I found it… <a href="https://proton.me/authenticator">Proton Authenticator</a>!</p><p>In case you’ve never heard of <a href="https://proton.me/">Proton</a> before, here’s the quick version: it’s a Swiss company founded in 2014 by a group of scientists who met at <a href="https://home.cern/">CERN</a>, built on a simple idea: privacy should be the default, not a paid luxury. It all started with Proton Mail, which grew into one of the world’s largest encrypted email service, and the ecosystem kept expanding from there: Proton VPN, Proton Drive, Proton Calendar, Proton Pass, and, more recently, Proton Authenticator. Everything operates under strict Swiss privacy laws, and the company itself is backed by a non-profit foundation rather than advertisers or data brokers, which, these days, is a pretty rare thing to find.</p><p>That backstory matters more than it might seem. When you’re trusting an app with something as sensitive as your two-factor codes, as these are quite literally the keys to your private accounts, it makes a real difference who’s holding them, and under what rules. Choosing Proton wasn’t about picking <em>yet another authenticator app</em>, but about consolidating my digital life under one privacy-first ecosystem I already trusted with my email and other services, instead of scattering my most sensitive data across apps built by companies whose business model runs on collecting our data.</p><h3>The Android Setup</h3><p>Setting up Proton Authenticator was refreshingly easy. I downloaded and installed it via <a href="https://play.google.com/store/apps/details?id=proton.android.authenticator">Google Play</a>, and after a few taps, I was ready to go.</p><p>You can use the app as a standalone 2FA generator without logging into a Proton account, but then you’d be missing out on synchronization, one of the features I was most eager to try. So the first thing I did was log into my account. From there, I went into the app’s settings and enabled a handful of features that best suited my needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*HcG4ei3TvjKz15U_5aPR1A.jpeg" /></figure><p>The first one to enable was obvious to me: <strong>Sync between devices</strong>. It was the feature I cared about the most. And don’t worry if you haven’t set up an account yet, as toggling this switch on will prompt you to log in or create one right there. I turned on biometric <strong>App lock</strong>, switched the <strong>Theme</strong> to the <em>dark side</em>, and the last one was <strong>Sorting</strong> my cards alphabetically, from A to Z. And that’s it.</p><p>Once I migrated all my accounts individually, it was time to properly take a glance at the main screen. The dashboard itself is refreshingly clean: all my codes appear as cards, there’s a <strong>+ icon</strong> to add new ones, a <strong>Settings icon</strong> in the top-right corner, and a <strong>Search bar</strong> at the bottom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*ijbltX3wLN-ESkO9EVmdpg.jpeg" /><figcaption>Screenshot of the Proton Authenticator code generator dashboard</figcaption></figure><h3>The Computer Setup</h3><p>I also wanted these codes available on my computer , a laptop running <a href="https://linuxmint.com/">Linux Mint XFCE 22.3</a> (yeah, I’m a sucker for this distro). So I opened my browser, headed to <a href="https://proton.me/authenticator/download">Proton Authenticator’s download page</a>, and picked the <em>.deb</em> package, since my distro is Ubuntu/Debian-based.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ovCEGa8Yx0V-fwlhihC51w.png" /><figcaption>Screen capture of Proton Authenticator download page</figcaption></figure><p>Once installed, I ran it. Again, there wasn’t much to the process, it was just as straightforward. I logged into my Proton account using the same credentials from the Android app, and set everything up much the way I had there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*l5GsKx4JwqGCJVgnXHpuRw.png" /><figcaption>Screenshot of Proton Authenticator’s computer app</figcaption></figure><p>Again, the first thing I enabled was <strong>Sync between devices </strong>and set a password for the <strong>App lock</strong>, switched the <strong>Theme</strong> to the <em>dark side </em>again (sorry, Luke) and enabled <strong>Automatic backups</strong>, pointing them to a folder that I sync to a secure private cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*0h0Rnh6vApXwW07QBwhobA.png" /><figcaption>Screenshot of Proton Authenticator’s dashboard</figcaption></figure><p>Once again, kudos to Proton for keeping it simple. The dashboard is polished and in line with what we find in the Android version, intuitive and easy to read throughout.</p><p>The iPad was the last device I installed <a href="https://apps.apple.com/us/app/proton-authenticator/id6741758667">Proton Authenticator</a> on, following the same steps I’d taken on the other platforms. When I finished, and for my delight, I had all my 2FA codes synchronized between my smartphone, my computer and my tablet.</p><h3>Final Thoughts</h3><p>Because Proton Authenticator is available across so many devices and operating systems, it is a true cross-platform app.</p><p>As you can see, generating 2FA codes for your apps, wherever you are, is now a secure and easy-to-set-up process, so no more excuses for losing any 2FA codes ever again!</p><p>Thank you so much for reading this article. If you found it useful, feel free to share it with anyone you think might benefit from it too. And a big shoutout to <strong>Proton</strong> for giving the world such amazing tools, completely free!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15372059ed9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let CasaOS work for your Stremio TV App]]></title>
            <link>https://gt-channel.medium.com/let-casaos-work-for-your-stremio-tv-app-45ab23d246b7?source=rss-4b5274ef32e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/45ab23d246b7</guid>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[casaos]]></category>
            <category><![CDATA[stremio]]></category>
            <category><![CDATA[foss]]></category>
            <dc:creator><![CDATA[GT_]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 16:17:32 GMT</pubDate>
            <atom:updated>2026-09-18T07:44:59.445Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Put Stremio heavy lifting in your CasaOS home server, and let your Stremio client app run smoothly</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DI4Fr9C2gx3f4qRhKPgc-g.jpeg" /><figcaption>An AI generated cover portraying a home server working on the background for a smart TV</figcaption></figure><p>I tried to run Stremio on my Sony Android TV, but unfortunately — probably due to insufficient system RAM (only 2 GB) — the whole system became very unstable and laggy.</p><p>Since I already have a small Chuwi miniPC running as my home server with CasaOS, I decided to offload part of the work from the smart TV and move it to the server.</p><p>And in case you are wondering what Stremio is, you can check my video about it (in Portuguese, so enable English subtitles if needed).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWR1-6iXn3oU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWR1-6iXn3oU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWR1-6iXn3oU%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ef3d86424b5efbd5a5c0ff7dfc49943/href">https://medium.com/media/0ef3d86424b5efbd5a5c0ff7dfc49943/href</a></iframe><p>If you already have a small computer or an SBC like a Raspberry Pi acting as your home server with CasaOS, you just need to follow this guide to make it handle all the downloads and act as a Stremio server for your smart TV or Android Box.</p><p>But if you don’t know what CasaOS is, you can check my other video (in Portuguese, so enable English subtitles if needed).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfU9mCRHl5ys%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfU9mCRHl5ys&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfU9mCRHl5ys%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b6b1754411cf00d57d2ce5785eb6faff/href">https://medium.com/media/b6b1754411cf00d57d2ce5785eb6faff/href</a></iframe><h3>The Server side</h3><p>Let’s start from the server side. Open you CasaOS dashboard, and then click on the App Store.</p><p>In the search field, type Stremio. You’ll see the Stremio app appear below — just click on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iCDmI00t9UQr_9dBe53xrg.png" /><figcaption>Stremio app page inside CasaOS App Store</figcaption></figure><p>The image above shows the Stremio app page. In my case, it already displays a Launch button, but in yours you should see an Install button instead. Just click Install to install the app. Once the installation is finished, the app will appear on your dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EV8GwCHgdgDSdX82FIXjew.png" /><figcaption>CasaOS dashboard with Stremio installed</figcaption></figure><p>Perfect. Now that you have Stremio installed on your home server, click to open it.</p><p>The first thing you’ll need to do is log in. If you don’t have an account yet, just create one, it’s easy (you can check the video above if you have any doubts about the process). And depending on how you plan to use Stremio, adding the Torrentio addon is highly recommended (or even a must). Everything is explained in the video, so don’t worry.</p><p>Once you’re logged in, it’s time to make a few adjustments. Click on the Settings icon on the left and select the Streaming tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zhgjvCC-CAIJPHraihx76w.png" /><figcaption>Stremio settings opened on the Streaming tab</figcaption></figure><p>Notice the URL with the <strong>Online</strong> status? You’ll need to copy it, as this is the direct link to your Stremio server. In my case, the URL is <a href="http://192.168.7.180:8100/">http://192.168.7.180:8100/</a> (yours will likely have a different IP address).</p><p>Set the <strong>Cache size</strong> to <em>5 GB</em> or <em>10 GB</em> (depending on how much free space you usually have on your home server) and set the <strong>Torrent profile</strong> to <em>Fast</em>.</p><p>You can also set some default audio and subtitle preferences in the Interface tab, if you want.</p><p>And you’re done.</p><h3>The smart TV (or Android box) side</h3><p>Open your smart TV or Android box <strong>Google Play Store</strong>, and search for Stremio. Once you find it, install it just like any other app.</p><p>After installing Stremio, open the app and log in using the same credentials you used on your CasaOS Stremio server.</p><p>Once logged in, navigate to the Settings icon on the left sidebar and adjust the following settings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRzDJooaowsZRNqhbHiung.png" /><figcaption>Stremio settings inside the TV app opened on the Server tab</figcaption></figure><p>Paste the URL you copied from your server into the <strong>URL</strong> field (as you can see, mine matches the exact URL I copied earlier). Next, set the <strong>Torrent Profile</strong> to <em>Fast</em>, and disable <em>Run in the background</em> to free up precious RAM on your TV or Android box.</p><p>Also, if the option is available on your TV app, set the <strong>Cache size</strong> to <em>No caching</em> to ensure your device doesn’t fill up its internal storage over time.</p><p>And that’s it — you’re all set! Now you can enjoy your movies and series on Stremio while letting your home server do all the heavy lifting in the background.</p><h3>My TV (or Android box) is laggy with Stremio</h3><p>The Stremio app can be very resource-hungry, especially on devices with limited RAM. That was exactly my case, and here is how I fixed it.</p><p>I installed an app called <a href="https://play.google.com/store/apps/details?id=com.tv.remote.button.mapper.remap"><strong>Button Mapper TV</strong></a> from my Smart TV’s Google Play Store. This app allows you to assign specific actions to your remote control buttons.</p><p>Once installed, I had to grant it the required permissions. To do this, I went to <strong>Android TV Settings </strong>&gt;<strong> System </strong>&gt;<strong> Accessibility </strong>&gt;<strong> Button Mapper TV</strong> and toggled it <strong>On</strong>.</p><p>Inside the app, I set up a custom shortcut: <strong>Key number 111</strong> (the Exit button on my remote) &gt; <strong>Long Press</strong> &gt; <strong>System</strong> &gt; <strong>Manage Apps</strong>.</p><p><strong>What does this do?</strong> Whenever I long-press the <strong>EXIT</strong> button on my remote, it instantly opens the <strong>Manage Apps</strong> screen, allowing me to <strong>Force stop</strong> Stremio. This completely terminates any background processes it uses, keeping my Smart TV running as buttery smooth as ever.</p><p>I hope you found this guide helpful! If you did, feel free to share it ! It really helps me create more and better content in the future. Thank you for reading and being on the other side!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45ab23d246b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>