<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hacking on basg.nl</title><link>https://basg.nl/categories/hacking/</link><description>Recent content in Hacking on basg.nl</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 23 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://basg.nl/categories/hacking/index.xml" rel="self" type="application/rss+xml"/><item><title>Using Claude to convert my WordPress site to Hugo</title><link>https://basg.nl/posts/using-claude-to-convert-wordpress-to-hugo/</link><pubDate>Sat, 23 May 2026 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/using-claude-to-convert-wordpress-to-hugo/</guid><description>&lt;p&gt;I had been postponing this conversion for years. The old site worked, I didn&amp;rsquo;t have time, and I was expecting to need like a full day to set up Hugo, download the data, get it to convert, check if things worked. Classic &amp;ldquo;if it ain&amp;rsquo;t broke&amp;rdquo; reasoning while knowing full well it was going to bite me eventually.&lt;/p&gt;
&lt;p&gt;I had been working with Claude for a week, seeing it handle more and more complex tasks. Then it struck me — could it just do this chore for me?&lt;/p&gt;</description><content:encoded><![CDATA[<p>I had been postponing this conversion for years. The old site worked, I didn&rsquo;t have time, and I was expecting to need like a full day to set up Hugo, download the data, get it to convert, check if things worked. Classic &ldquo;if it ain&rsquo;t broke&rdquo; reasoning while knowing full well it was going to bite me eventually.</p>
<p>I had been working with Claude for a week, seeing it handle more and more complex tasks. Then it struck me — could it just do this chore for me?</p>
<p>And lo and behold, it did.</p>
<h2 id="what-actually-happened">What actually happened</h2>
<p>I pointed Claude at my live WordPress site and it figured out the rest. It hit the WordPress REST API directly — no plugins, no WXR export, no manual steps. It pulled all 100 posts going back to 2008, the pages, and the full media library in one go.</p>
<p>Then it wrote a conversion script that took the HTML content from the API, ran it through a proper HTML-to-Markdown converter, rewrote all the internal image URLs to local paths, and generated Hugo front matter with titles, dates, categories and cover images. It downloaded all the images from the live site and put them in the right place.</p>
<p>It picked PaperMod as the theme — clean, fast, auto dark/light mode, no JavaScript dependencies. I didn&rsquo;t ask for a specific theme, it just recommended one that made sense for a personal blog and set it up.</p>
<p>When the build threw deprecation warnings about some Hugo 0.158 template changes, it tracked them down to three templates inside the theme, overrode them locally so the submodule stayed untouched, and fixed them.</p>
<p>Start to finish, maybe an hour. Most of that was waiting for images to download.</p>
<h2 id="the-bit-that-still-surprises-me">The bit that still surprises me</h2>
<p>I expected to spend a day on this. The part I was most dreading — figuring out the WordPress export format, dealing with Jetpack&rsquo;s image CDN URLs, mapping category IDs to names, getting the Hugo front matter structure right — Claude just handled all of it without being asked. It looked at the API response, understood the structure, and did the right thing.</p>
<p>The images from old subdomains that no longer exist threw 400 errors. It logged them as warnings and kept going. That&rsquo;s exactly what I would have done manually, except I would have gotten frustrated first.</p>
<p>It&rsquo;s not magic. It&rsquo;s just that the task was well-defined enough that a capable tool could execute it. The chore was always doable, I just never had the patience to start.</p>
]]></content:encoded></item><item><title>Chat Guidelines</title><link>https://basg.nl/posts/chat-guidelines/</link><pubDate>Sun, 29 May 2016 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/chat-guidelines/</guid><description>&lt;p&gt;These are my personal guidelines when using chat, I&amp;rsquo;m putting them in writing to avoid confusion. Some things like ping and afk might look strange to those that missed the IRC age.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s mostly for one on one chats but they work with group chat&amp;rsquo;s most of the time if you use common sense. Available at any large retailer near you.&lt;/p&gt;
&lt;p&gt;To me a chat session is a permanent line between us, there are no goodbye&amp;rsquo;s just long AFK sessions like goodnight. It&amp;rsquo;s perfectly fine to suddenly stop in a conversation. It&amp;rsquo;s still there, if the other party really want&amp;rsquo;s a reply they can just send a question mark.&lt;/p&gt;</description><content:encoded><![CDATA[<p>These are my personal guidelines when using chat, I&rsquo;m putting them in writing to avoid confusion. Some things like ping and afk might look strange to those that missed the IRC age.</p>
<p>It&rsquo;s mostly for one on one chats but they work with group chat&rsquo;s most of the time if you use common sense. Available at any large retailer near you.</p>
<p>To me a chat session is a permanent line between us, there are no goodbye&rsquo;s just long AFK sessions like goodnight. It&rsquo;s perfectly fine to suddenly stop in a conversation. It&rsquo;s still there, if the other party really want&rsquo;s a reply they can just send a question mark.</p>
<h2 id="working-hours">Working hours</h2>
<p>During working hours my phone is on silent to keep my focus, I usually check for messages once every half our. So expect a delay. If I&rsquo;m running pomodor&rsquo;s then you will get a /afk - pomodoro from me meaning I&rsquo;m away for 25 minutes.</p>
<h2 id="the-ping">The ping</h2>
<p>Checking if you are there for friendly chat, just ping.</p>
<pre><code>Me: ping
You: pong
Me: Hey I just figured out a large problem...
</code></pre>
<h2 id="the-magic-">The magic .</h2>
<p>It&rsquo;s a lighter version of ping, mostly used to get a conversation going again when either party is distracted.</p>
<pre><code>Me: &lt;is typing for 15 minutes&gt;
You: .
Me: Oh, sorry got distracted, so as I was saying....
</code></pre>
<h2 id="the-puzzled-look-or-">The puzzled look or ?</h2>
<p>When I send just a question mark there are two options, either you just wrote something I don&rsquo;t understand and I would like you to rephrase it or go into detail or I asked something and didn&rsquo;t get a reply yet and I would really like to know.</p>
<pre><code>Me: I'm sapiosexual
You: ?
Me: To be aroused by intelligence




You: Do you have time this friday?
&lt;time passes&gt;
You: ?
Me: I'm a bit busy, I believe so will get back to it within the hour
</code></pre>
<h2 id="dealing-with-real-life-or-afk">Dealing with real life or AFK</h2>
<p>The real world doesn&rsquo;t care about our chat session, so if you suddenly need to pay attention to the real world just drop an AFK in the chat. Optionally you can put a reason behind it.</p>
<pre><code>Me: /AFK - Meeting
</code></pre>
]]></content:encoded></item><item><title>Fixing “Can’t add an inotify watch of /etc/config/rsync_schedule.conf error!: No Space left on device” on QNAP-419P</title><link>https://basg.nl/posts/fixing-cant-add-an-inotify-watch-of-etcconfigrsync_schedule-conf-error-no-space-left-on-device-on-qnap-419p/</link><pubDate>Sun, 08 Nov 2015 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/fixing-cant-add-an-inotify-watch-of-etcconfigrsync_schedule-conf-error-no-space-left-on-device-on-qnap-419p/</guid><description>&lt;p&gt;So, this issue seems to come back on my QNAP when using rsync for backup. It seems to be a bug that returns but the main issue is that the system doesn&amp;rsquo;t allow enough inotify watches resulting in this error.&lt;/p&gt;
&lt;p&gt;Best would be a good fix to avoid needing so much, but since we also want to get stuff done we are cheating our way out, by increasing the maximum.&lt;/p&gt;</description><content:encoded><![CDATA[<p>So, this issue seems to come back on my QNAP when using rsync for backup. It seems to be a bug that returns but the main issue is that the system doesn&rsquo;t allow enough inotify watches resulting in this error.</p>
<p>Best would be a good fix to avoid needing so much, but since we also want to get stuff done we are cheating our way out, by increasing the maximum.</p>
<p>First check the value on your current box, login as admin with ssh</p>
<pre><code># cat /proc/sys/fs/inotify/max_user_watches
65536
</code></pre>
<p>Nice, but a bit low, you can quickly raise it by updating the file</p>
<pre><code># echo &quot;655360&quot; &gt; /proc/sys/fs/inotify/max_user_watches
# cat /proc/sys/fs/inotify/max_user_watches
655360
</code></pre>
<p>So that&rsquo;s great, but on reboot it will reset. To make it permanent we will add it to the autorun.sh in the config partition. This example is for the P419+ but you might want to check the wiki about other versions.</p>
<p><a href="http://wiki.qnap.com/wiki/Running_Your_Own_Application_at_Startup">http://wiki.qnap.com/wiki/Running_Your_Own_Application_at_Startup</a></p>
<pre><code># mkdir /tmp/config
# mount -t ext2 /dev/mtdblock5 /tmp/config
# vim /tmp/config/autorun.sh
## This is where you add the above line in a small shellscript
# chmod 755 /tmp/config/autorun.sh
# umount /tmp/config
</code></pre>
<p>Now reboot and check if the value remains but repeating the first step.</p>
]]></content:encoded></item><item><title>Generate true unique server-id for mysql using puppet</title><link>https://basg.nl/posts/generate-true-unique-server-id-for-mysql-using-puppet/</link><pubDate>Mon, 01 Dec 2014 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/generate-true-unique-server-id-for-mysql-using-puppet/</guid><description>&lt;p&gt;I found a few solutions on the net, but people just attach the last 2 digits and I would like to avoid issues like this where 10.0.1.11 and 10.0.11.1 would both produce server-id 111.&lt;/p&gt;
&lt;p&gt;So to fix that, I seperate the IP and multiply the 3rd digit by a 1000.&lt;/p&gt;
&lt;p&gt;$serverid = inline_template(&amp;rsquo;&amp;lt;%= scope.lookupvar('::ipaddress').split('.')[2].to_i * 1000 + scope.lookupvar('::ipaddress').split('.')[3].to_i %&amp;gt;')&lt;/p&gt;</description><content:encoded><![CDATA[<p>I found a few solutions on the net, but people just attach the last 2 digits and I would like to avoid issues like this where 10.0.1.11 and 10.0.11.1 would both produce server-id 111.</p>
<p>So to fix that, I seperate the IP and multiply the 3rd digit by a 1000.</p>
<p>$serverid = inline_template(&rsquo;&lt;%= scope.lookupvar('::ipaddress').split('.')[2].to_i * 1000 + scope.lookupvar('::ipaddress').split('.')[3].to_i %&gt;')</p>
]]></content:encoded></item><item><title>Getting Portify to run on Ubuntu (13.04)</title><link>https://basg.nl/posts/getting-portify-to-run-on-ubuntu-13-04/</link><pubDate>Sat, 16 Nov 2013 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/getting-portify-to-run-on-ubuntu-13-04/</guid><description>&lt;p&gt;So, wife want&amp;rsquo;s to transfer from Spotify to Google Music. Luck would have it that there is a tool to do that.&lt;/p&gt;
&lt;h2 id="quick-disclaimer"&gt;Quick disclaimer,&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;These are the steps I did to get it to work on my Ubuntu 13.04 install&lt;/li&gt;
&lt;li&gt;Portify isn&amp;rsquo;t fully stable, it stopped/hanged a couple of times&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="preparing-ubuntu"&gt;Preparing ubuntu&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m building as my regular user, feel free to break/comprimise your system by running this is as root, I&amp;rsquo;m going to start with getting a current version of nodejs and build stuff&lt;/p&gt;</description><content:encoded><![CDATA[<p>So, wife want&rsquo;s to transfer from Spotify to Google Music. Luck would have it that there is a tool to do that.</p>
<h2 id="quick-disclaimer">Quick disclaimer,</h2>
<ul>
<li>These are the steps I did to get it to work on my Ubuntu 13.04 install</li>
<li>Portify isn&rsquo;t fully stable, it stopped/hanged a couple of times</li>
</ul>
<h2 id="preparing-ubuntu">Preparing ubuntu</h2>
<p>I&rsquo;m building as my regular user, feel free to break/comprimise your system by running this is as root, I&rsquo;m going to start with getting a current version of nodejs and build stuff</p>
<blockquote>
<p>sudo apt-add-repository ppa:chris-lea/node.js<br>
sudo apt-get update<br>
sudo apt-get install -y nodejs build-essential</p>
</blockquote>
<h2 id="fetching-source-code">Fetching Source code</h2>
<p>Once you got the basics setup, it&rsquo;s time to get a workdir and the code.</p>
<blockquote>
<h1 id="i-work-from-a-projects-folder-feel-free-to-build-in-any-location-you-like">I work from a Projects folder, feel free to build in any location you like</h1>
<p>cd ~/Projects<br>
git clone <a href="https://github.com/mauimauer/portify.git">https://github.com/mauimauer/portify.git</a><br>
cd portify</p>
</blockquote>
<h2 id="building-the-code">Building the code</h2>
<p>Now, the Readme tells me that npm install fetches all dependencies, this is a lie!, atleast for me. 🙂</p>
<blockquote>
<p>cd ./data<br>
npm install debug formidable methods<br>
npm install superagent socket.io-client connect<br>
npm install buffer-crc32 fresh range-parser<br>
npm install module cookie-signature cookie send<br>
npm install</p>
</blockquote>
<p>This should be enough to get it to build</p>
<h2 id="running-and-accessing-the-program">Running and accessing the program</h2>
<p>Portify is a deamon that runs as a web application, so to get things going you start it up</p>
<blockquote>
<p>cd ./data<br>
node app.js</p>
</blockquote>
<p>Now the only thing left to do is access it through your browser. So if it&rsquo;s running, just click this link <a href="http://127.0.0.1:3132">http://127.0.0.1:3132</a></p>
<h2 id="conclusion">Conclusion</h2>
<p>The tool helped me enough to port most playlists from Spotify to Google Music, but it&rsquo;s not always successfull. And installing is a bit tricky, hope this helps someone.</p>
]]></content:encoded></item><item><title>Autokey-GTK</title><link>https://basg.nl/posts/autokey-gtk/</link><pubDate>Thu, 18 Apr 2013 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/autokey-gtk/</guid><description>&lt;p&gt;I love playing with &lt;a href="https://code.google.com/p/autokey/"&gt;autokey-gtk&lt;/a&gt;, as it saves me a lot of keystrokes and helps improve my workflow. It&amp;rsquo;s also the main reason I will not be switching to any other OS like ChromeOS&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll try and post a few of my scripts once in awhile, it uses python code so sky&amp;rsquo;s the limit.&lt;/p&gt;
&lt;h3 id="copy-text-filter-out-jira-ticket-and-open-in-new-tab"&gt;Copy text, filter out jira ticket and open in new tab&lt;/h3&gt;
&lt;p&gt;This script selects all text, copies it to clipboard and then searches for a jira ticket. Once found, open a new tab, and paste the Jira URL.&lt;/p&gt;</description><content:encoded><![CDATA[<p>I love playing with <a href="https://code.google.com/p/autokey/">autokey-gtk</a>, as it saves me a lot of keystrokes and helps improve my workflow. It&rsquo;s also the main reason I will not be switching to any other OS like ChromeOS</p>
<p>I&rsquo;ll try and post a few of my scripts once in  awhile, it uses python code so sky&rsquo;s the limit.</p>
<h3 id="copy-text-filter-out-jira-ticket-and-open-in-new-tab">Copy text, filter out jira ticket and open in new tab</h3>
<p>This script selects all text, copies it to clipboard and then searches for a jira ticket. Once found, open a new tab, and paste the Jira URL.</p>
<p>(Siteops tickets start with SO-, adjust as needed)</p>
<pre><code>import time
import re
keyboard.send_keys(&quot;&lt;ctrl&gt;+a&quot;)
keyboard.send_keys(&quot;&lt;ctrl&gt;+c&quot;)
time.sleep(0.25)
text = clipboard.get_clipboard()
m = re.search(&quot;(SO-[0-9]+)&quot;, text)
if m:
 keyboard.send_keys(&quot;&lt;ctrl&gt;+t&quot;)
 keyboard.send_keys(&quot;https://jira/browse/%s&quot; % m.group(0))
 keyboard.send_keys(&quot;&lt;enter&gt;&quot;)
</code></pre>
<h3 id="gmail-to-doitim-or-any-other-mail-based-task-manager">GMail to doit.im or any other mail based task manager</h3>
<p>This one is simple, copy the URL from the browser and forward the mail to my task manager with the Gmail url pasted into it, that way I can always get back to the original mail when working on the task.</p>
<pre><code># Script to copy URL and forward mail with URL included
import time
keyboard.send_keys(&quot;&lt;ctrl&gt;+l&quot;)
time.sleep(0.25)
keyboard.send_keys(&quot;&lt;ctrl&gt;+c&lt;tab&gt;f&quot;)
time.sleep(0.25)
keyboard.send_keys(&quot;changeme@doitim.in&lt;tab&gt;&quot;)
time.sleep(0.50)
keyboard.send_keys(&quot;&lt;tab&gt;&lt;tab&gt;&quot;)
time.sleep(0.25)
keyboard.send_keys(clipboard.get_selection())
time.sleep(0.50)
keyboard.send_keys(&quot;&lt;enter&gt;&lt;tab&gt;&quot;)
keyboard.send_key(&quot;&lt;enter&gt;&quot;)
</code></pre>
]]></content:encoded></item><item><title>Building a Hackintosh!</title><link>https://basg.nl/posts/building-a-hackintosh/</link><pubDate>Mon, 18 Jun 2012 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/building-a-hackintosh/</guid><description>&lt;p&gt;So, I hate Apple with a passion. They make great hardware, but you are limited in choice and if something breaks you can bet your sorry ass that your system is under repair for a couple of weeks. I run Ubuntu, thank you very much.&lt;/p&gt;
&lt;p&gt;But, my wife Maaike Appels has to work on a Mac, Lightroom/Photoshop isn&amp;rsquo;t available for Linux and a requirement for a professional. So, for her I&amp;rsquo;ll put the hatred to rest and find a solution.&lt;/p&gt;</description><content:encoded><![CDATA[<p>So, I hate Apple with a passion. They make great hardware, but you are limited in choice and if something breaks you can bet your sorry ass that your system is under repair for a couple of weeks.  I run Ubuntu, thank you very much.</p>
<p>But, my wife Maaike Appels has to work on a Mac, Lightroom/Photoshop isn&rsquo;t available for Linux and a requirement for a professional. So, for her I&rsquo;ll put the hatred to rest and find a solution.</p>
<p>She has a Mac Mini, but clearly, the thing just isn&rsquo;t coping with the usage. And those pictures are not getting any smaller I can tell you. The joys of tech.  What she needs is a Mac Pro, do you know what those things cost? 3000 euro, and then you get a whopping 8GB of ram. Nice, if you only need to edit your holiday pictures.</p>
<p>So, after much internal debate, the only thing that is left to build a true high end system, without selling the car is to make my own.</p>
<h2 id="hardware">Hardware</h2>
<p><a href="/images/IMG_20120621_113451.jpg"><img loading="lazy" src="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2012/06/IMG_20120621_113451-300x225.jpg?resize=210%2C158"></a>I already have a case, an old Dell Desktop that I&rsquo;ll happily gut, as the mainboard never did play nice with Ubuntu installs. So I&rsquo;ll replace what&rsquo;s bad (Mainboard/Memory/CPU) and keep what&rsquo;s ok (Case/Power/Burner)</p>
<p>Shopping List based on the <a href="http://tonymacx86.blogspot.nl/search/label/CustoMac">Tony CustoMac Page</a>.</p>
<ul>
<li>Gigabyte GA-Z68MA-UD2H-B3 - mATX Mainboard - â‚¬ 131,45</li>
<li>Intel Core i7 2700K/3.5Ghz - CPU - â‚¬ 271,00</li>
<li>Sapphire Radeon HD 6850 - Videocard - â‚¬ 121,00</li>
<li>Corsair XM3 Quad Channel 4x 8GB - 32GB Ram Total - â‚¬ 217,00</li>
<li>OCZ SSD Agility 3 Series - 180GB SSD HD - 159,95</li>
</ul>
<p>Total cost â‚¬ 900,40 - Should run circles around a Mac Pro, and run OSX just fine</p>
<h2 id="software">Software</h2>
<p>Get a copy of Lion from the App Store, one of the benefits of a mac being handy. As I never used the App store on the Mac Mini it had to be configured first. After typing in my password for the 10th time and searching for Lion about 8 times it allowed me to buy the software and start the download.</p>
<p>After this I followed the <a href="http://tonymacx86.blogspot.nl/2011/10/unibeast-install-mac-os-x-lion-using.html">Unibeast instructies to create the USB Stick</a>, this worked perfectly without any issues. And has helped a lot in making this install a lot easier.</p>
<h2 id="building-the-system">Building the system</h2>
<p><a href="/images/IMG_20120621_124323.jpg"><img loading="lazy" src="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2012/06/IMG_20120621_124323-300x225.jpg?resize=210%2C158"></a>So, if you have ever build a computer system then this isn&rsquo;t going to be that hard for you. Simple clean the case, insert hardware and make sure it&rsquo;s hooked up properly. Really didn&rsquo;t need to look up anything for this. But if you have problems with this I recommend finding a friend who has done this before.</p>
<p>You might notice I have the SSD non-attached here, was still waiting for a bracket for that one, and expecting an extension cable for the case fan tomorrow. But except for that everything is all here. And nothing is stopping me from atleast doing the install.</p>
<h2 id="installing-the-os">Installing the OS</h2>
<p>Nothing I can tell here that you can not already find in the Unibeast Install guide, just take your time and don&rsquo;t be afraid to make mistakes.</p>
<p>After installing the OS you need to run Multibeast to get the drivers configured, make sure you read beforehand how this works. I made a few critical mistakes and that made my system very unstable. The quickest fix if this happens is to just reinstall again. Don&rsquo;t forget to wipe the disk before doing so.</p>
<p>To use Multibeast <a href="http://www.macbreaker.com/2012/01/how-to-use-multibeast-comprehensive.html">this guide</a>  is essential, read it, then read it again and actually understand what&rsquo;s doing what.</p>
<p>Make sure you understand what UserDSDT files are, and where to put them. (Hint on your desktop with a special name). They will make sure your system is running fine.</p>
<p>Once this is done, system should boot up fine and most things should be working.</p>
<h2 id="stuff-i-had-to-fix">Stuff I had to fix</h2>
<p><strong>Dual Screen with the ATI HD 6850 Card</strong></p>
<p>So this required a little digging to solve, but it seems all related to framebuffer. In short I have to tell the bootloader to have GraphicsEnabler=no, simpelest way to do this is to just type it in during boot. (Really, just start typeing at the boot screen)</p>
<p>Once you are sure that it works fine you can update the boot config. <a href="http://www.teksocial.com/socialblog/2012/1/11/hackintosh-from-start-to-finish-part-5-post-installation-tip.html">A nice guide for picking the right framebuffer is this one</a></p>
<p><strong>Boot no longer working</strong></p>
<p>Seems I have broken my bootloader somewhere along the way, I&rsquo;m still debugging this but for now using the USB stick to boot helps to get things going. Think I made a typo in a configuration file somewhere.</p>
<h2 id="overall-impression-so-far">Overall Impression so far</h2>
<p>Once it&rsquo;s up and running you can get mighty impressed, I mean this beast is flying all over. Ofcourse, you do notice a few small cracks, there seem to be some stability issues when putting the system in sleep mode. And as Maaike discovered, Adobe isn&rsquo;t to keen to help you out when you got issues.</p>
<h2 id="timemachine-to-the-rescue">Timemachine to the rescue</h2>
<p>So, I totally broke everything last week. Not my best moment and one that only got solved because I had a timemachine backup on the QNAP already.</p>
<p>Select Time Machine Vault, pick last backup, restore…</p>
<p>Wait for an hour and presto, back to pre-break-tweaking.</p>
<h2 id="tips">Tips</h2>
<ul>
<li>Pick your hardware carefully</li>
<li>Take your time and read</li>
<li>Don&rsquo;t be afraid to re-install</li>
<li>Make sure you have an external drive or QNAP to keep a time machine backup handy.</li>
<li>When updating boot configuration, make backups and don&rsquo;t try to change to much at once.</li>
</ul>
<h2 id="performance">Performance</h2>
<p>Geekbench Score  11435  -  <a href="http://browser.primatelabs.com/geekbench2/829720">http://browser.primatelabs.com/geekbench2/829720</a></p>
<p>Not as good as I would have expected, but then again it was build to have ton&rsquo;s of RAM and not CPU power. If you care about your system feeling snappy, get the SSD drive, get the extra RAM. You might not win speed tests, but everyday use will make you smile.</p>
]]></content:encoded></item><item><title>Super Simple Linux Health Monitoring with Uptime Robot and Nagios-Plugins</title><link>https://basg.nl/posts/super-simple-linux-health-monitoring-with-uptime-robot-and-nagios-plugins/</link><pubDate>Mon, 13 Feb 2012 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/super-simple-linux-health-monitoring-with-uptime-robot-and-nagios-plugins/</guid><description>&lt;p&gt;Uptime Robot is an excellent tool if you want to know if the site is up, but it won&amp;rsquo;t tell you much about system health. It&amp;rsquo;s either down or up and let&amp;rsquo;s face it, we much rather avoid the down. The professional solution would be to configure Nagios, Zabbix or any of the other tools to monitor the box, but it is a bit of overkill to setup a seperate box just to monitor your one or two VPS boxes.&lt;/p&gt;</description><content:encoded><![CDATA[<p>Uptime Robot is an excellent tool if you want to know if the site is up, but it won&rsquo;t tell you much about system health. It&rsquo;s either down or up and let&rsquo;s face it, we much rather avoid the down. The professional solution would be to configure Nagios, Zabbix or any of the other tools to monitor the box, but it is a bit of overkill to setup a seperate box just to monitor your one or two VPS boxes.</p>
<p>So here is a super simple way to monitor system health, and should only take you 10 minutes to setup. I&rsquo;m assuming Debian/Ubuntu here and some basic Linux skills, if you don&rsquo;t know how to use chmod/ls/ln and other commands, than really, what are you doing here?</p>
<p>First thing we are going to do is install the nagios plugins, just the plugins. If you get hundreds of dependencies you are doing it wrong.</p>
<pre><code>apt-get install nagios-plugins-basic
</code></pre>
<p>So, once this is done you have a nice toolkit of script to do quick monitoring. Now create a small shellscript to run all the things you would like to check, I&rsquo;m running a nginx system with MySQL, so here is my script.</p>
<pre><code>#!/bin/sh
NAGIOS=/usr/lib/nagios/plugins
# Simple Disk Space Check
$NAGIOS/check_disk -w 75 -c 90

# Load Check
$NAGIOS/check_load -w 3,2,1 -c 6,4,2

# MySQL Running?
$NAGIOS/check_procs -w 1:1 -c 1:1 -C mysqld

# NGINX Running?
$NAGIOS/check_procs -w 2:10 -c 2:10 -C nginx

# PHP CGI Running?
$NAGIOS/check_procs -w 16:16 -c 10:22 -C php-cgi
</code></pre>
<p>Run the script and check if everything results into OK, if not, either adjust monitor of fix the issue.</p>
<p>Now we add the following to the cron</p>
<pre><code>* * * * * root SCRIPT &gt; WEBROOT/uptime_robot.txt
</code></pre>
<p>For added security, replace &ldquo;uptime_robot&rdquo; with a nice long random string, or even better a basic authentication password, whatever works for you.</p>
<p>For those paying attention, we now have a public available text file with the result of our checks in it. Now all we need to do is add it to Uptime Robot.</p>
<p><a href="/images/Workspace-1_047.png"><img loading="lazy" src="https://i0.wp.com/basg.nl/files/2012/02/Workspace-1_047-150x150.png?resize=150%2C150&ssl=1"></a></p>
<p>Pick keyword checking, and configure the URL where you generate your check file. Now all we need to do is create 2 checks, one for WARNING and one for CRITICAL. Update settings to suit your needs, like critical 24×7 and warning only during daytime.</p>
<p><a href="/images/Free-Website-Uptime-Monitoring-Uptime-Robot-Google-Chrome_049.png"><img loading="lazy" src="https://i0.wp.com/basg.nl/files/2012/02/Free-Website-Uptime-Monitoring-Uptime-Robot-Google-Chrome_049-150x150.png?resize=150%2C150&ssl=1"></a></p>
<p>That&rsquo;s it, told you it would be easy.</p>
]]></content:encoded></item><item><title>Using a reverse proxy to access github from a limited datacenter.</title><link>https://basg.nl/posts/using-a-reverse-proxy-to-access-github-from-a-limited-datacenter/</link><pubDate>Mon, 03 Oct 2011 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/using-a-reverse-proxy-to-access-github-from-a-limited-datacenter/</guid><description>&lt;p&gt;Sometimes life doesn&amp;rsquo;t work out, you want to be able to push/pull your code to github but the machine you are working on doesn&amp;rsquo;t have internet access to do so and in my case the receiving github server is internal so even with internet it would not have worked.&lt;/p&gt;
&lt;p&gt;How to fix this with a reverse tunnel, add the following to your local ~/.ssh/config&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Host example-host
RemoteForward 12222 github.com:22
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And on example-host, add this to the ~/.ssh/config&lt;/p&gt;</description><content:encoded><![CDATA[<p>Sometimes life doesn&rsquo;t work out, you want to be able to push/pull your code to github but the machine you are working on doesn&rsquo;t have internet access to do so and in my case  the receiving github server is internal so even with internet it would not have worked.</p>
<p>How to fix this with a reverse tunnel, add the following to your local ~/.ssh/config</p>
<pre><code>Host example-host
  RemoteForward 12222 github.com:22
</code></pre>
<p>And on example-host, add this to the ~/.ssh/config</p>
<pre><code>Host github.com
  hostname localhost
  port 12222
</code></pre>
<p>Now, I&rsquo;m assuming you already have a straight line to the host you are working on, if not using ProxyCommand might solve that. And that you have AgentForwarding enabled because unprotected ssh keys are bad m&rsquo;kay.</p>
<p>Now,  once this is setup, you ssh to the host and should be able to use it without voodoo on the prompt</p>
<pre><code>git clone git@github.com:username/project
</code></pre>
<p>Enjoy.</p>
]]></content:encoded></item><item><title>Lightroom en QNAP</title><link>https://basg.nl/posts/lightroom-en-qnap/</link><pubDate>Fri, 06 May 2011 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/lightroom-en-qnap/</guid><description>&lt;p&gt;Soms is de oplossing eenvoudiger dan je zou denken. Mijn vrouw is fotograaf en heeft als gevolg daarvan behoorlijk wat fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s in Lightroom staan. Dat is geen probleem totdat je harde schijf begint vol te raken.&lt;/p&gt;
&lt;p&gt;Mijn eerste poging was om de oude fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s te exporteren naar een nieuwe catalogus op de QNAP, maar ik kwam er al snel achter dat hoewel dit werkt, je vervolgens deze oude catalogus niet meer mag openen. De reden, hij staat op een netwerk schijf.&lt;/p&gt;</description><content:encoded><![CDATA[<p>Soms is de oplossing eenvoudiger dan je zou denken. Mijn vrouw is fotograaf en heeft als gevolg daarvan behoorlijk wat fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s in Lightroom staan. Dat is geen probleem totdat je harde schijf begint vol te raken.</p>
<p>Mijn eerste poging was om de oude fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s te exporteren naar een nieuwe catalogus op de QNAP, maar ik kwam er al snel achter dat hoewel dit werkt, je vervolgens deze oude catalogus niet meer mag openen. De reden, hij staat op een netwerk schijf.</p>
<p>Dat heeft dus geen zin, het moet mogelijk zijn om bij je oude fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s te kunnen. Als eerste geprobeerd om haar Mac te laten denken dat hij lokaal bezig was, maar dat was geen oplossing.</p>
<p>Nog wat verder zoeken kwam het eenvoudige antwoord, gebruik de Ãƒ¢Ã‚â‚¬Ã‚Å“MappenÃƒ¢Ã‚â‚¬Ã‚ van Lightroom, en dan is het kinderspel.</p>
<p>Je voegt een nieuwe map toe aan de catalogus, en verwijst die naar een gedeelde map op de QNAP. Vervolgens kan je vrolijk binnen lightroom fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s van je lokale schijf naar de netwerk schijf sleuren en zelfs rechtstreeks importeren naar deze nieuwe folder.</p>
<p>Uiteindelijk blijkt dus de enigste eis te zijn dat het catalogus bestand zelf lokaal staat, de fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s mogen overal staan.</p>
<p>Bijkomende bonus, ze kan nu door alle fotoÃƒ¢Ã‚â‚¬Ã‚â„¢s zoeken, ook de gene die al jaren geleden gearchiveerd zijn.</p>
]]></content:encoded></item><item><title>Kunnen we eigenlijk nog positief zijn over Windows?</title><link>https://basg.nl/posts/kunnen-we-eigenlijk-nog-positief-zijn-over-windows/</link><pubDate>Sun, 17 May 2009 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/kunnen-we-eigenlijk-nog-positief-zijn-over-windows/</guid><description>&lt;p&gt;Net klaar met mijn nieuwe presentatie, die is te vinden op &lt;a href="http://www.ubuntutips.nl/2009/05/17/presentatie-ubuntu-op-18-en-25-mei/"&gt;www.ubuntutips.nl&lt;/a&gt; en binnenkort op de website van de HCC.&lt;/p&gt;
&lt;p&gt;Ik ben afgeweken van mijn normale patroon, en heb deze keer wel de min-punten van Windows belicht. Ubuntu word namelijk vaak vergeleken met een goed draaiende Windows, maar niemand heeft het over de weg die je moet bewandelen om daar te komen.&lt;/p&gt;
&lt;p&gt;Windows gebruikers weten niet beter dan dat het normaal is dat je onderhoud moet doen, zoals anti-virus, firewalls, opschonen, defragmenteren, etc. Ze vinden het ook normaal dat een groot deel van hun software om aandacht vraagt, bv omdat er een update of nieuwtje beschikbaar is.&lt;/p&gt;</description><content:encoded><![CDATA[<p>Net klaar met mijn nieuwe presentatie, die is te vinden op <a href="http://www.ubuntutips.nl/2009/05/17/presentatie-ubuntu-op-18-en-25-mei/">www.ubuntutips.nl</a> en binnenkort op de website van de HCC.</p>
<p>Ik ben afgeweken van mijn normale patroon, en heb deze keer wel de min-punten van Windows belicht. Ubuntu word namelijk vaak vergeleken met een goed draaiende Windows, maar niemand heeft het over de weg die je moet bewandelen om daar te komen.</p>
<p>Windows gebruikers weten niet beter dan dat het normaal is dat je onderhoud moet doen, zoals anti-virus, firewalls, opschonen, defragmenteren, etc.  Ze vinden het ook normaal dat een groot deel van hun software om aandacht vraagt, bv omdat er een update of nieuwtje beschikbaar is.</p>
<p>Ik hoor ze soms klagen, maar het hoort erbij.  Todat ze een tijdje op een systeem zonder die onzin hebt gezeten, want dan zien ze dat het niet normaal is.</p>
<p>Veel mensen vragen me wat het voordeel is van Ubuntu en dat vond ik altijd moeilijk om uit te leggen. Maar tegenwoordig heb ik een antwoord, Ubuntu is een volwassen systeem dat voor zichzelf zorgt en jouw met rust laat tenzij je er om vraagt. Windows lijkt wat dat betreft meer op een klein kind, constant vragen om aandacht en onderhoud. Gezien de leeftijd van dat OS gok ik dat er iets mis is gegaan bij de opvoeding.</p>
<p>Mocht er iemand zijn die vind dat ik geen gelijk heb, ik daag je uit, ik neem standaard 9.04 Ubuntu CD en doe daar een maand mijn werk mee. Jij mag kiezen welke versie van Windows, maar het moet een standaard CD zijn (met servicepacks natuurlijk). Het enigste wat we overzetten is de &ldquo;Documents en Settings&rdquo;, en we noteren alles wat niet bij normaal gebruik hoort. Vergelijken we aan het eind wie het meeste tijd kwijt is. Vanzelf ga ik het evenement wel bloggen.</p>
<p>Ik denk dat je na instalatie al de handoek in de ring gooit…</p>
<p>Dat was het dan weer…</p>
]]></content:encoded></item><item><title>Setup Ubuntu Intrepid for Juniper VPN</title><link>https://basg.nl/posts/setup-ubuntu-intrepid-for-juniper-vpn/</link><pubDate>Thu, 04 Dec 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/setup-ubuntu-intrepid-for-juniper-vpn/</guid><description>&lt;p&gt;So I needed my Ubuntu configured for Juniper VPN, here is the steps I did to get it to work.&lt;/p&gt;
&lt;h2 id="setup-step-1-setup-libaries"&gt;Setup Step 1. Setup Libaries&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install openssl libmotif3 libstdc++2.10-glibc2.2 sun-java6-jre
sudo ln -s /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so.2
sudo ln -s /usr/lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so.2
sudo ln -s libssl.so.0.9.8 /usr/lib/i686/cmov/libssl.so.0
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="setup-step-2-connect-to-the-webinterface"&gt;Setup Step 2. Connect to the webinterface&lt;/h2&gt;
&lt;p&gt;Use Firefox to connect to your start webpage, to setup the intial java application&lt;/p&gt;
&lt;h2 id="setup-step-3-modify-the-juniper-configuration-directory"&gt;Setup Step 3. Modify the Juniper configuration directory&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;cd ~/.juniper_networkssudo
rm -rf network_connect
cp -R tmp network_connect
cd network_connect
chmod 744 *.sh
sudo chmod 6711 ncsvc
sudo chown root:root ncsvc
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="connect-step-1-start-ncsvc"&gt;Connect Step 1. Start ncsvc&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;cd ~/.juniper_networkssudo/network_connect
sudo ./ncsvc
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="connect-step-2-connect-to-the-webinterface"&gt;Connect Step 2. Connect to the webinterface&lt;/h2&gt;
&lt;p&gt;Use Firefox to connect to your start webpage, to setup the intial java application&lt;/p&gt;</description><content:encoded><![CDATA[<p>So I needed my Ubuntu configured for Juniper VPN, here is the steps I did to get it to work.</p>
<h2 id="setup-step-1-setup-libaries">Setup Step 1. Setup Libaries</h2>
<pre><code>sudo apt-get install openssl libmotif3 libstdc++2.10-glibc2.2 sun-java6-jre
sudo ln -s /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so.2
sudo ln -s /usr/lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so.2
sudo ln -s libssl.so.0.9.8 /usr/lib/i686/cmov/libssl.so.0
</code></pre>
<h2 id="setup-step-2-connect-to-the-webinterface">Setup Step 2. Connect to the webinterface</h2>
<p>Use Firefox to connect to your start webpage, to setup the intial java application</p>
<h2 id="setup-step-3-modify-the-juniper-configuration-directory">Setup Step 3. Modify the Juniper configuration directory</h2>
<pre><code>cd ~/.juniper_networkssudo
rm -rf network_connect
cp -R tmp network_connect
cd network_connect
chmod 744 *.sh
sudo chmod 6711 ncsvc
sudo chown root:root ncsvc
</code></pre>
<h2 id="connect-step-1-start-ncsvc">Connect Step 1. Start ncsvc</h2>
<pre><code>cd ~/.juniper_networkssudo/network_connect
sudo ./ncsvc
</code></pre>
<h2 id="connect-step-2-connect-to-the-webinterface">Connect Step 2. Connect to the webinterface</h2>
<p>Use Firefox to connect to your start webpage, to setup the intial java application</p>
<p>That&rsquo;s it, hope it helps someone</p>
]]></content:encoded></item><item><title>Rust in vrede HCC Dagen 1978-2006</title><link>https://basg.nl/posts/rust-in-vrede-hcc-dagen-1978-2006/</link><pubDate>Fri, 28 Nov 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/rust-in-vrede-hcc-dagen-1978-2006/</guid><description>&lt;p&gt;&lt;a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/11/hcc_dagen.gif"&gt;&lt;img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/hcc_dagen-300x63.gif?resize=300%2C63"&gt;&lt;/a&gt;Vandaag de nieuwe HCC Dagen maar eens bezocht, en zeker gezien het feit dat dit gecombineerd was met Het Multimedia Event had ik het op z&amp;rsquo;n minst wat groter verwacht.&lt;/p&gt;
&lt;p&gt;Guitar Hero World tour nam een hele zaal in beslag, maar aangezien er alleen een vaste band stond te spelen vond ik dat nu niet het idee van een game, daar mag je immers meedoen. Een paar demounits in de ruimte had geholpen.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/11/hcc_dagen.gif"><img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/hcc_dagen-300x63.gif?resize=300%2C63"></a>Vandaag de nieuwe HCC Dagen maar eens bezocht, en zeker gezien het feit dat dit gecombineerd was met Het Multimedia Event had ik het op z&rsquo;n minst wat groter verwacht.</p>
<p>Guitar Hero World tour nam een hele zaal in beslag, maar aangezien er alleen een vaste band stond te spelen vond ik dat nu niet het idee van een game, daar mag je immers meedoen. Een paar demounits in de ruimte had geholpen.</p>
<p>Dan 2 halve zaaltjes met stands, waarbij je vooral RC helicopters kon kopen of een promotie voor mobiel internet, een baan in de ICT of een netbook kon kopen. En dan natuurlijk de gebruikelijke rommel, maar de lust ontging me om daar een uur lang alle stands langs te gaan voor het pareltje in de drek, dat kan online ook, en dan krijg ik het thuisbezorgt en hoef ik niet in de rij voor de pinautomaat.</p>
<p>Dan was er nog een 1/2 zaal voor de HCC, nieuwe stijl, leuk idee alles samenvoegen, maar als je geen intresse hebt in fotografie, netwerken of weer die vervloekte RC helicopters kwam je bedrogen uit, als Linux gebruiker kon ik zelfs helemaal niks vinden, misschien ergens goed verstopt in een hoekje, helaas had ik m&rsquo;n jachthond getrained op kernel 2.6 niet bij me.</p>
<p>Ik ga volgend jaar wel in duitsland kijken, misschien dat ze het daar beter doen, groter in iedergeval.</p>
]]></content:encoded></item><item><title>Ubuntu, Virtualbox en USB</title><link>https://basg.nl/posts/ubuntu-virtualbox-en-usb/</link><pubDate>Sun, 23 Nov 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/ubuntu-virtualbox-en-usb/</guid><description>&lt;p&gt;Goed, elke keer USB fixen voor Virtualbox begon ik een beetje zat te worden, zelf kan ik wel even 2 bestandjes patchen, maar krijg er toch vragen over en dan is het gewoon makkelijker als er een deb package is die mensen kunnen instaleren.&lt;/p&gt;
&lt;p&gt;Alleen getest op mijn laptop tot nu toe, dus als het niet werkt laat het me weten.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/vboxusbfix_11_all.deb"&gt;vboxusbfix_1.1_all.deb&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/vboxusbfix_11tar.gz"&gt;vboxusbfix_1.1.tar.gz&lt;/a&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>Goed, elke keer USB fixen voor Virtualbox begon ik een beetje zat te worden, zelf kan ik wel even 2 bestandjes patchen, maar krijg er toch vragen over en dan is het gewoon makkelijker als er een deb package is die mensen kunnen instaleren.</p>
<p>Alleen getest op mijn laptop tot nu toe, dus als het niet werkt laat het me weten.</p>
<p><a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/vboxusbfix_11_all.deb">vboxusbfix_1.1_all.deb</a></p>
<p><a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/vboxusbfix_11tar.gz">vboxusbfix_1.1.tar.gz</a></p>
]]></content:encoded></item><item><title>Ubuntu Intrepid 8.10 en KPN Mobile</title><link>https://basg.nl/posts/ubuntu-intrepid-810-en-kpn-mobile/</link><pubDate>Fri, 14 Nov 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/ubuntu-intrepid-810-en-kpn-mobile/</guid><description>&lt;p&gt;&lt;a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/11/kpnmobile.png"&gt;&lt;img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/kpnmobile-300x73.png?resize=300%2C73"&gt;&lt;/a&gt;Goed, ik had dus wat problemen met KPN Mobile en de nieuwe Ubuntu, er blijkt een bug te zijn die voorkomt dat de pincode goed wordt doorgestuurd. Gelukkig werkt het wel als je dat met de hand doet.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;echo &amp;quot;ATZ^M&amp;quot; &amp;gt; /dev/ttyUSB0
echo &amp;quot;AT+CPIN=0000^M&amp;quot; &amp;gt; /dev/ttyUSB0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(De ^M doe je dmv CTRL+V op de prompt en dan Enter )&lt;/p&gt;
&lt;p&gt;Om te verbinden doe ik nu het volgende,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ik steek m&amp;rsquo;n Huawei E270 HSPA modem in de laptop&lt;/li&gt;
&lt;li&gt;Wacht tot hij er is in Networkmanager&lt;/li&gt;
&lt;li&gt;ALT+F2 &amp;ldquo;sendpin&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Connect via Networkmanager&lt;/li&gt;
&lt;li&gt;Internet!!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Scriptje voor het zenden van de pincode, &lt;a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/sendpin"&gt;sendpin.sh&lt;/a&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/11/kpnmobile.png"><img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/kpnmobile-300x73.png?resize=300%2C73"></a>Goed, ik had dus wat problemen met KPN Mobile en de nieuwe Ubuntu, er blijkt een bug te zijn die voorkomt dat de pincode goed wordt doorgestuurd. Gelukkig werkt het wel als je dat met de hand doet.</p>
<pre><code>echo &quot;ATZ^M&quot; &gt; /dev/ttyUSB0
echo &quot;AT+CPIN=0000^M&quot; &gt; /dev/ttyUSB0
</code></pre>
<p>(De ^M doe je dmv CTRL+V op de prompt en dan Enter )</p>
<p>Om te verbinden doe ik nu het volgende,</p>
<ol>
<li>Ik steek m&rsquo;n Huawei E270 HSPA modem in de laptop</li>
<li>Wacht tot hij er is in Networkmanager</li>
<li>ALT+F2 &ldquo;sendpin&rdquo;</li>
<li>Connect via Networkmanager</li>
<li>Internet!!</li>
</ol>
<p>Scriptje voor het zenden van de pincode, <a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/11/sendpin">sendpin.sh</a></p>
<p><strong>Update</strong></p>
<p>Wouter gaf de suggestie om de pincode te verwijderen, en dat kan dmv de sim kaart even in de telefoon te doen.</p>
<p>Je kan het ook doen via AT commands, doe hetzelfde als boven om je SIM kaart te unlocken en gebruik dan dit commando.</p>
<pre><code>echo 'AT+CLCK=&quot;SC&quot;,0,&quot;0000&quot;^M' &gt; /dev/ttyUSB0
</code></pre>
<p>Scriptje voor het verwijderen van de pincode, <a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/12/removepin">removepin</a></p>
<p>Daarna heb je dus helemaal niks meer nodig om je modem werkend te krijgen, inpluggen en internetten 🙂</p>
]]></content:encoded></item><item><title>De nationale computer opschoon dag</title><link>https://basg.nl/posts/de-nationale-computer-opschoon-dag/</link><pubDate>Mon, 20 Oct 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/de-nationale-computer-opschoon-dag/</guid><description>&lt;p&gt;De HCC organiseerd de Nationale Comptuer opschoon dag, omdat normale gebruikers het vast erg leuk vinden om antivirus te instaleren en hun computer te schonen. Yeah right. 🙂&lt;/p&gt;
&lt;p&gt;Maar goed, ik help wel mee, dus wie z&amp;rsquo;n computer schoon wil, ik zet er wel even ubuntu op voor je op de 26e.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.nationalecomputeropschoondag.nl/"&gt;http://www.nationalecomputeropschoondag.nl/&lt;/a&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>De HCC organiseerd de Nationale Comptuer opschoon dag, omdat normale gebruikers het vast erg leuk vinden om antivirus te instaleren en hun computer te schonen. Yeah right. 🙂</p>
<p>Maar goed, ik help wel mee, dus wie z&rsquo;n computer schoon wil, ik zet er wel even ubuntu op voor je op de 26e.</p>
<p><a href="http://www.nationalecomputeropschoondag.nl/">http://www.nationalecomputeropschoondag.nl/</a></p>
]]></content:encoded></item><item><title>Screenshots Nieuwe Ubuntu Intrepid</title><link>https://basg.nl/posts/screenshots-nieuwe-ubuntu-intrepid/</link><pubDate>Wed, 10 Sep 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/screenshots-nieuwe-ubuntu-intrepid/</guid><description>&lt;p&gt;Ik zit al even te spelen met de nieuwe Ubuntu Intrepid, even wat screenshots&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/09/ubuntu_screenshots.zip"&gt;Zip bestand met screenshots&lt;/a&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>Ik zit al even te spelen met de nieuwe Ubuntu Intrepid, even wat screenshots</p>
<p><a href="http://bgrolleman.emendo-it.nl/wp-content/uploads/2008/09/ubuntu_screenshots.zip">Zip bestand met screenshots</a></p>
]]></content:encoded></item><item><title>X-Box gemod</title><link>https://basg.nl/posts/x-box-gemod/</link><pubDate>Sat, 23 Aug 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/x-box-gemod/</guid><description>&lt;p&gt;&lt;a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/08/23082008.jpg"&gt;&lt;img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/08/23082008-300x225.jpg?resize=300%2C225"&gt;&lt;/a&gt;Zoals velen wisten had ik ongeveer de laatste niet aangepaste X-Box versie 1 in nederland.&lt;/p&gt;
&lt;p&gt;Daar is gisteren een eind aan gekomen, dankzij een memory kaart, en al aangepaste X-Box van de buurman en Splinter Cell.&lt;/p&gt;
&lt;p&gt;Wel een hoop opties, maar XBMC is erg goed, en dan ziet die X-Box tenminste weer wat actie ipv de doos op zolder.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="https://i0.wp.com/setup.basg.nl/wp-content/uploads/2008/08/23082008.jpg"><img loading="lazy" src="https://i0.wp.com/bgrolleman.emendo-it.nl/wp-content/uploads/2008/08/23082008-300x225.jpg?resize=300%2C225"></a>Zoals velen wisten had ik ongeveer de laatste niet aangepaste X-Box versie 1 in nederland.</p>
<p>Daar is gisteren een eind aan gekomen, dankzij een memory kaart, en al aangepaste X-Box van de buurman en Splinter Cell.</p>
<p>Wel een hoop opties, maar XBMC is erg goed, en dan ziet die X-Box tenminste weer wat actie ipv de doos op zolder.</p>
]]></content:encoded></item><item><title>Why I run Linux?</title><link>https://basg.nl/posts/why-i-run-linux/</link><pubDate>Mon, 04 Aug 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/why-i-run-linux/</guid><description>&lt;p&gt;Now all I need is pinguins with friggin laserbeams on their heads! 🙂&lt;/p&gt;</description><content:encoded>&lt;p>Now all I need is pinguins with friggin laserbeams on their heads! 🙂&lt;/p>
</content:encoded></item><item><title>Asus EEE PC</title><link>https://basg.nl/posts/asus-eee-pc/</link><pubDate>Tue, 22 Apr 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/asus-eee-pc/</guid><description>&lt;p&gt;Met ubuntu natuurlijk, klein maar fijn.&lt;/p&gt;
&lt;p&gt;&lt;a href="../../images/22042008001.jpg"&gt;&lt;img loading="lazy" src="../../images/22042008001.jpg"&gt;&lt;/a&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>Met ubuntu natuurlijk, klein maar fijn.</p>
<p><a href="/images/22042008001.jpg"><img loading="lazy" src="/images/22042008001.jpg"></a></p>
]]></content:encoded></item><item><title>Bezig met Ubuntu</title><link>https://basg.nl/posts/bezig-met-ubuntu/</link><pubDate>Wed, 16 Apr 2008 00:00:00 +0000</pubDate><guid>https://basg.nl/posts/bezig-met-ubuntu/</guid><description>&lt;p&gt;Ik werk momenteel met Ubuntu, dat klinkt misschien niet raar, maar als iemand die uitsluitend met KDE werkt is dat natuurlijk wel even wennen.&lt;/p&gt;
&lt;p&gt;Er zijn drie redenen waarom ik het even aan het proberen ben,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Iemand heeft me gestrikt in het doen van een presentatie over Ubuntu, dat kan natuurlijk niet zonder er uitgebreid mee gewerkt te hebben.&lt;/li&gt;
&lt;li&gt;Ubuntu loopt nog altijd voor op Kubuntu, en ik wou het verschil wel eens met eigen ogen zien.&lt;/li&gt;
&lt;li&gt;Het kan nooit kwaad om je kennis wat breder in te zetten.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Ervaringen tot nu toe&lt;/strong&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>Ik werk momenteel met Ubuntu, dat klinkt misschien niet raar, maar als iemand die uitsluitend met KDE werkt is dat natuurlijk wel even wennen.</p>
<p>Er zijn drie redenen waarom ik het even aan het proberen ben,</p>
<ol>
<li>Iemand heeft me gestrikt in het doen van een presentatie over Ubuntu, dat kan natuurlijk niet zonder er uitgebreid mee gewerkt te hebben.</li>
<li>Ubuntu loopt nog altijd voor op Kubuntu, en ik wou het verschil wel eens met eigen ogen zien.</li>
<li>Het kan nooit kwaad om je kennis wat breder in te zetten.</li>
</ol>
<p><strong>Ervaringen tot nu toe</strong></p>
<ul>
<li>Het werkt allemaal eenvoudig</li>
<li>Compiz staat standaard aan, dat is mooi</li>
<li>Ik mis Katapult, opgelost met Gnome-Do</li>
<li>Ik mis Yakuake, opgelost met Yakuake (Tilde werkte niet voor mij)</li>
<li>Ik mis Alt-F2 gg: (google zoeken), maar ik kan iets soortgelijks met Gnome-Do geloof ik</li>
</ul>
<p><strong>Irritaties</strong></p>
<p>Er is op dit moment eigenlijk maar 1 ding waar ik niet uit kom, ik kan de Win toets niet aan gekoppelde functies hangen, normaal doe ik altijd Win+Z tot Win+B inzetten voor media functies, vooruit, achteruit, geluid harder en zachter, en ik krijg het niet werkend. Wel ergens gelezen dat dit een bug in gnome is, op het moment helaas maar op Alt+Z tot Alt+B gezet, maar ik tik nog vaak mis.</p>
<p><strong>Toekomst</strong></p>
<p>Enigste probleem is natuurlijk dat als het bevalt ik toch Kubuntu zal moeten ondersteunen bij vrienden en familie, gezien ik vaker van distro wissel wil ik hun daar niet mee opzadelen. Maar goed, zo erg is dat ook weer niet, dat houd je scherp. Is in iedergeval beter dan dat ze met Windows Vista vragen komen. 😉</p>
]]></content:encoded></item></channel></rss>