blackdot.be https://blackdot.be/ Recent content on blackdot.be Hugo en-us Mon, 23 Jun 2025 17:29:15 +0200 illumos NVMe hotplug https://blackdot.be/2025/06/illumos-nvme-hotplug/ Mon, 23 Jun 2025 17:29:15 +0200 https://blackdot.be/2025/06/illumos-nvme-hotplug/ <p>Last year I replaced a failed <em>Samsung SSD 980 PRO 1TB</em> with a <em>Corsair CT1000P3SSD8</em>, this was all I had budget for at the time and not a great NVMe drive overall. Last week it started throwing the occasional error.</p> <p>Time to replace it with a <em>Samsung SSD 9100 PRO 1TB</em>, but on hard mode! No powering down the system just to figure out which bay it’s in and then replace it!</p> GPS Tracking for Photography https://blackdot.be/2025/02/photography-gps-tracking/ Sun, 16 Feb 2025 10:43:23 +0200 https://blackdot.be/2025/02/photography-gps-tracking/ <p>In preparation for a longer-than-usual upcoming trip, I swapped my <strong>Canon EOS 5D Mark IV</strong> for a <strong>Canon R6 Mark II</strong>. I feel RF has sufficiently matured for me to make the swap. I also took this opportunity to refine my selection of lenses based on my usage in past trips, resulting in a lighter total kit. There has been only one annoying downside: unless using the bulky external <strong>Canon GP-E2</strong><sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, there is no way to geotag the photographs in-camera. I do use this a lot to figure out where a shot was taken afterward when editing.</p> Intel Arc PCI Passthru using bhyve on illumos https://blackdot.be/2023/11/illumos-bhyve-intel-arc/ Sun, 26 Nov 2023 14:25:59 +0100 https://blackdot.be/2023/11/illumos-bhyve-intel-arc/ <p>A while ago I bought a second hand <em>NVIDIA Quadro P1000</em> on eBay, it being a Low-Profile card, means it fits well in my 2U servers in my home lab.</p> <p>This card has been used in my Plex Media Server VM for a while, although it is working well, it is a few generations old and does not support newer codecs like <strong>h265</strong> and <strong>AV1</strong>.</p> <p>Intel recently launched the <em>Intel Arc A310</em><sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> which does support all the newer codecs, additionally one can avoid the horrible mess that is NVIDIA drivers on Linux! The i915 driver in kernel supports Arc, assuming one is running a recent enough version.</p> Moving to hugo https://blackdot.be/2022/12/moving-to-hugo/ Sun, 04 Dec 2022 17:38:59 +0000 https://blackdot.be/2022/12/moving-to-hugo/ <p>It&rsquo;s been nearly a year since my last blog post, oops!</p> <p>Some good news though, I&rsquo;m dropping WordPress in favor of <a href="https://gohugo.io/">hugo</a> using the <a href="https://github.com/vaga/hugo-theme-m10c">m10c</a> theme. I have been using hugo + geekdocs with great success in my homelab for my little internal documentation site, so it seemed like a logical choice.</p> <p>As you probably have not noticed, I did move everything from a SmartOS node hosted at So-You-Start to two OmniOS VM over at linode<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.</p> contact https://blackdot.be/contact/ Thu, 01 Dec 2022 00:00:00 +0000 https://blackdot.be/contact/ <p>If you&rsquo;ve made it here, I guess you want to get in touch with me?</p> <p>You can reach me in a few ways:</p> <ul> <li>Look for me on the Libera network, my handle there is sjorge</li> <li>Alternatively you can reach me via e-mail, <strong>info@&lt;domain name from address bar&gt;</strong></li> </ul> Using VRRP inside a lipkg zone on OmniOS https://blackdot.be/2021/12/using-vrrp-inside-a-lipkg-zone-on-omnios/ Sun, 12 Dec 2021 21:13:59 +0000 https://blackdot.be/2021/12/using-vrrp-inside-a-lipkg-zone-on-omnios/ <p>I&rsquo;m running a HA ldap setup however I keep hitting illumos issue <a href="https://www.illumos.org/issues/13326" data-type="URL" data-id="https://www.illumos.org/issues/13326">#13326</a>, hoping to mitigate this a tiny bit by using a VIP instead of multiple A records behind a ldap.example.org host name. (Sadly that doesn&rsquo;t help as the connection state itself ends up in the bad state, but it did send me down the VRRP on illumos rabbit hole.)</p> <p>Solaris 10 and therefore also the illumos decedents support VRRP for both IPv4 and IPv6, documentation on this is a bit sparse so hopefully this note dump is useful to someone, most likely myself in a few years. On OmniOS it&rsquo;s pretty easy to get the required utilities.</p> FreeBSD, UART and Raspberry Pi 3 B+ https://blackdot.be/2018/08/freebsd-uart-and-raspberry-pi-3-b/ Sat, 18 Aug 2018 18:55:19 +0000 https://blackdot.be/2018/08/freebsd-uart-and-raspberry-pi-3-b/ <p>If you are reading this because you, like me were lost and frustrated&hellip; I feel your pain. But let me try and help!</p> <p>A few weeks ago I added a POE HAT to a Raspberry Pi 3B+ and installed FreeBSD to so I could build a remote access server. I also bough another Raspberry Pi 3B+ to replace by OrangePi Zero + USB uBlox 5 NTP server.</p> <p>Unlike Raspbian it is surprisingly hard to stop FreeBSD&rsquo;s kernel from grabbing uart0 for it&rsquo;s console. Lets start with why you are probably here&hellip; how do I stop the kernel from doing this?</p> Remote Access Console using Raspberry Pi 3b+ and FreeBSD https://blackdot.be/2018/08/remote-access-console-using-raspberry-pi-3b-and-freebsd/ Sat, 04 Aug 2018 16:49:51 +0000 https://blackdot.be/2018/08/remote-access-console-using-raspberry-pi-3b-and-freebsd/ <h2 id="introduction">Introduction</h2> <p>I have a small homelab and I was looking into some sort of KVM console to be able to access them both locally and remotely instead of moving around VGA cables/serial cables.</p> <p>Those are rather expensive so I opted to build my own remote access system. Since all my servers and switch(es) have a serial console that should not be to hard.</p> <p>I ended up using:</p> <ul> <li><a href="https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/">Raspberry Pi 3+</a></li> <li><a href="https://navolabs.com/product/raspberry-pi-3-micro-poe-hat/">NavoLabs micro POE Hat</a></li> <li>FT4232H  based USB-to-RS232 (4x) adapter</li> <li><a href="https://www.raspberrypi.org/products/raspberry-pi-3-case/">Official Raspberry Pi case</a> (optional)</li> <li>Heat-sink kit (optional)</li> <li>USB-to-TTL adaptor (optional)</li> <li>Sandisk 16Gb microSD</li> </ul> <p>For the software I ended up using <a href="https://www.conserver.com/">conserver</a>. Below is a very brief tutorial on how to set everything up. I assume you have basic unix skills.</p> SmartOS, would you like some Salt with that? https://blackdot.be/2016/05/saltstack-2016-3-and-smartosillumos/ Thu, 26 May 2016 16:47:20 +0000 https://blackdot.be/2016/05/saltstack-2016-3-and-smartosillumos/ <p>I was in the market for a configuration management and remote execution tool. After looking around I didn&rsquo;t really find any I liked and also supported SmartOS (and illumos).</p> <p>It quickly became clear that I would need to do some legwork. I&rsquo;m by no means a great programmer and my language selection is mostly limited to Turbo Pascal, C#, and Java supplemented with shell script (~bash really), perl (long ago), and Python.</p> Advanced SmartOS Management Daemon https://blackdot.be/2015/07/advanced-smartos-management-daemon/ Fri, 24 Jul 2015 22:52:45 +0000 https://blackdot.be/2015/07/advanced-smartos-management-daemon/ <p>I spent the last 3 days yak-shaving. I had the intent of looking into deploying SaltStack to monitor my zones at home. Instead I give you <strong>asmd</strong> AKA &ldquo;Advanced SmartOS Management Daemon&rdquo;. Yes I should really get better at naming things.</p> <p>So what is this <strong>asmd</strong> you speak of, you may ask? It is my one <del>python</del> bash script to replace them all. SmartOS wise anyway. As you know I run a few SmartOS nodes at home, you may also know I really try to push IPv6 everywhere. SmartOS does not support this. After a few months I had collected a few hacks to make my life easier, each had their own smf service&hellip; You could see my learning progression in them as the quality improved as I got more familiar with the SmartOS internals.</p> pkg.blackdot.be live, omnios.blackdot.be deprecated https://blackdot.be/2015/05/pkg-blackdot-be-live-omnios-blackdot-be-deprecated/ Sat, 23 May 2015 14:24:16 +0000 https://blackdot.be/2015/05/pkg-blackdot-be-live-omnios-blackdot-be-deprecated/ <p>My new package <a href="https://web.archive.org/web/20210411003328/https://pkg.blackdot.be/">repo</a> is now live!</p> <p>I&rsquo;m only targeting the current base64-lts release.<br> Currently only SmartOS is supported, although it <strong>should</strong> be compatible with OmniOS using the pkgsrc bootstrap available at <a href="https://pkgsrc.joyent.com/">http://pkgsrc.joyent.com/</a> some recent changes (epoll) seem to have broke them as SmartOS supports it but OmniOS and Nexenta Community both seem to be lacking it.</p> <p>As of now omnios.blackdot.be is deprecated and no further updates will happen. Somewhere later this year it will go offline, I have no date yet but it will probably happen the next time I need to do a big round of updates.</p> pkg.blackdot.be enters alpha stages https://blackdot.be/2015/05/pkg-blackdot-be-enters-alpha-stages/ Wed, 20 May 2015 06:41:28 +0000 https://blackdot.be/2015/05/pkg-blackdot-be-enters-alpha-stages/ <p>As previously mentioned I will be deprecating omnios.blackdot.be IPS package repository soonish.</p> <p>Work has started on <a href="https://web.archive.org/web/20210411003328/https://pkg.blackdot.be/">pkg.blackdot.be</a>, the initial set of packages is up. But most are untested and they need some more love. Once the packages are where I want them to be. I will start rolling packages for omnios also.</p> <p>Check it out if you want to poke it. Although stuff will change and change often!</p> OmniOS package repo eventual deprecation https://blackdot.be/2015/04/omnios-package-repo-eventual-deprecation/ Sat, 18 Apr 2015 17:53:08 +0000 https://blackdot.be/2015/04/omnios-package-repo-eventual-deprecation/ <p>Just a heads up, somewhere later this year I will turn down <a href="https://web.archive.org/web/20150516043738/http://omnios.blackdot.be/en/index.shtml">omnios.blackdot.be</a> and will bring up <a href="https://web.archive.org/web/20210411003328/https://pkg.blackdot.be/">pkg.blackdot.be</a>. There I will host a smaller selection of packages for use in SmartOS zones or on OmniOS once the illumos flavor of pkgsrc is installed.</p> <p>Not sure when this will happen because I am currently changing jobs. More info will follow.</p> Running an NTP server under SmartOS https://blackdot.be/2015/03/running-an-ntp-server-under-smartos/ Wed, 25 Mar 2015 21:25:49 +0000 https://blackdot.be/2015/03/running-an-ntp-server-under-smartos/ <p>I wrote a <a href="http://wiki.smartos.org/display/DOC/GPS+backed+NTP+server">wiki</a> page on how to run a ntp server on SmartOS. There is a local copy here for in case the SmartOS wiki goes down at some point.</p> <h1 id="gps-backed-ntp-server">GPS backed NTP server</h1> <h2 id="running-a-ntp-server-on-smartos">Running a NTP server on SmartOS</h2> <h3 id="background-information">Background Information</h3> <p>I recently migrated my gateway to run ontop of SmartOS (OpenBSD in KVM zone), I used to feed it my serial GPS to get a better fix. This won&rsquo;t work with KVM.</p> SmartOS and updates https://blackdot.be/2015/03/smartos-and-updates/ Sun, 22 Mar 2015 20:06:05 +0000 https://blackdot.be/2015/03/smartos-and-updates/ <p>As it comes as no surprise I migrated my hosting from ESXi Free to SmartOS a year or so ago. However every major update I spend an hour or so building a new zone from scratch to then switch over.</p> <p>This is tiresome so now I&rsquo;m working on a bootstrap script that will rebuild the zone for me from the data on a delegated dataset. So far 2/4 zones are done and this is AMAZING, a simple vmadm reprovision and all is set.</p> Very interesting read to start of the years. https://blackdot.be/2015/01/very-interesting-read-to-start-of-the-years/ Mon, 05 Jan 2015 17:09:27 +0000 https://blackdot.be/2015/01/very-interesting-read-to-start-of-the-years/ <p><a href="https://en.wikipedia.org/wiki/Bryan_Cantrill">Bryan Cantrill</a> has some interesting thoughts about the last year.</p> <p>Very much worth your time to read his blog entry <a href="http://dtrace.org/blogs/bmc/2015/01/02/2014-in-review-docker-rising/">2014 in review: Docker rising</a>.</p> <p>I also get a mention which came as a huge surprise and honer!</p> <p>Happy 2015 everyone.</p> OmniOS and Serial Console https://blackdot.be/2014/09/omnios-and-serial-console/ Tue, 02 Sep 2014 10:18:28 +0000 https://blackdot.be/2014/09/omnios-and-serial-console/ <p>Hey Folks,</p> <p>Sorry for not updating more often, but I do not have that much to say. The <a href="https://web.archive.org/web/20220121141253/https://docu.blackdot.be/">wiki</a> actually sees more information with me updating that as I go along or discover some small neat things! So please do check out the wiki also!</p> <p>I had page on the wiki about setting up a serial console on OmniOS and other Illumos based systems like OpenIndiana.</p> <p>Some improvements were made. But it boils down to a simple patch of console-login service to add 2 (or more) vt&rsquo;s on the serial ports.</p> Sophos UTM 9.x USB install https://blackdot.be/2014/01/sophos-utm-9-x-usb-install/ Thu, 16 Jan 2014 10:26:16 +0000 https://blackdot.be/2014/01/sophos-utm-9-x-usb-install/ <p>Today I had to reinstall my gateway/firewall but I no longer had blank CD&rsquo;s.</p> <p>I usually prefer to use a USB key but the asg-9.x.iso from Sophos has some issues with this.<br> I fixed it in a few minutes by comparing the mounts in a VM when booting from an ISO and the mounts when booting from USB.</p> <p>The problem is that the installer only tries to mount the cd rom and not USB keys to /install.</p> qemu(-kvm) monitor and serial console over sockets with minicom https://blackdot.be/2013/07/qemu-kvm-monitor-and-serial-console-over-sockets-with-minicom/ Mon, 22 Jul 2013 22:11:10 +0000 https://blackdot.be/2013/07/qemu-kvm-monitor-and-serial-console-over-sockets-with-minicom/ <p>It&rsquo;s been a while again! Today I will briefly talk about qemu(-kvm) and connecting to it using unix sockets with minicom.</p> <p>Why is this useful and cool? Well you can connect to a linux vm without running a shell and still get the full console experience! (BSD&rsquo;s, Solaris,&hellip; all should work)</p> <p>I won&rsquo;t dig deep into qemu, I will assume you are at least somewhat familiar with it.<br> All you need to do is add the following flags to the command you use to start your VM.</p> Running OmniOS/OpenIndiana under ESXi hosted at OVH https://blackdot.be/2013/06/running-omnios-or-openindiana-under-esxi-hosted-at-ovh/ Fri, 21 Jun 2013 20:49:44 +0000 https://blackdot.be/2013/06/running-omnios-or-openindiana-under-esxi-hosted-at-ovh/ <p>It&rsquo;s been a while since I posted but I only recently started tinkering with things again in my free time.<br> I travel a lot now for work so I spend some lonely nights in hotel rooms with no internet. I have time to play.</p> <p>Anyway, I wanted to host a repository for OmniOS because I&rsquo;m preparing to switch from OpenIndiana. I have some resources free on my ESXi server I have at OVH.</p> Moved, busy with work and Life https://blackdot.be/2013/03/moved-busy-with-work-and-life/ Wed, 13 Mar 2013 21:23:27 +0000 https://blackdot.be/2013/03/moved-busy-with-work-and-life/ <p>I&rsquo;ve now moved to Mons. I still have some work to do in the apartment like hide my cabling mess. (Suggestions on where to find cable sleeves in Belgium are welcome.)</p> <p>I&rsquo;m pretty good and actually am more busy now in the weekends so I have less time to blog and play around than I like. But eventually I&rsquo;ll go back to blogging.</p> <p>Currently I have a few ideas as to what to write about. I will do them in whatever order I feel like but I would be open to do one first if there is demand for it.</p> Happy 2013 https://blackdot.be/2013/01/happy-2013/ Thu, 03 Jan 2013 13:18:13 +0000 https://blackdot.be/2013/01/happy-2013/ <p>First of all I&rsquo;d like to wish all my visitors a good 2013, may all your wishes come true.</p> <p>I&rsquo;m still very busy getting things in order for my move and start of my new Job on Monday! I also got a pretty nice Christmas card from CustomSLR! I was very surprised by that, even more so when I opened it! Not tried them yet but will on my next trip. These guys are seriously awesome!</p> I’m still around, but very busy… https://blackdot.be/2012/11/im-still-around-but-very-busy/ Sun, 18 Nov 2012 21:05:32 +0000 https://blackdot.be/2012/11/im-still-around-but-very-busy/ <p>A lot is happening right now, I hope to have my life stable again early next year.<br> Change is coming, but good change!</p> <p>However due to this I&rsquo;ll have to part with my dell T410, it is a pretty basic server. So no PERC raid controller. Just the case, CPU, memory and motherboard. No drives included.</p> <p>I&rsquo;m giving it away to anyone who wants to pick it up, I&rsquo;m in the Antwerp area.</p> Still around but a lot I happening https://blackdot.be/2012/10/still-around-but-a-lot-i-happening/ Wed, 31 Oct 2012 15:29:39 +0000 https://blackdot.be/2012/10/still-around-but-a-lot-i-happening/ <p>I&rsquo;m still around, but a lot is happening in my personal life at the moment.</p> <p>I keep ending up with little time to spend on blog articles, it&rsquo;s not that I don&rsquo;t have ideas, I have a few actually. I just don&rsquo;t have the time.</p> <p>I&rsquo;ve updated some bits here and there on the wiki. So also check out stuff on there.</p> <p>I&rsquo;ve also received a message that someone can&rsquo;t access my site using chrome on windows, any body else have this issue?<br> Works fine for me on linux, mac and windows vista/7 with chrome.</p> Solaris wiki, SmartOS T-Shirt https://blackdot.be/2012/09/solaris-wiki-smartos-t-shirt/ Fri, 21 Sep 2012 17:55:45 +0000 https://blackdot.be/2012/09/solaris-wiki-smartos-t-shirt/ <p>I&rsquo;ve been busy lately with various things. Can&rsquo;t give a detailed update about it for now.<br> I have been slowly working my way through parsing my notes from my NAS installation and pulling useful snippets out of it. This was made more difficult due to my servers being offline due to a faulty 3-port NIC.</p> <p>If you hit the <a href="https://web.archive.org/web/20211126124654/https://docu.blackdot.be/snipets/solaris">solaris</a> section of the wiki. You will see some new stuff, most are related to networking and one about changing your keymap.</p> Reverse Proxy and Hyperlinks https://blackdot.be/2012/09/reverse-proxy-and-hyperlinks/ Tue, 11 Sep 2012 12:14:04 +0000 https://blackdot.be/2012/09/reverse-proxy-and-hyperlinks/ <p>For work I was migrating an old undocumented reverse proxy configuration from 2.0 to 2.2. It contained some old perl scripts nobody understood and some strange bits here an there.</p> <p>Long story short I started from scratch. I ran into the usual problems like redirects and hyperlinks being broken if they use full self referencing URL&rsquo;s.</p> <p>As it happened one of the perl scripts was there to fix those, it was ugly, unreadable and not very efficient.</p> Acer Aspire V5-571G https://blackdot.be/2012/09/acer-aspire-v5-571g/ Sat, 08 Sep 2012 20:36:08 +0000 https://blackdot.be/2012/09/acer-aspire-v5-571g/ <p>I bought myself an Acer Aspire V5-571G, to replace my aging netbook. I ended up going for Acer&rsquo;s low-end ultrabook because it was only around 35 EUR more expensive than a AMD Fusion netbook, it comes with and i3 with IGP and an additional GPU. So bang for buck it was a clear winner.</p> <p>I know when I got Acer the build quality is not that great, but for the price I payed and my intended abuse it was a bargain.</p> XMonad https://blackdot.be/2012/09/xmonad/ Sun, 02 Sep 2012 15:37:38 +0000 https://blackdot.be/2012/09/xmonad/ <p>I teased you all a while ago with my XMonad configuration. My Raspberry Pi and some other personal things have occupied my free time recently so I have not done any thing worth posting. So I finally took the time to wrap and tidy it up.</p> <p>I decide to switch to XMonad because I recently revived my old netbook. It has a small screen resolution of 1024×600 so every pixel counts. I tried using XFCE, although I like it. I thought I could do better.</p> Tunneling over ICMP https://blackdot.be/2012/08/tunneling-over-icmp/ Tue, 28 Aug 2012 14:00:40 +0000 https://blackdot.be/2012/08/tunneling-over-icmp/ <p>I&rsquo;ve been wanting to write about this for a bit. I usually VPN (to the gateway at home) for surfing when roaming. This also gives me access to my shellbox with my ssh key. You can usually connect to port 443 (https) on most networks, even those that force you to use a SOCKS or HTTP proxy.</p> <p>However sometimes this is not possible. But if you are lucky you can still use ICMP. A simple check would be see if you can ping a server.<br> <img src="https://blackdot.be/res/2012/08/tunneling-over-icmp/ping.png" alt="Terminal running on macOS showing a ping command"></p> What desktop environment do I use? https://blackdot.be/2012/08/what-desktop-environment-do-i-use/ Mon, 20 Aug 2012 18:53:18 +0000 https://blackdot.be/2012/08/what-desktop-environment-do-i-use/ <p>Someone just asked what desktop environment I use. They didn&rsquo;t like the new GNOME.<br> Those who know me well enough, will know I use a mac for my primary workstation. So I&rsquo;m using aqua as my primary desktop environment.</p> <p>I do run a lot of linux but none have xorg installed with the exception of my netbook. On my netbook I have a dual setup wit <strong>XFCE</strong>, because it reminds me of the good old days of GNOME. And an <strong>xmonad</strong> setup.</p> M-Plate Pro by CustomSLR https://blackdot.be/2012/08/m-plate-pro-by-customslr/ Fri, 17 Aug 2012 20:03:14 +0000 https://blackdot.be/2012/08/m-plate-pro-by-customslr/ <p>Last year I switched from a <a href="https://products.lowepro.com/product/Voyager-C,2075,41.htm">Lowepro Voyager C</a> strap to a <a href="http://www.blackrapid.com/product/camera-strap/rs-sport/">BlackRapid RS-Sport</a>. I like this combo a lot, especially if I&rsquo;m only carrying my Camera and not much else. However I recently Purchased a <a href="https://blackdot.be/2012/08/crumpler-messenger-boy-8000/">Crumpler Messenger Boy Stripes 8000</a> as my new smaller camera bag to take with me on my trips.</p> <p>I had my RS-Sport hooked to a Manfrotto RC2-Plate using there conversion kit (<a href="http://www.blackrapid.com/product/hardware/fr-t1/">FastenR-T1</a>) this works well when carrying just the camera. However when using the Messenger Boy it became a hassle to always unhook my camera from the RS-Sport and store it. Storing it with the RS-Sport attached required just about as much effort.</p> Crumpler Messenger Boy 8000 https://blackdot.be/2012/08/crumpler-messenger-boy-8000/ Mon, 13 Aug 2012 19:12:31 +0000 https://blackdot.be/2012/08/crumpler-messenger-boy-8000/ <p>While looking for a replacement for my <a href="http://www.lowepro.com/slingshot">Lowepro SlingShot</a> (<strong>MBSTR8000-004</strong> is no longer available). I was unable to find something that I liked and would work for me in their selection. My local camera store recommended the Crumpler Messenger Boy 8000, after a long search I finally found a place where I could order it. I found the color selection to be a bit lacking. However the brown with green one isn&rsquo;t too bad.</p> Which Illumos distribution do I use? https://blackdot.be/2012/08/which-illumos-distribution-do-i-use/ Wed, 01 Aug 2012 15:37:12 +0000 https://blackdot.be/2012/08/which-illumos-distribution-do-i-use/ <p><img src="https://blackdot.be/res/2012/08/which-illumos-distribution-do-i-use/DarkMediumPhoenixLogotypeRGB.png" alt="illumos phoenix logo in color"></p> <p>While on Linux you sometimes have to pick between apples and pears (Oranges being just a bit too different). Picking an illumos distribution is more like picking dark or brown chocolate.</p> <p>I&rsquo;m currently using OpenIndiana and I&rsquo;m overall very happy with it. However I have some issues with OI, being that KVM is more or less broken for me. (I did not experience this in OmniOS when testing.)</p> Updating a IPKG Zone https://blackdot.be/2012/07/updating-a-ipkg-zone/ Mon, 30 Jul 2012 08:55:38 +0000 https://blackdot.be/2012/07/updating-a-ipkg-zone/ <p>Here is a quick post on how to update a IPKG based zone on OpenIndiana and other illumos based distributions.<br> You cannot do this from withing the zone itself but this has to be done form the global zone.</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>zoneadm -z zonename halt </span></span><span style="display:flex;"><span>zoneadm -z zonename detach </span></span><span style="display:flex;"><span>zoneadm -z zonename attach -u </span></span></code></pre></div><p>When the zone is re-attached it will be update. So the zone will be down for a few minutes.<br> This also made it to the <a href="https://web.archive.org/web/20220121141253/https://docu.blackdot.be/">wiki</a> because I wasted a few hours trying to do this from withing the zone.</p> Z shell https://blackdot.be/2012/07/z-shell/ Tue, 24 Jul 2012 03:05:57 +0000 https://blackdot.be/2012/07/z-shell/ <p>I&rsquo;ve been on the lookout for a bash replacement for a while. After seeing a small discussion about <em>ksh</em> and the closed and open implementation in #illumos, my interest got reinvigorated.</p> <p>After playing with both <em>csh</em>, <em>ksh</em> and <em>zsh</em> for a while, <em>zsh</em> clearly won.<br> I won&rsquo;t bore you with the details of how this selection went, but I will share with you my <strong>.zshrc</strong>.</p> <p>Most of you probably don&rsquo;t know but I have a <a href="https://web.archive.org/web/20220121141253/https://docu.blackdot.be/">wiki</a> for my personal documentation, some of it is public like the <a href="https://web.archive.org/web/20220121141253/https://docu.blackdot.be/configuration/zsh">article on z shell</a>.</p> Solaris Antispoof / Link Protection https://blackdot.be/2012/07/solaris-antispoof-link-protection/ Wed, 18 Jul 2012 16:12:46 +0000 https://blackdot.be/2012/07/solaris-antispoof-link-protection/ <p>I&rsquo;ve seen <strong>anti-spoofing</strong> mentioned on <a href="irc://irc.libera.chat/illumos">#illumos</a> and <a href="irc://irc.libera.chat/openindiana">#openindiana</a> a few times but googling it turns up little information. Although I didn&rsquo;t check it out until <a href="https://twitter.com/rmustacc">rmustacc</a>&rsquo;s adviced me to do so regarding a KVM IPv6 issue I&rsquo;m facing.</p> <p>After asking around about it and and some further research it also seems to go by the name of <strong>Link Protection</strong> in the Oracle Solaris <a href="http://docs.oracle.com/cd/E23824_01/html/821-1458/giyjl.html">documentation</a>.</p> <p>I only found this out by actually figuring out what I had to set using <em>dladm</em> and then googling the parameter.</p> Quick lookup of SMF log file https://blackdot.be/2012/07/quick-lookup-of-smf-log-file/ Fri, 13 Jul 2012 12:27:26 +0000 https://blackdot.be/2012/07/quick-lookup-of-smf-log-file/ <p>As mentioned in my <a href="https://blackdot.be/2012/07/welcome-to-solaris-have-a-beer/">previous</a> Solaris related post, I&rsquo;ve recently started using Solaris.</p> <p>What I didn&rsquo;t mention is that I briefly use <em>Oracle Solaris 11 11/11</em>, but quickly went to OpenIndiana. I personally did not like the way Oracle is doing things. Plus the added benefit of <strong>KVM</strong> and some extra goodies here and there.</p> <p>I will now show you one of the neat things that will probably never make it into <em>Oracle Solaris</em>.</p> multi stage authentication using Apache HTTPd 2.4 https://blackdot.be/2012/07/multi-stage-authentication-using-apache-httpd-2-4/ Mon, 09 Jul 2012 19:28:40 +0000 https://blackdot.be/2012/07/multi-stage-authentication-using-apache-httpd-2-4/ <p>Here is a short tutorial on how to setup a multi stage authentication with an Apache HTTPd 2.4 server.</p> <p>The first stage will do a 2-way SSL encryption, so both server and client will need to present a certificate.<br> The second stage will be password authentication, the username has to match the username in the CN of the client certificate.</p> <p>This is similar to the Belgian eID, instead of needing a PIN to unlock the certificate.<br> We require a certificate and a password. Although this is not 100% the same, the security it offers is comparable for most purposes.</p> Apache HTTPd 2.4 on RPM based distributions https://blackdot.be/2012/07/apache-httpd-2-4-on-rpm-based-distributions/ Mon, 09 Jul 2012 06:48:19 +0000 https://blackdot.be/2012/07/apache-httpd-2-4-on-rpm-based-distributions/ <p>I previously mentioned <code>rpmbuild</code>. I wanted to write a little post on what it does and how useful it is. But I though it would be easier to just show you.</p> <p>So what is rpmbuild? It is a tool for building rpm packages based on a spec file. The resulting rpm should be close to the rpm provided by your distribution. I&rsquo;ve used rpmbuild on both Fedora and CentOS to create Apache HTTPd 2.4 binaries that works as a drop in replacement for the system ones.</p> Corsair Vengeance 1500 Dolby 7.1 USB https://blackdot.be/2012/07/corsair-vengeance-1500-dolby-7-1-usb/ Sat, 07 Jul 2012 10:31:19 +0000 https://blackdot.be/2012/07/corsair-vengeance-1500-dolby-7-1-usb/ <p><img src="https://blackdot.be/res/2012/07/corsair-vengeance-1500-dolby-7-1-usb/1500_kit-small.png" alt="Pictures of a Corsair Vengeance 1500 Dolby 7.1 USB"></p> <p>I was looking for a new headphones/microphone combo. I&rsquo;ve got a game PC again, so I play at night from time to time and keep my mother awake due to not having a headset.</p> <p>I also needed something for Skype. For my Game PC I could use the on-board analog plugs. But things like watching movies and anime, listening to music,&hellip; I do from my MacBook Pro.</p> SSL Client certificate injection using reverse and forward proxies https://blackdot.be/2012/07/ssl-client-certificate-injection-using-reverse-and-forward-proxies/ Thu, 05 Jul 2012 21:12:21 +0000 https://blackdot.be/2012/07/ssl-client-certificate-injection-using-reverse-and-forward-proxies/ <p>Here is a little trick to connect to a server that requires a SSL Client certificate when your client does not support it.</p> <p>To make it work your client must be able to use a proxy. We will use this proxy to rewrite certain servers to a reverse proxy that injects the client certificate.</p> <p>Lets get to the good stuff!<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p> <p>Lets start with the forward proxy, this is what will be configured in your browser, webapp&hellip;</p> Welcome to Solaris, have a beer. https://blackdot.be/2012/07/welcome-to-solaris-have-a-beer/ Tue, 03 Jul 2012 22:07:04 +0000 https://blackdot.be/2012/07/welcome-to-solaris-have-a-beer/ <p>I&rsquo;ve recently moved away from Linux to Solaris (OpenIndiana more specificly) for my NAS.</p> <p>Although I like the Linux community, the Solaris one is totally different.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p> <p>It&rsquo;s not a huge community, to me this is part of the appeal. You see a fair amount of the same people in the channels of the respective open source projects and efforts. This is very pleasant.</p> <p>Overall I find them all to be very helpful!</p> Fedora 17 Minimal https://blackdot.be/2012/06/fedora-17-minimal/ Sat, 30 Jun 2012 19:03:31 +0000 https://blackdot.be/2012/06/fedora-17-minimal/ <p>I have one Arch server left at home, it is behaving badly. It has some fairly new stuff on it so I can&rsquo;t replace it with CentOS.</p> <p>I should be able to replace it with a new Fedora. So I hunted for a minimal install image&hellip; nothing! Netinstall? Ofcourse not!</p> <p>Fedora is a <strong>desktop</strong> OS, the idea that you don&rsquo;t want a GUI seems alien to them 🙁</p> <p>Oh well, nothing to do about it. Let&rsquo;s give them what they want&hellip; then clean house. Hey it&rsquo;s MY os!</p> Linux and I https://blackdot.be/2012/06/linux-and-i/ Fri, 29 Jun 2012 22:55:01 +0000 https://blackdot.be/2012/06/linux-and-i/ <p>As you have guessed, I&rsquo;m a linux geek. I <em>used</em> to be of the bearded kind even.</p> <p>So here is a bit of my history with linux for those who are interested.</p> <p>It all started back in the day with my old Compaq laptop somewhere around 1999, &rsquo;t was the eve before Win2k. A Mandrake disk came with a computer magazine, my laptop was broken so I though I&rsquo;d give it a try. Most things worked, aside from X11. Due to it being a laptop, it had bad support back in the day.</p> IPv6, Are you ready? https://blackdot.be/2012/06/ipv6-are-you-ready/ Wed, 27 Jun 2012 02:34:21 +0000 https://blackdot.be/2012/06/ipv6-are-you-ready/ <p>Some of you may have noticed, but most probably haven&rsquo;t. <strong>All my important public facing services are now IPv6 ready!</strong></p> <ul> <li><strong>DNS</strong><sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></li> <li><strong>HTTP(s)</strong><sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup></li> <li>SSH</li> <li>SSL VPN</li> <li>IMAP</li> <li><strong>SMTP</strong><sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup></li> </ul> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-plaintext" data-lang="plaintext"><span style="display:flex;"><span>Congratulations, your mail system is IPv6 enabled! </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span>Below comes info about the email that triggered this reply. </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span>Your email was received at: Mon Jun 25 17:57:43 EDT 2012 </span></span></code></pre></div><p>But are you ready? You can check using <a href="https://test-ipv6.com/">test-ipv6.com</a>.</p> <p>Unfortunately the 2 biggest ISP&rsquo;s in Belgium don&rsquo;t offer native IPv6. You can however get a tunnel and a routed /64 subnet for free from many tunnel brokers. I&rsquo;m a very happy user of <a href="https://www.sixxs.net/">SixXS</a>, check them out if you need a tunnel!</p> 451 Unavailable For Legal Reasons https://blackdot.be/2012/06/451-unavailable-for-legal-reasons/ Tue, 26 Jun 2012 17:07:11 +0000 https://blackdot.be/2012/06/451-unavailable-for-legal-reasons/ <p>I recently came upon a <a href="http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00">IETF draft</a> that was published a few weeks ago.</p> <blockquote> <p><strong>451 Unavailable For Legal Reasons</strong></p> <p>This status code indicates that the server is subject to legal<br> restrictions which prevent it servicing the request.</p> <p>Since such restrictions typically apply to all operators in a legal<br> jurisdiction, the server in question may or may not be an origin<br> server.  The restrictions typically most directly affect the<br> operations of ISPs and search engines.</p> Encoding and Reverse Proxy with Zimbra https://blackdot.be/2012/06/encoding-and-reverse-proxy-with-zimbra/ Mon, 25 Jun 2012 20:51:01 +0000 https://blackdot.be/2012/06/encoding-and-reverse-proxy-with-zimbra/ <p>I found myself facing a strange issue while moving from my simple all-in-one VPS server to a more roomy <a href="http://www.kimsufi.co.uk/">Kimsufi 16G</a> running ESXi 5.0.</p> <p>I only have one IPv4 address so I am using Sophos UTM 9&rsquo;s Web Application Firewall to spread out some sites to different backend servers.<br> This is working fine, I did have to switch to basic protection for Zimbra Webmail but that&rsquo;s really a non-issue.</p> <p>However during the IPv6 push I made yesterday, Zimbra Webmail went FUBAR in Firefox. Worked fine in Chrome and Safari.<br> After about 3 hours of troubleshooting were I went over all the possibilities (Maybe Firefox mixed IPv4 and IPv6 requests, &hellip;).<br> I tried disabling IPv6 on my local UTM. Firefox worked again :S disabling IPv4 and forcing IPv6 was broken.</p> We are back! https://blackdot.be/2012/06/we-are-back/ Mon, 25 Jun 2012 15:22:08 +0000 https://blackdot.be/2012/06/we-are-back/ <p>We are back!</p> <p>Sort of, I&rsquo;m still migration from a single VPS to a set of VM&rsquo;s.<br> This brings with it a new set of problems related to proxying and things breaking because of this.<br> Going full out IPv6 has not made it easy, there are a lot of strange things with IPv6 and Zimbra.</p> <p>So here is some good and some bad news.</p> <ol> <li><span style="color: #99cc00;">I will be updating the site more often.</span></li> <li><span style="color: #99cc00;">It will still mainly focus on IT related things (Linux,Solaris,Apache,&hellip;).</span></li> <li><span style="color: #ff0000;">Most of the old content won&rsquo;t return.</span></li> <li><span style="color: #ff0000;">I will not be releasing newer version of Apache x64 binaries for the 2.2 or 2.4 branches.</span></li> </ol> <p>What exactly this will now evolve into, I can&rsquo;t say for 100% as of now.<br> As you have noticed I switched to <a href="http://wordpress.org">WordPress</a>, my old own software was way out of date and I can&rsquo;t invest the effort in updating it.<br> You will also have noticed I&rsquo;m use one of the available themes. I like this one. But I will create my own after all other things are fixed and migration.<br> For now this will do.</p>