<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>irgendwr</title><link>https://iwr.sh/</link><description>Recent content on irgendwr</description><generator>Hugo -- gohugo.io</generator><copyright>&lt;a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">CC BY 4.0&lt;/a></copyright><lastBuildDate>Mon, 26 Jul 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://iwr.sh/index.xml" rel="self" type="application/rss+xml"/><item><title>How (not) to fuck up a fan replacement</title><link>https://iwr.sh/posts/fan-replacement-story/</link><pubDate>Mon, 26 Jul 2021 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/fan-replacement-story/</guid><description>&lt;p>I bought a used PoE network switch that comes with very loud fans, which is not exactly ideal for my &amp;ldquo;homelab&amp;rdquo; environment, so I decided to switch out the fans. First I opened up the switch and looked looked up the datasheet for the three fans in it: 1x &lt;a href="https://www.delta-fan.com/AFB0412LB-F00.html" target="_blank" rel="noreferrer noopener external">AFB0412LB&lt;/a>, 2x &lt;a href="https://www.delta-fan.com/EFB0412VHD-F00.html" target="_blank" rel="noreferrer noopener external">EFB0412VHD&lt;/a>. The specifications list an airflow of ~11 m³/h &lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> and ~17 m³/h.&lt;/p>
&lt;p>As a replacement I ordered three &lt;a href="https://noctua.at/en/nf-a4x20-flx" target="_blank" rel="noreferrer noopener external">Noctua NF-A4x20&lt;/a> fans with an airflow of 9,4 m³/h. While this is lower than the airflow of the original fans it should be fine since I&amp;rsquo;m only using PoE on a couple of ports, so the powersupply isn&amp;rsquo;t under a high load.&lt;/p>
&lt;p>After the fans arrived I was happy to notice that the fan headers on the switch were standard 3 pin fan connectors, so I didn&amp;rsquo;t have to build some sort of adapter for the new fans.&lt;/p>
&lt;p>Here is where I fucked up.&lt;/p>
&lt;p>Can you spot the problem in the picture?&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/fan-replacement-story/images/01-fan-headers.jpg" alt="Close-up of hand holding two 3-pin fan headers. One has yellow, red, black cables, the other black, blue, red." />&lt;/p>
&lt;p>It&amp;rsquo;s very obvious in hindsight when you take a closer look at the colors of the cables. The original fan had a pinout of [12V, DATA, GND] while the standard fan pinout is [GND, 12V, DATA].&lt;/p>
&lt;p>I didn&amp;rsquo;t notice this at the time and turned on the switch. Nothing happened. That&amp;rsquo;s a very bad sign, so I turned it off and opened the case. Even though nothing looked &amp;ldquo;wrong&amp;rdquo; inside, it did smell a bit like burned electronics.&lt;/p>
&lt;p>Fortunately the switch still seems to work and the Noctua fans spin when given 12V. As for where the burned smell came from: My guess is that the circuitry inside the fans was damaged by getting -12V over the data line.&lt;/p>
&lt;p>After &lt;a href="https://twitter.com/irgendwr/status/1418271400402489344" target="_blank" rel="noreferrer noopener external">ranting about this on twitter&lt;/a> (most important step) someone offered me to use their oscilloscope to check the data line of the fans, so I did.&lt;/p>
&lt;p>Here are some pictures of the fancy looking 1740A HP oscilloscope:&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/fan-replacement-story/images/02-oscilloscope.jpg" alt="1740A HP oscilloscope with a line that has regular looking spikes" />
&lt;img src="https://iwr.sh/posts/fan-replacement-story/images/03-oscilloscope.jpg" alt="1740A HP oscilloscope with a line that has only a few small and irregular looking spikes" />&lt;/p>
&lt;p>Compared to the data signal of the original fan the ones of the three fans was much weaker and two of the three fans didn&amp;rsquo;t seem to produce any regular peaks that correspond to the RPM. This seems to confirm my suspicion that the speed sensor circuitry inside the fans got damaged.&lt;/p>
&lt;p>But that might not matter since the switch doesn&amp;rsquo;t control the speed of the fans, so I decided to build an adapter and use them anyway.&lt;/p>
&lt;p>Noctua includes a kit to splice together your own adapter, but I decided to use the low-noise adapters instead by shorting the resistor inside them and rearranging the pins to match the original fan pinout:&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/fan-replacement-story/images/04-fan-adapters.jpg" alt="Original fan header and three adapters" />&lt;/p>
&lt;p>Reinstalled the fans and&amp;hellip; it works \o/&lt;/p>
&lt;p>This decreased the noise of the switch from about 48.5 dB to 37 dB!
Still not silent, but a lot better than before.&lt;/p>
&lt;p>So in the end it worked out fine. I hope you got something out of this short story.&lt;/p>
&lt;section class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1" role="doc-endnote">
&lt;p>The datasheet has a typo in the metric airflow spec, this is the corrected value.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/section></description></item><item><title>TrueNAS Troubleshooting: "SID lookup for user failed" - How to Lookup Domain and User SID</title><link>https://iwr.sh/posts/truenas-smb-share-acl-domain/</link><pubDate>Sun, 21 Mar 2021 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/truenas-smb-share-acl-domain/</guid><description>&lt;h2 id="problem">Problem&lt;/h2>
&lt;p>I tried changing an SMB Share ACL from &amp;ldquo;Everyone&amp;rdquo; to a single user but wasn&amp;rsquo;t sure what to enter in the SID or domain field.&lt;/p>
&lt;p>The help text said:&lt;/p>
&lt;blockquote>
&lt;p>Local users have the SMB server NetBIOS name: &lt;code>freenas\\smbusers&lt;/code>&lt;/p>
&lt;/blockquote>
&lt;p>And the documentation said it was &lt;code>truenas\\smbusers&lt;/code>.&lt;/p>
&lt;p>But neither worked an caused the following error:&lt;/p>
&lt;blockquote>
&lt;p>CallError [EFAULT] SID lookup for &lt;code>freenas\\smbusers\user&lt;/code> failed: failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name &lt;code>freenas\\smbusers\user&lt;/code>&lt;/p>
&lt;/blockquote>
&lt;h2 id="solution">Solution&lt;/h2>
&lt;p>To lookup the local domain I ran &lt;code>net getlocalsid&lt;/code> as root and got:&lt;/p>
&lt;blockquote>
&lt;p>SID for domain &lt;strong>TRUENAS&lt;/strong> is: &lt;em>[&amp;hellip;]&lt;/em>&lt;/p>
&lt;/blockquote>
&lt;p>So this means I need to enter &lt;code>TRUENAS&lt;/code> as the domain.
When also setting the username and saving it automatically fills out the SID.&lt;/p>
&lt;p>Additionally the user SIDs can be listed with: &lt;code>net usersidlist&lt;/code>&lt;/p></description></item><item><title>Windows: Remove Stuck Print Job</title><link>https://iwr.sh/posts/windows-remove-stuck-print-job/</link><pubDate>Sun, 07 Mar 2021 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/windows-remove-stuck-print-job/</guid><description>&lt;p>Sometimes a print job fails, gets stuck and prevents other print jobs from compleating. If this ever happens to you, here is a list of possible solutions.&lt;/p>
&lt;h2 id="1-cancel-print">1. Cancel Print&lt;/h2>
&lt;p>In the settings, go to Devices -&amp;gt; Printers &amp;amp; scanners and click &amp;ldquo;Open queue&amp;rdquo; on your printer&amp;hellip;&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/windows-remove-stuck-print-job/images/windows_print_settings.png" alt="" />&lt;/p>
&lt;p>&amp;hellip;and cancel the print job.&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/windows-remove-stuck-print-job/images/windows_print_cancel.png" alt="" />&lt;/p>
&lt;h2 id="2-reboot">2. Reboot&lt;/h2>
&lt;p>Try rebooting the printer, as well as the computer, this may remove stuck print jobs in some cases.&lt;/p>
&lt;h2 id="3-manually-delete-print-job">3. Manually Delete Print Job&lt;/h2>
&lt;p>If all of the aforementioned solutions fail, then delete the print job manually.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Open the command prompt as administrator by pressing the Windows key and searching for &amp;ldquo;cmd&amp;rdquo;, right-clicking and selecting &amp;ldquo;Run as administrator&amp;rdquo;.&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/windows-remove-stuck-print-job/images/windows_cmd_as_admin.png" alt="" />&lt;/p>
&lt;/li>
&lt;li>
&lt;p>In the command prompt run &lt;code>net stop spooler&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open the explorer and navigate to &lt;code>C:\Windows\System32\spool\PRINTERS&lt;/code>&lt;/p>
&lt;p>You may need to confirm this:&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/windows-remove-stuck-print-job/images/windows_print_permission.png" alt="" />&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Delete the files.&lt;/p>
&lt;p>&lt;img src="https://iwr.sh/posts/windows-remove-stuck-print-job/images/windows_print_delete.png" alt="" />&lt;/p>
&lt;/li>
&lt;li>
&lt;p>In the command prompt run &lt;code>net start spooler&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Wait for the print service to restart.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>This should clear every print job.&lt;/p></description></item><item><title>Digitize Videocassettes with Open Source Software</title><link>https://iwr.sh/posts/digitize-video-cassettes/</link><pubDate>Mon, 08 Feb 2021 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/digitize-video-cassettes/</guid><description>&lt;p>If you own an old camcorder and are looking into digitizing your DVC/MiniDV or VHS cassettes then you came to the right place. In this guide I&amp;rsquo;ll show you how I digitized my old MiniDV cassettes using open source software on Linux. This also works similarly on Windows and Mac OSX.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;p>You will need&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Videocassette(s) such as &lt;a href="https://en.wikipedia.org/wiki/DV#Magnetic_tape" target="_blank" rel="noreferrer noopener">DVC/MiniDV&lt;/a> or &lt;a href="https://en.wikipedia.org/wiki/VHS" target="_blank" rel="noreferrer noopener">VHS&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Camcorder or videocassette player&lt;/p>
&lt;p>This is required to play back your videocassettes. You may need an adapter to output audio/video to an &lt;a href="https://en.wikipedia.org/wiki/RCA_connector" target="_blank" rel="noreferrer noopener">RCA&lt;/a> or &lt;a href="https://en.wikipedia.org/wiki/S-Video" target="_blank" rel="noreferrer noopener">S-Video&lt;/a> connector.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Capture device such as &amp;ldquo;EasyCap Capture&amp;rdquo;&lt;/p>
&lt;p>There are a lot of different devices with the same name. See linuxtv.org wiki page on &lt;a href="https://linuxtv.org/wiki/index.php/Easycap" target="_blank" rel="noreferrer noopener">EasyCAP&lt;/a> or other &lt;a href="https://linuxtv.org/wiki/index.php/Video_via_USB" target="_blank" rel="noreferrer noopener">video via USB devices&lt;/a>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Computer with USB 2.0 (or better)&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="digitization">Digitization&lt;/h2>
&lt;ol start="0">
&lt;li>
&lt;p>Install drivers if necessary&lt;/p>
&lt;p>Most capture devices should work out of the box on recent Linux kernels. See linuxtv.org wiki page on &lt;a href="https://linuxtv.org/wiki/index.php/Easycap" target="_blank" rel="noreferrer noopener">EasyCAP&lt;/a> or other &lt;a href="https://linuxtv.org/wiki/index.php/Video_via_USB" target="_blank" rel="noreferrer noopener">video via USB devices&lt;/a>.&lt;/p>
&lt;p>On Windows and Mac OSX, follow the devices included instructions or install the included drivers.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Install &lt;a href="https://obsproject.com/download" target="_blank" rel="noreferrer noopener">OBS Studio&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Configure OBS&lt;/p>
&lt;p>Add your capture device as a &amp;ldquo;video capture device&amp;rdquo; and &amp;ldquo;audio capture device&amp;rdquo; to the sources.&lt;/p>
&lt;p>In the settings under the &lt;code>Video&lt;/code> section set the base and output resolution to your device resolution. In my case I used &lt;code>720x576&lt;/code> for 576i. You might also want to change the &lt;code>Output&lt;/code> settings. I used the &amp;ldquo;Indistinguishable Quality&amp;rdquo; recording quality preset, mkv format and hardware (NVENC) encoder.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Record&lt;/p>
&lt;ol>
&lt;li>Rewind the tape to the beginning.&lt;/li>
&lt;li>Start the recording and play the cassette.&lt;/li>
&lt;li>Wait until the tape ends and then stop the recording.&lt;/li>
&lt;/ol>
&lt;/li>
&lt;li>
&lt;p>Edit and &lt;a href="https://en.wikipedia.org/wiki/Deinterlacing" target="_blank" rel="noreferrer noopener">deinterlace&lt;/a> the video&lt;/p>
&lt;p>To edit the videos (eg. trim start/end or normalize audio) I use &lt;a href="https://kdenlive.org/en/download/" target="_blank" rel="noreferrer noopener">Kdenlive&lt;/a>. It also allows you to deinterlace, but if that doesn&amp;rsquo;t work for you, do the following:&lt;/p>
&lt;ul>
&lt;li>Edit the clip properties and set &amp;ldquo;scanning&amp;rdquo; to &amp;ldquo;interlaced&amp;rdquo; and &amp;ldquo;field order&amp;rdquo; to &amp;ldquo;bottom first&amp;rdquo;.&lt;/li>
&lt;li>In the &amp;ldquo;Render&amp;rdquo; settings under &amp;ldquo;more options&amp;rdquo;, set &amp;ldquo;scanning&amp;rdquo; to &amp;ldquo;force progressive&amp;rdquo;.&lt;/li>
&lt;/ul>
&lt;p>If you prefer, you can deinterlace the video using &lt;a href="https://ffmpeg.org/" target="_blank" rel="noreferrer noopener">ffmpeg&lt;/a>s &lt;a href="https://ffmpeg.org/ffmpeg-filters.html#yadif-1" target="_blank" rel="noreferrer noopener">yadif filter&lt;/a> instead: &lt;code>ffmpeg -i input.mkv -vf yadif output.mp4&lt;/code>&lt;/p>
&lt;/li>
&lt;/ol></description></item><item><title>How to join a Plex server</title><link>https://iwr.sh/plex-first-steps/</link><pubDate>Fri, 29 Jan 2021 00:00:00 +0000</pubDate><guid>https://iwr.sh/plex-first-steps/</guid><description>&lt;p>&lt;em>This guide is intended for friends that I invite to join my Plex server but might also be useful to other people.&lt;/em>&lt;/p>
&lt;h2 id="what-is-plex">What is Plex?&lt;/h2>
&lt;p>Plex is a streaming service that allows you to to self-host and share your own media (video, audio and photos) with support for fetching metadata for movies, shows and songs. Plex provides multiple ways of accessing content, such as a &lt;a href="https://app.plex.tv" target="_blank" rel="noreferrer noopener external">web client&lt;/a> and &lt;a href="https://www.plex.tv/media-server-downloads/#plex-app" target="_blank" rel="noreferrer noopener external">apps for many devices&lt;/a>.&lt;/p>
&lt;h3 id="what-does-it-cost">What does it cost?&lt;/h3>
&lt;p>TL;DR: The &lt;strong>web client and basic features are free&lt;/strong>, apps can be unlocked for a one time payment (~5€) each and additional features require a subscription.&lt;/p>
&lt;blockquote>
&lt;p>The basic functionality of Plex is completely free, which includes playback of anything on your server, as well as podcasts, news, and web shows. Plex mobile apps require being unlocked (through an in-app purchase or a Plex Pass subscription), and premium features are restricted to those with an active &lt;a href="https://www.plex.tv/plex-pass/" target="_blank" rel="noreferrer noopener external">Plex Pass&lt;/a> subscription.&lt;/p>
&lt;/blockquote>
&lt;p>More details can be found &lt;a href="https://support.plex.tv/articles/202526943-plex-free-vs-paid/" target="_blank" rel="noreferrer noopener external">here&lt;/a>.&lt;/p>
&lt;h2 id="so-how-do-i-join">So how do I join?&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Create a Plex account&lt;/p>
&lt;p>Go to &lt;a href="https://www.plex.tv/" target="_blank" rel="noreferrer noopener external">plex.tv&lt;/a> and click &amp;ldquo;Sign Up&amp;rdquo;.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Request an invite to my server.&lt;/p>
&lt;p>Send me a message with the e-mail address that you used to create your Plex account.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Wait for the invite.&lt;/p>
&lt;p>You should receive an e-mail from Plex once it&amp;rsquo;s done. Click on &amp;ldquo;I accept the invitation&amp;rdquo;.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open &lt;a href="https://plex.boegle.me" target="_blank" rel="noreferrer noopener external">my Plex web client&lt;/a> and sign in.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;h3 id="the-default-settings-are-dumb">The default settings are dumb&lt;/h3>
&lt;p>&amp;hellip;let&amp;rsquo;s fix them.&lt;/p>
&lt;p>Plex provides shitty content and questionable &amp;ldquo;news&amp;rdquo; by default while hiding the things that we actually want to access.&lt;/p>
&lt;p>Navigate to the settings (tools icon in the top right) and change the following things to your liking:&lt;/p>
&lt;ul>
&lt;li>&lt;code>Plex Web &amp;gt; General &amp;gt; Language&lt;/code> Set your preferred interface language&lt;/li>
&lt;li>&lt;code>Plex Web &amp;gt; General &amp;gt; Time Format&lt;/code> I need at least 24 hours&lt;/li>
&lt;li>&lt;code>Plex Web &amp;gt; Quality &amp;gt; Video quality&lt;/code> I recommend &amp;ldquo;8 Mbps, 1080p&amp;rdquo;, do not set it too high&lt;/li>
&lt;li>&lt;code>Online Media Sources&lt;/code> ❗ Please set everything to &amp;ldquo;disabled&amp;rdquo;. This is not useful.&lt;/li>
&lt;li>&lt;code>Account &amp;gt; Language&lt;/code> Set your preferred interface language (again, because it was so much fun last time)&lt;/li>
&lt;li>&lt;code>Account &amp;gt; Audio &amp;amp; Subtitle Settings&lt;/code> Set your preferred content language and configure when subtitles are shown&lt;/li>
&lt;li>&lt;code>Account &amp;gt; Username&lt;/code> Usernames are nicer than e-mails, but it&amp;rsquo;s optional&lt;/li>
&lt;li>&lt;code>Account &amp;gt; Newsletter&lt;/code> No, thanks.&lt;/li>
&lt;/ul>
&lt;p>Afterwards go to the home page. Click on &amp;ldquo;More&amp;rdquo; and pin categories under the header &amp;ldquo;irgendwr NAS&amp;rdquo; that you want to access (such as Movies and Shows), unpin everything that you are not interested in.&lt;/p>
&lt;p>You should now have a usable interface. Feel free to ask me for help if anything is unclear.&lt;/p>
&lt;p>Note: Quality, audio language and subtitles can be changed individually while watching something (settings icon in the bottom right).&lt;/p>
&lt;h3 id="additional-comments">Additional comments&lt;/h3>
&lt;p>It would be nice if you could provide interesting &lt;em>(to you or other participating people)&lt;/em> content to increase our collection &lt;em>(preferably high definition, but whatever)&lt;/em>. We can always remove content that no one is interested in later, in case storage is full.&lt;/p>
&lt;p>If you want to also access my/our e-book collection: send me a message (and optionally also e-books).&lt;/p></description></item><item><title>Mount External Drive in TrueNAS</title><link>https://iwr.sh/posts/truenas-mount-external-drive/</link><pubDate>Sun, 20 Dec 2020 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/truenas-mount-external-drive/</guid><description>&lt;p>TrueNAS provides a tool to &lt;a href="https://www.truenas.com/docs/hub/initial-setup/storage/importdisk/" target="_blank" rel="noreferrer noopener external">import all data from a disk into a TrueNAS dataset&lt;/a> (this currently supports UFS, NTFS, MSDOSFS and EXT2FS).
However, if you only want to copy part of the data from a disk instead, follow this guide on how to mount an external disk on a TrueNAS system.&lt;/p>
&lt;ol start="0">
&lt;li>
&lt;p>Connect your disk.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open a Shell (either via the web interface or SSH) and enter the following commands (use &lt;code>sudo&lt;/code> if you are not root).&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Load the fuse kernel module:&lt;/p>
&lt;ul>
&lt;li>TrueNAS 13 or later: &lt;code>kldload fusefs&lt;/code>&lt;/li>
&lt;li>On older versions: &lt;code>kldload fuse&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>Look for your drive and partition: &lt;code>gpart show&lt;/code>&lt;/p>
&lt;p>Drives added thrugh TrueNAS typically start with &lt;code>ada&lt;/code>, so in this case you are probably looking for drives starting with &lt;code>da&lt;/code>, such as &lt;code>da0&lt;/code>. Check for drives that match the expected size, in my case I&amp;rsquo;m looking for a ~4TB drive.&lt;/p>
&lt;p>Example output:&lt;/p>
&lt;pre tabindex="0">&lt;code>=&amp;gt; 34 7814037100 da0 GPT (3.6T)
34 262144 1 ms-reserved (128M)
262178 2014 - free - (1.0M)
264192 7813771264 2 ms-basic-data (3.6T)
7814035456 1678 - free - (839K)
&lt;/code>&lt;/pre>&lt;p>From the output above I can tell that my data is in &lt;code>da0p2&lt;/code> (&lt;code>p2&lt;/code> means partition 2) and the filesystem is NTFS.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Create a mount point: &lt;code>mkdir /mnt/extdrive&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Mount disk/partition:&lt;/p>
&lt;p>In my case I use &lt;code>ntfs-3g -o ro /dev/da0p2 /mnt/extdrive&lt;/code> because my external drive uses the NTFS filesystem. &lt;code>-o ro&lt;/code> makes the drive read-only.&lt;/p>
&lt;p>You may be able to mount other filesystems using the &lt;code>mount&lt;/code> command in a similar way.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>If everything went right then your should be able to access the drive &lt;code>cd /mnt/extdrive&lt;/code> and list its contents &lt;code>ls -lah&lt;/code>. You can now copy files or folders into your existing datasets using &lt;code>cp&lt;/code>.&lt;/p></description></item><item><title>Fix Missing Textures in Garry's Mod</title><link>https://iwr.sh/posts/gmod-fix-textures/</link><pubDate>Fri, 20 Nov 2020 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/gmod-fix-textures/</guid><description>&lt;p>If you&amp;rsquo;re seeing error signs and pink/black squares while playing on a Garry&amp;rsquo;s Mod server you may be missing the required textures.
Many maps designed for Garry&amp;rsquo;s Mod are based on textures from Counter Strike: Source. Either buy, install and enable &lt;a href="https://store.steampowered.com/app/240/CounterStrike_Source/" target="_blank" rel="noreferrer noopener">CS:S&lt;/a> or follow the guide below to install the missing textures.&lt;/p>
&lt;h2 id="install-textures">Install Textures&lt;/h2>
&lt;ol>
&lt;li>Download &lt;a href="https://mega.nz/file/YlIGGLoI#uC5FS6zwh-eYVSad7IE8jCuB5IR_Ep62BEwIfAvTZso" target="_blank" rel="noreferrer noopener">css_content.zip&lt;/a>&lt;/li>
&lt;li>Extract the zip file&lt;/li>
&lt;li>Open the Garry&amp;rsquo;s Mod addons folder:
&lt;ol>
&lt;li>Open Steam and navigate to &amp;ldquo;Library&amp;rdquo;&lt;/li>
&lt;li>Right click on &amp;ldquo;Garry&amp;rsquo;s Mod&amp;rdquo;, click on &amp;ldquo;Properties&amp;rdquo;
&lt;img src="https://iwr.sh/posts/gmod-fix-textures/images/gmod_properties.png" alt="" />&lt;/li>
&lt;li>Navigate to &amp;ldquo;Local Files&amp;rdquo;, click on &amp;ldquo;Browse Local Files&amp;rdquo;
&lt;img src="https://iwr.sh/posts/gmod-fix-textures/images/gmod_properties2.png" alt="" />&lt;/li>
&lt;li>Now a file explorer should open up&lt;/li>
&lt;li>Enter the &lt;code>garrysmod&lt;/code> folder, then open the &lt;code>addons&lt;/code> folder inside that&lt;/li>
&lt;/ol>
&lt;/li>
&lt;li>Move the CSS Content folder (from step 2) to the &lt;code>addons&lt;/code> folder&lt;/li>
&lt;li>Now relaunch Garry&amp;rsquo;s Mod and the textures should be fixed&lt;/li>
&lt;/ol>
&lt;p>&lt;em>Credit for creating the CSS Content addon goes to Kajar9. His original files and tutorials are available &lt;a href="https://kajar9.wixsite.com/cscheater2/downloads" target="_blank" rel="noreferrer noopener nofollow external">here&lt;/a>.&lt;/em>&lt;/p></description></item><item><title>Example</title><link>https://iwr.sh/posts/example/</link><pubDate>Sat, 15 Aug 2020 00:00:00 +0000</pubDate><guid>https://iwr.sh/posts/example/</guid><description>&lt;h2 id="lorem-ipsum">Lorem Ipsum&lt;/h2>
&lt;p>This is just a placeholder post.&lt;/p>
&lt;pre tabindex="0">&lt;code>$ iwr.sh
&lt;/code>&lt;/pre></description></item><item><title>About</title><link>https://iwr.sh/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://iwr.sh/about/</guid><description>&lt;h2 id="me">Me&lt;/h2>
&lt;p>Hi there, 👋&lt;/p>
&lt;p>my name is Jona. I work at Adobe on the &lt;a href="https://www.adobe.com/products/photoshop-lightroom.html">Lightroom&lt;/a> iOS app and maintain/contribute to open source projects in my spare time. My most popular projects include&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://github.com/irgendwr/TelegramAlert">TelegramAlert&lt;/a> - Telegram Plugin for Graylog&lt;/li>
&lt;li>Various &lt;a href="https://github.com/irgendwr/sinusbot-scripts">scripts for the SinusBot&lt;/a>, &lt;a href="https://github.com/SinusBot/docs">SinusBot documentation&lt;/a> and &lt;a href="https://github.com/SinusBot/scripting-docs">SinusBot scripting documentation&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>You can find more on my &lt;a href="https://github.com/irgendwr">GitHub&lt;/a> page.&lt;/p>
&lt;p>Pronouns: they/any&lt;/p>
&lt;h2 id="this-site">This site&lt;/h2>
&lt;p>I use this small blog to share guides and other things that might be useful to someone or write about things that interest me. The posts mainly focus on software, technology and projects of mine.&lt;/p>
&lt;p>My own content hosted on this domain is – if not stated otherwise – licensed under &lt;a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer noopener">CC BY 4.0&lt;/a>.&lt;/p>
&lt;p>The site uses &lt;a href="https://gohugo.io" target="_blank" rel="noreferrer noopener">Hugo&lt;/a> and the theme is based on &lt;a href="https://github.com/rhazdon/hugo-theme-hello-friend-ng" target="_blank" rel="noreferrer noopener">Hello Friend NG&lt;/a>.&lt;/p>
&lt;h3 id="other-blogs">Other blogs&lt;/h3>
&lt;p>I host a couple of blogs for my friends, including:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://deinalptraum.iwr.sh/" target="_blank" rel="noreferrer noopener">DeinAlptraum&amp;#39;s Blog&lt;/a>:
Anime, programming, Japanese and more&lt;/li>
&lt;li>&lt;a href="https://hansimcklaus.iwr.sh/" target="_blank" rel="noreferrer noopener">HansiMcKlaus Blog&lt;/a>:
Anime, programming, writing, politics, games and woodwork&lt;/li>
&lt;/ul></description></item><item><title>Latest Comments</title><link>https://iwr.sh/latest-comments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://iwr.sh/latest-comments/</guid><description>
&lt;script>
{
const initTheme = window.localStorage &amp;&amp; window.localStorage.getItem("theme");
var remark_config = {
host: 'https://comments.iwr.sh',
site_id: 'irgendwr',
url: window.location.pathname,
components: ['embeded', 'last-comments'],
theme: initTheme||'dark',
locale: 'en',
}
}
!function(e,n){for(var o=0;o&lt;e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);
&lt;/script>
&lt;div class="remark42__last-comments" data-max="100">&lt;/div></description></item></channel></rss>