<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on Steve Wilson</title>
    <link>/tags/linux/</link>
    <description>Recent content in Linux on Steve Wilson</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 22 Aug 2026 22:18:19 +0100</lastBuildDate>
    <atom:link href="/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using AI to help do things</title>
      <link>/posts/using-ai-to-help-do-things/</link>
      <pubDate>Sat, 22 Aug 2026 22:18:19 +0100</pubDate>
      <guid>/posts/using-ai-to-help-do-things/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been using AI more and more, but not really in the way the breathless articles tend to describe it. I don&amp;rsquo;t ask it to go away and magically solve my life. Most of the time it&amp;rsquo;s more like having a technical assistant sat next to me who is very fast at reading, reasonably good at pattern matching, and occasionally far too confident.&lt;/p&gt;&#xA;&lt;p&gt;The pattern is usually the same. I provide the actual situation: logs, screenshots, code, command output, measurements, photos or whatever constraints apply. It suggests likely causes or next things to try. I test those on the real system, or against the thing I&amp;rsquo;m physically working on, then feed the result back. After a few rounds the conversation is no longer generic advice, it&amp;rsquo;s about the specific problem in front of me.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Firewalling lists of compromised hosts</title>
      <link>/sysadmin/firewalling-large-network-ip-lists/</link>
      <pubDate>Wed, 29 Jun 2022 21:01:28 +0000</pubDate>
      <guid>/sysadmin/firewalling-large-network-ip-lists/</guid>
      <description>&lt;p&gt;For a few days, on and off my mail server has been alerting with connection issues. Digging deeper I found that one of the blocklists I use to prevent compromised hosts connecting was having issues via DNS.&lt;/p&gt;&#xA;&lt;p&gt;Eventually I managed to get on to their &lt;a href=&#34;https://www.blocklist.de/&#34;&gt;website&lt;/a&gt; but didn&amp;rsquo;t see any mention of a problem, however I did notice they provided downloads for their lists. Initially I was considering using their rbldns zone files to create my own &lt;a href=&#34;https://en.wikipedia.org/wiki/Domain_Name_System-based_blocklist&#34;&gt;RBL&lt;/a&gt; service but a bit of research pointed me towards &lt;a href=&#34;https://ipset.netfilter.org/&#34;&gt;ipset&lt;/a&gt; to use a list of &lt;a href=&#34;https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing&#34;&gt;CIDR&lt;/a&gt; ranges in iptables.&lt;/p&gt;</description>
    </item>
    <item>
      <title>mythtv to sickrage/sickbeard</title>
      <link>/sysadmin/mythtv-to-sickragesickbeard/</link>
      <pubDate>Sun, 03 Sep 2017 16:12:53 +0000</pubDate>
      <guid>/sysadmin/mythtv-to-sickragesickbeard/</guid>
      <description>&lt;p&gt;As the better half was recording far too many of her lovely soap operas and filling up space on the provider&amp;rsquo;s DVR I&amp;rsquo;ve had to come up with a solution.&lt;/p&gt;&#xA;&lt;p&gt;Having a digital TV tuner card and a Linux computer that&amp;rsquo;s always on I configured MythTV to record various things, this dumps them to disk and I then use some magic scripts to process them for sickrage to then manage. Playback is done via Plex on the smart TV.&lt;/p&gt;</description>
    </item>
    <item>
      <title>grub2 embedding is not possible</title>
      <link>/sysadmin/grub2-embedding-is-not-possible/</link>
      <pubDate>Wed, 16 Oct 2013 18:13:10 +0000</pubDate>
      <guid>/sysadmin/grub2-embedding-is-not-possible/</guid>
      <description>&lt;p&gt;Well it seems it&amp;rsquo;s finally time to move my gentoo machine away from &amp;ldquo;grub legacy&amp;rdquo; and over to grub2.&lt;/p&gt;&#xA;&lt;p&gt;All was going well following the official &lt;a href=&#34;http://www.gentoo.org/doc/en/grub2-migration.xml&#34;&gt;instructions&lt;/a&gt; until after reboot and running the install to replace the MBR.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;grub2-install /dev/sda&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;At which point it spat out the error below.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/usr/sbin/grub2-bios-setup: warning: your core.img is unusually large.  It won&amp;#39;t fit in the embedding area.&#xA;/usr/sbin/grub2-bios-setup: error: embedding is not possible, but this is required for RAID and LVM install.&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It turns out this is because the disk partion was created when it started at the 63rd sector, recently limitations were found with this and it&amp;rsquo;s increased to 2048 in most distros.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nagios mysql connection count plugin.</title>
      <link>/sysadmin/nagios-mysql-connection-count-plugin/</link>
      <pubDate>Sat, 14 May 2011 16:45:24 +0000</pubDate>
      <guid>/sysadmin/nagios-mysql-connection-count-plugin/</guid>
      <description>&lt;p&gt;Lastnight I switched apache from MPM-prefork to MPM-worker, all worked well.&lt;/p&gt;&#xA;&lt;p&gt;It wasn&amp;rsquo;t actually all well, I discovered that some 3rd party php code was using mysql_pconnect which wasn&amp;rsquo;t disconnecting from the server, so a couple of tweaks to my.cnf and all was looking good again. This left me with a problem, was it really OK and will it remain so?&lt;/p&gt;&#xA;&lt;p&gt;Thus I decided that I should monitor the connections via nagios. Great I found a perl script over &lt;a href=&#34;http://bergs.biz/blog/2007/05/08/monitor-number-of-active-connections-to-mysql-using-nagios/&#34; title=&#34;Monitor number of active mysql connections using nagios&#34;&gt;here&lt;/a&gt; and gave it the once over. One surprise was that rather than using perl to connect to sql and get the connections it was actually dropping to shell and then parsing the output, had this being pure perl and not dropping to shell I might have left it there, however this is me and not having written a plugin I thought it was about time.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Return to Castle Wolfenstein (RTCW) “infostring” Problem</title>
      <link>/sysadmin/return-to-castle-wolfenstein-rtcw-infostring-problem/</link>
      <pubDate>Mon, 19 Apr 2010 22:24:18 +0000</pubDate>
      <guid>/sysadmin/return-to-castle-wolfenstein-rtcw-infostring-problem/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;/sw/rtcw.jpg&#34; alt=&#34;Return to Castle Wolfenstein (RTCW) “infostring” Problem&#34;&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;OK so I&amp;rsquo;ve been helping out for a while with a few wolf (RTCW) servers and the odd Enemy Territory (ET) one.&lt;/p&gt;&#xA;&lt;p&gt;As these servers are monitored and statistics etc. produced regularly I started receiving alert emails that there were problems, not with just one but all of them.&lt;/p&gt;&#xA;&lt;p&gt;Log investigation kept coming up with:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Info string length exceeded&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;It seems we&amp;rsquo;d a script kiddie playing with q3infoboom or similar, there&amp;rsquo;s only one way to deal with these kids and that&amp;rsquo;s to swat them like flies.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
