Zap's Digital Lighthouse | |||||
|
Categories:
Archives: |
|
|
Sun, 25 Jun 2023 It's just been so long since I've posted something here, so let's give you all some news. Three years ago, I replaced the Seagate 8TB external USB disk that I used on my home file server to perform weekly semi-offline backups with another Seagate disk after it had failed. Well, the latest 8 TB Seagate disk failed again (it developed bad sectors). So this time, I bought a WD external USB disk for my backups. So, once again, this is what I did to replace the disk:
Et voila! It was done. I then ran my local backup procedure once again and we're back in business. I should also mention that on /March 11th 2023/, I've switched from a 400 Mbps cable connection for my home internet connection to a 1Gbps fibre connection. This is a side-effect of my Internet Service Provider (Ebox.ca) being bought out by Bell and hence wanting its customers to use Bell's fibre infrastructure instead of Videotron's cable infrastructure. Our building in downtown Montreal is wired for both Videotron and Bell, so it was relatively painless to switch. The new speed is nice, especially since it now costs me a bit less for 1 Gbps than it used to cost me for 400 Mbps. /FreeBSD | Posted at 20:53 | permanent link Thu, 14 Jan 2021eBox e-mailed me tonight to let me know that my new vCable 400 Internet connection had been activated. So after watching the hockey game on TV, I connected my new technicolor TC4400-AM modem onto the coax cable with my old Videotron modem used to me connected, and within a few minutes my new internet connection was indeed up and running. So after checking that everything was up and running properly, I ran the olde Ookla speed test to see if the speed was as advertized. Whoa! I now get 454 Mbps download and 56 Mbps upload. This is nice. It's also almost 3x the speed I had before for 30% less money monthly (to be fair, I've also changed some services, but rather minimally). This is a nice upgrade... only thing left to change is the outgoing SMTP server in my Thunderbird connection, and then I'll be done with the internet connection. Later on tomorrow, I'll configure the eBox TV app on my Sony Bravia Android TV: apparently, I will no longer need a set top box and my TV will be able to manage the eBox TV connection directly. I can't wait to try this out and see, but now it's late so time to go to sleep. Oh, and until I cancel my Videotron contract, my old TV service still works, so no huge rush to migrate (except for the fact that as of today, I'll be paying twice for the service). Good night all! PS. Ah ha. There was more to do: not only did I need to fix the /etc/hosts.allow files on my internet servers to allow access from home, but I also needed to fix the SPF records for both of my domains to authorize e-mail coming from eBox's SMTP servers. I've cleaned up the hosts.allow file pretty heavily, so I may need to go back and authorize my mobile phone and such... Sigh, there are always little things left and right. /admin | Posted at 01:24 | permanent link Fri, 01 Jan 2021So it's official now... 2020 is hindsight! Now, who could have guessed when 2020 came around that it was going to be such a strange year? The year of a global pandemic. The year started quite normal, we even went on a trip in the Carribean last February! And then, wham! Suddenly everyone was confined and we couldn't see anyone nor go anywhere. We all learned to wear masks and to be weary of our neighbors. Everyone who could switched to teleworking and "You're on mute!" became the most popular phrase of the year. Amazon, Skip the Dishes, and all of the local delivery services started making tons of money, while local restaurants and hotels were struggling. But who could have guessed? Well, now it appears pretty obvious that all the signs were there... I guess hindsight really is 20/20. Well, let's hope it's all over and that 2021 will treat us better: that we'll be able to have coffee with colleagues once again. That we'll be able to have lunch with friends once more. That we'll be able to hug family and relatives again. So here's hoping for a nice, fun, friendly, and healthy 2021. ...and while I'm in wishing mode, why not a Stanley Cup in Montreal? One can always dream :-) | Posted at 18:05 | permanent link Thu, 31 Dec 2020So, this is the last day of 2020, and what a year it has been. The COVID-19 global pandemic has certainly been extremely disruptive to most people's daily lives. Many of us found ourselves having to set up semi-permanent home office spaces for teleworking, and the companies that didn't have proper remote work infrastructures found themselves facing significant difficulties. And that's not even mentioning industries such as restaurants, travel, and hospitality where entire companies have found themselves in dire straights and people have lost their jobs in droves. Through all of this, I found a new and fascinating job running the IT department at my alma mater, so overall 2020 has been a good and positive year. From a technical point of view, we're just about to leave our current internet (and TV) provider to adopt ebox. We'll be moving up to a 400 Mbps connection, which is great. Hard to believe that our first permanent internet connection in 1995 was a 0.014 Mbps modem link (a 14.4 kbps modem connection) to Interlinx that connected our little Unix machine to the Internet for real for the first time. EBox seems like a solid outfit. I'll let you know more in 2021 once I've completed the connection and activated the TV and Internet services. Cheers to all of you, and here's hoping that 2021 is less quirky than 2020! /admin | Posted at 16:33 | permanent link Fri, 25 Sep 2020
Replacing the external backup drive on my home server
A couple of years ago (OK, maybe more like 3 years ago), I bought a Seagate 8TB external USB disk that I added to my server for semi-offline backups. I formatted it with ZFS with neither mirroring, nor RAID, and put in place a script every Sunday night that copied the entire content of the server onto the external drive using 'rsync' in case my server had a catastrophic failure even though the 4 drives are in a RAID5 configuration. This being said, the 8TB external Seagate drive got corrupted this week, and so I just threw it away and bought a new one. As a reminder, here's what I did to install it in my server: 1) I disconnected the bad drive 2) I destroyed the datasink zpool % zpool destroy -f datasink 3) I rebooted and connected the new drive (which ended up as da0), and then: % gpart create -s gpt da0 % gpart add -t freebsd-zfs -a4k -l seagate8TB da0 % gnop create -S 4k /dev/gpt/seagte8TB % zpool create -f -m none datasink gpt/seagate8TB.nop % zpool export datasink % gnop destroy gpt/seagate8TB.nop % zpool import -d /dev/gpt datasink % zpool status % zfs set mountpoint=/localbackup datasink and, to check if the drive is setup properly for 4k blocks: % zdb | grep ashift it should be set to 12. I then ran my local backup procedure, and it copied the content of the server onto the external USB drive in about 12 hours. Crisis averted. P.S. I probably ought to mention that I take a snapshot of my ZFS partitions every hour and keep (some of) them around for a couple of years. That's a nice feature of ZFS! /FreeBSD | Posted at 21:35 | permanent link Fri, 08 Nov 2019I've been running FreeBSD for years, but I've always run it from a console. Anyway, so here's what I did to get a FreeBSD desktop machine: a) Downloaded FreeBSD-12.0-RELEASE onto a DVD from the freebsd.org site and burned it onto a DVD (could have gone the USB stick route also). This was last October... by now I'd use FreeBSD-12.1-RELEASE of course :-) b) Booted from the DVD and selected option 1 (multiuser) c) Selected "Install" to set up this new machine d) Continued with default keymap (though I'll probably change that later on, as I always prefer the equivalent of 'US International' e) Gave the name a simple name: veneer.rax.org f) Selected just 'lib32' as an optional component (don't need sources ports, or kernel debugging on this small desktop computer) g) Went for 'Auto (ZFS)' for the file system as the machine has at least 4 GB of RAM h) Then I gave FreeBSD the whole disk rather than partitioning it. i) I chose 'GPT' as the partion scheme for the disk j) I accepted the proposed disk setup and hit k) And hit l) Once the disk was partitioned, I chose a password for the root account m) This computer is connected to my LAN via Ethernet, so I selected the Ethernet network interface to configure the network for my new machine n) I chose to configure IPv4 for this interface (I don't have IPv6 set up on that LAN anymore) o) And then asked to get an address via DHCP (usually, I give my machines fixed addresses, but this was only a simple test) p) I then indicated that I didn't wish to configure IPv6, as I don't have IPv6 configured properly on this LAN anymore q) I put in my domain name and prefered DNS servers on the Network Configuration page r) Selected my timezone: America > Canada > Eastern - ON, QC s) 'EDT' was what I was looking for t) I skipped setting the date (it was OK) u) I skipped setting the time too (it was also OK) v) I activated sshd, moused, ntpdate, ntpd, and powerd only w) Selected none of the System Hardening options x) Added no users to the system at this point (yes, I know, this isn't best) y) And then, I hit z) No more changes required zz) Reboot! After rebooting: a) adduser to create 'bill' account b) Add some packages: sudo, zip, unzip, zile, perl5, python3, rcs, rsync, smartmontools c) In the file "/usr/local/etc/sudoers", uncomment line 90 to enable "members of group wheel to execute any command" (with a password, obviously). d) Enable dbus in /etc/rc.conf by adding: dbus_enable="YES" e) Add some useful fonts: pkg install x11-fonts/anonymous-pro x11-fonts/artwiz-aleczapka x11-fonts/dejavu x11-fonts/inconsolata-ttf x11-fonts/terminus-font x11-fonts/cantarell-fonts x11-fonts/droid-fonts-ttf x11-fonts/doulos x11-fonts/ubuntu-font x11-fonts/isabella x11-fonts/ecofont x11-fonts/junicode x11-fonts/stix-fonts x11-fonts/webfonts f) Install the graphical user interface pkg install xorg g) If using an NVIDIA card, do this: pkg install x11/nvidia-driver pkg install x11/nvidia-settings pkg isntall x11/nvidia-xconfig then echo 'nvidia-modesetload="YES"' >> /boot/loader.conf then echo 'linuxenable="YES"' >> /etc/rc.conf echo 'kld_list="nvidia-modeset"' >> /etc/rc.conf then Reboot then Run nvidia-xconfig to get a base xorg.conf in /etc/X11/xorg.conf Pull it up in your favourite text editor and add the Module section to enable the freetype2, glx, type1 extensions In /etc/X11/xorg.conf: Section "Module" Load "freetype" Load "bitmap" Load "type1" Load "glx" EndSection Later on, once youre booted into the graphical environment, you can use nvidia-settings i) select the right default sound device, based on where you want your sound to come out from: cat /dev/sndstat spot the "default entry" and if it's not the right one, edit /etc/sysctl.conf and add the line: snd.... (check the file on my computer) then try to make it work: fetch a PCM file from the internet cat the-pcm-file > /dev/dsp and check which /dev/pcm file has been created Hopefully sound works at this point, and if not, find a troubleshooting guide on the Web j) Set up KDE: pkg install x11/kde5 k) Use KDE. Just put, in your .xinitrc file: exec startkde l) Install useful packages: www/firefox, www/vlc m) At this point, you can just use startx to launch into the KDE desktop and you should have a functional FreeBSD desktop with Firefox and all. You can also install SDM to have automatic graphical login start at boot time. It seems long, but wasn't difficult to do on this old PC. Note: If you have Intel Graphics, try just to type "startx"... it ought to work, and if you have an ATI graphics card look for the appropriate driver /FreeBSD | Posted at 08:31 | permanent link Sat, 20 Jul 2019First blog entry of 2019: it's been a while, but I cannot not blog on this 50th anniversary of mankind's first steps on the moon. I was 7 years old when that happened, and that feat created an incredible interest for science in my whole generation. One of the first programs I had on my programmable calculator was a lunar lander program where you had to determine how much fuel to burn so that you could land safely at Tranquility Base. These days, it's nice to see SpaceX and others rekindling the interest for space. I hope I stick around long enough to see us try to land on Mars. I wish successive generations can both take care of this planet and still continue trying to reach beyond: to explore and advance our knowledge of science and the universe. So tonight, I look up to the sky and remember the little boy who was fascinated with what we could do with technology -- and ended up studying computer science, which brought its own set of amazing discoveries, inventions, and evolutions. Congratulations to NASA and all of the space pioneers who helped make this possible. (Image credit to NASA) /misc | Posted at 21:53 | permanent link Mon, 31 Dec 2018
Moving a Running FreeBSD system from i386 to amd64
Recently, the little Soekris net6501 machine that I use as a home server for DNS and other similar functions decided to die after many years of useful service (it's a known problem of net6501 machines unfortunately; at some point they just self-brick and refuse to reboot :-( So I took the Gigabyte Brix GB-BXi3-4010 that I had been using on my TV in the living room and simply removed the Windows 10 mSATA drive from it and inserted the mSATA drive from my net6501 into it and Poof! FreeBSD booted fine and It Just Worked. Therefore in no time at all, poterne (my little home server) was back in action and no one at home even noticed, since we haven't been using the little Brix much since we bought a 4K TV that has Netflix and Youtube in firmware (maybe more on this some other day). However, the Intel Core i3-4010U Processor at the heart of the little Brix computer is a 64-bit part, so I'd like to move FreeBSD on poterne from i386 to amd64 so that it can use all of its 8GB of RAM, since I've noticed that dmesg presently says:
So I searched the Internet for "freebsd upgrade i386 to amd64" and I found a few pages describing successful upgrades. Actually, most of them recommended not to do it and just reinstall, but I decided to go for it anyway. The methods I found recommended upgrading by recompiling, so I fetched the FreeBSD 12.0-RELEASE installation media and installed the source code onto my little server. Then I started to recompile, but it took ages (maybe because I put the source and object files on the external USB disk?), so I decided to redeploy from RELEASE binaries:
The release tarballs are in /mnt/usr/freebsd-dist/ (such as src.txz, base.txz, etc.) Of course, I then used rsync to make a backup of my server onto my local NAS machine, in case anything went wrong. Then, I proceeded with the migration process based on recipes from various websites (notably https://wiki.freebsd.org/amd64/i386Migration). Turning the swap partition into a 'miniroot' seemed like a good idea, so I did that... My swap partition is is 6GB, so that worked well (6GB was enough for the 2GB of RAM I had on the Soekris net6501, but may could a bit short with the 8GB of RAM from the Brix... but then again, I probably won't need any swap space on the new machine with 8GB of RAM for a little headless server like poterne).
After setting up the miniroot on /dev/ada0p2, I rebooted from there and mounted the real filesystems onto /mnt and copied over the files from the miniroot to /mnt. I then rebooted with the new system and cleared the pkg cache and reinstalled all of my packages. In the end, it worked fine and poterne.rax.org is now running in 64-bit mode. /FreeBSD | Posted at 11:10 | permanent link Mon, 12 Nov 2018
Setting up my new home NAS with FreeBSD 11.2
So, I've got my new HPE Proliant Microserver Gen10 last summer, but I hadn't had time to set up it yet. I am setting it up with FreeBSD. (It's a sobering thought that FreeBSD is now 25 years old: I've been running it since the very first version, coming from 386BSD and Microport System V/AT before that.) I've put the 4 Seagate drives in the bays and inserted a USB key with
FreeBSD 11.2 on it in the internal USB port. As reported in the previous
blog entry, I had to add a "
in it. Then, I needed to:
Setting up the 4 Seagate disks with ZFS Here is how I set up the four 6TB disks on that new server:
So, here are the commands that I've run to initialize the disk space on my new server, conserved here for future reference:
/FreeBSD | Posted at 07:39 | permanent link
A new HPE Proliant Microserver
Last summer, one of the disks on my Proliant Microserver started generating some errors, so I decided to replace it with a newer generation, and I bought the Gen10 of the HPE Proliant Microserver. It's a nice piece of hardware. I bought it without any disks inside, and bought 4 Seagate 6 TB NAS drives from Amazon on Prime Day. So the question was: should I put FreeBSD on that machine, or should I install FreeNAS given that it's mostly used as a file server for my home network? After some back and forth, I decided to put FreeBSD onto it. Now, a bit of a nasty surprise awaited me: the HPE Proliant Microserver Gen10 does not boot FreeBSD out of the box. A known issue prevents it from booting the GENERIC kernel as is. The bug is described here, and unfortunately it doesn't look like it's going to be fixed in 11.2, 12.0, or beyond (though it seems like this patch ought to fix the issue). However, the problem is easy enough to fix: it just needs the FreeBSD
system to have a file called and then the O/S just boots normally. I have put the 4 Seagate drives in the enclosure, and added a small USB thumbdrive in the internal USB port to act as the boot device. I will format all the drives as a ZFS RAID-5 configuration and put all of the data and important files onto there. The configuration of the new fileserver is the topic of the next blog entry. Question: my experience with USB thumbdrives is so-and-so... after a while they just seem to become corrupted. I see three possibilities to alleviate that:
Stay tuned to see what I will decide to do next :-) /hardware | Posted at 01:05 | permanent link Sun, 11 Nov 2018Today is the 100th anniversary of the signature of the armistice which ended World War One. I had the opportunity to visit the beaches of Normady in 2011, including the Canadian monument at Vimy and the cemetaries where many of our fellow countrymen are buried having given their life in service to their country to fight for liberty. On 11/11, we like to remember them and all of the brave soldiers who have given (and are still giving) time and effort to help protect us in war and peace alike. War is always horrible and politics on a global scale is always complicated. But on this Remembrance Day, let's all find a moment to remember all of those who have fought and are fighting for us. LEST WE FORGET. And on this special day, let's all remember John McCrae's poem, "In Flanders Field":
Peace to all. /misc | Posted at 17:52 | permanent link Sat, 13 Jan 2018OK, so a few days ago, I complained that it was really cold in Montreal over the Christmas holidays. It was regularly around -21 degrees Celcius (or below zero for our Fahrenheit-using friends), and when you add the windchill factor, it actually felt like -40. Now, for the past couple of days, the temperature has shot up to above the freezing point. Way above. And it's been raining. But winter is coming back and it's freezing today. I don't relish the thought of going outside later on this morning and seeing how all the streets with be covered in ice :-( I like winter, but I don't like rain in winter. Tssss. /misc | Posted at 06:49 | permanent link Mon, 01 Jan 2018...and suddenly 2018 is here. Lots of expectations for that new year. It started oddly: Sylvie has a big cold, so she stayed under the covers and we stayed at home together. I think it was our first New Year's celebration with just the two of us. At midnight, I got an SMS from Olivier, and when I tried to reply: poof! Message failed. Tried sending messages for about 45 minutes, and the vast majority just failed. I am not sure if it's the local base station in my part of downtown Montreal that too busy, or if its the Rogers cellular network that was overwhelmed, or whether it's the whole cellular infrastructure that is knackered, but it is quite annoying. Of course, in the meantime, Apple's iMessage service worked fine, as did e-mail, Twitter, and a lot of other TCP/IP-based services I'm sure. I'm quite disappointed at the Rogers' cellular infrastructure, though. Oh well, let's not be overly critical on this new year's day. Happy New Year! May 2018 bring health, happiness, and success to you and your loved ones all year long. Best wishes! /misc | Posted at 01:18 | permanent link Sun, 31 Dec 2017So, it's the final day of 2017. Quite a year! Lots of things have happened this year in our family:
And that's without talking of other news like new nephews, new old colleagues, crazy markets, and the election of Donald Trump in the US! Quite a year, but a wonderful year. On the personal technology side, I am back in the 4K club with a vengence: my new PC has a 32-inch 4K screen, and I have a new 60-inch 4K TV in the living room. If you remember well, I got a 4K TV in 2014 for my birthday in Paris, but as we moved back to Canada at the end of May 2014, I could not bring it with me as electricity and TV broadcasting are incompatible between France and Canada. So I am back in the 4K world, and I am quite pleased with it so far. Thanks to NetFlix for offering 4K content, as my local cable company offers very limited content at 4K (they do have a 4K Christmas Fireplace Video :-) Oh, I guess I also ought to mention that I bought a new camera this year (is that still a thing?). Just before our trip to Las Vegas and the Grand Canyon last August, Sylvie and I bought a Nikon D7500 20.9 megapixel APS-C digital camera. I admit that nowadays we take most of our pictures with our cellphones and that our Samsung Galaxy S6 and S8 phones take very decent pictures, but with a grandson on the way, we felt that it was important to get a real camera that would let us take even more beautiful pictures than just our phones. One day, I should make a list of all the cameras I've owned. Just in the Digital Camera age, my main cameras have been the Nikon Coolpix 950 (bought in San Francisco in 1999), the Olympus E10, the Nikon D70, the Nikon D90, and now the Nikon D7500. Of course, that doesn't count the smaller Minolta cameras we've had like the Dimage X50 (we've had 3 or 4 over the years that Sylvie carried in her purse in our travels). So in closing, I hope you all had as good and eventful a year in 2017 as we've had in our family. I'm looking forward to writing more here in 2018 than I've taken the time to this year. See you soon and best wishes! /misc | Posted at 09:07 | permanent link Oh boy, is it cold outside in Montreal. I've enjoyed a full week of vacation to close 2017, and it has been great and quite relaxing... But it has been bitterly cold all week in Montreal, and it looks like it's going to continue into the first week (or weeks?) of the new year. Temperatures in Montreal are below -20 degrees Celcius (that's sub-zero for those still using Fahrenheit), and with the wind chill factor, it feels like -40 or so. Brrrr! Now mind you, I like the cold, so I'm not overly displeased with this. But that is because we've got good insulation in our walls and solid heating in our home, as these types of brutal temperatures will kill you in no time at all if you stay put. Brrrr! /misc | Posted at 08:34 | permanent link Fri, 06 Jan 2017Since I've moved back to Montreal from Paris, I haven't had time to re-set the IPv6 part of my LAN, which had been running off of a SIXXS tunnel for a few years. The good news, is that my local ISP (Videotron) has been allowing IPv6 to the home for a few years already though 6rd... it's not yet native IPv6 to the home, but as far as I can tell it seems functionally useful (information available here). So, I activated 6rd on my Asus router and got an IPv6 address as expected. This is good, so I will set up my home server (DNS, web, etc) to also work with IPv6 and move back to a hybrid IPv4/IPv6 home network... need a couple of days to work on that, so it will probably not happen before spring (ha!). Still, it's good to see that IPv6 is spreading. I am quite impressed by Google's statistics here... seems like over 15% of users access Google through IPv6 today. That's a lot more than I expected! Glad to see that the transition is really happening. /inet | Posted at 02:58 | permanent link Sun, 01 Jan 2017Welcome to the new level, welcome to 2017, welcome to the year of the 150th anniversary of Canada. I'm just about old enough to remember the centennial celebration in 1967 in Montreal, with the International Exposition Expo 67, so even though I've lived abroad for a number of the intervening 50 years, I feel some sort of connection to this event and I will certainly seek out some celebrations during this year to show I feel that this is a most excellent country :-) It's been fun being along for the ride for the past 50 years, and while it's a bit sobering to reflect that I will most likely not be around anymore in 2067 for the 200th anniversary, I intend to be along for a great many years still. So, to my friends all over the world and all over this country: I wish you a happy 2017, and I invite you to join me in wishing this country a happy anniversary! | Posted at 17:21 | permanent link Wed, 09 Nov 2016Hmmmm. At this late time of night (or early time of the morning), media outlets have called the election for Donald Trump. Apparently, Hilary Clinton has phoned him to concede the election, even though she will not give a speech tonight. Throughout the primaries and the election, pollsters have underestimated support for Donald Trump. Seems to me like the biggest losers in this election are pollsters and people who try to interpret polls: they just seem to be consistently wrong these days. Actually, this has also been true regarding #Brexit (and the last Canadian election also). Seems like pundits consistently underestimate the degree to which voters are upset these days. Listening to Donald Trump's victory speech... and then off to sleep. Tomorrow will be crazy in the markets. Good night to all. /misc | Posted at 02:52 | permanent link Sat, 15 Oct 2016Very busy time lately, but I'm glad to see that FreeBSD 11.0-RELEASE is now out, so I started upgrading my systems to this latest release this morning. It is quite easy:
and that's it. On one of my Soekris boxes (the net6501) that has an external USB disk for backups and general storage, the new kernel seems to try to check the filesystem faster than it used to... this means that it tries to fsck the filesystem before the USB disk has been mounted, and hence I get:
and then it retries and works fine. The filesystem is tagged as 'late' in fstab, but that doesn't appear to do the trick. OK, back to PuTTY to complete the upgrade of my various systems. /FreeBSD | Posted at 08:15 | permanent link Sun, 31 Jan 2016I've lived through many generations of laptops, from the Osborne 1 through various Toshibas, HPs, Dells, IBMs, Lenovos, and Macbooks to today's Ultrabooks and various tablets. Of course, using a mouse with a laptop has always been annoying: you're trying to use the laptop on a plane (on one of those ridiculously small tray tablets), and there is no place to use a mouse properly. Various companies have tried various tricks to make the experience a bit easier: tiny mice (Kensington has produced those for years), trackballs, ... but with limited success. The only one that I found I could use proficiently, is the IBM trackpoint. However, in recent years, probably due to the influence of Apple MacBooks, more and more laptops come with touchpads (or should I say, all laptops come with touchpads?). Sigh. I find touchpads really annoying as devices to interact with laptops. It's difficult to reliably do many of the operations that I need to do when using a computer:
I am even annoyed by my Lenovo Yoga laptop at work, even though it has a trackpoint in addition to the touchpad, but I find that even just as a "right and left button" replacement, the touchpad is not working as reliably as a pair of dedicated buttons :-( I still prefer a trackpoint nib with two buttons over a touchpad, even if some of the gestures on the touchpad are nice (e.g. to zoom on a picture). However, if I look at the industry, this is clearly a battle that is not worth fighting: this ship has sailed and touchpads are definitely part of the modern laptop configuration these days. Grin and bear. /hardware | Posted at 13:18 | permanent link Thu, 31 Dec 2015As 2015 comes to a close, we're once again heading to Henri's for our usual end of year revelries. It has been quite a year, with lots of changes. Let's hope 2016 proves to be positive for us all. So once again, I wish you all a very happy, healthy, and successful new year. Cheers /misc | Posted at 18:44 | permanent link Thu, 10 Dec 2015In this age of ubiquitous technology and the Internet of Things, I must admit that I have quite a few misgivings about the rough edges of the technologies that we're introducing in our lives... Some recent caveats:
So this gets me thinking about self driving cars and how often I disagree with our GPS's recommended routes. I foresee much annoyance/frustration ahead for all of us poor humans in the upcoming IoT controlled world. Sigh. Good technology is tough to get right! Still, I am an incorrigible tech-addict :-) /tech | Posted at 19:51 | permanent link Sun, 08 Nov 2015
Adding a new USB disk to my FreeBSD 10.2 server
(I think that the stuff below is accurate, but do proceed with care if you're going to try it out... I could have made a mistake writing down the list of steps. Let me know if you spot any issue.) I would like to add a new USB disk to my FreeBSD 10 machine. In the olden days, I used to use sysinstall, but that doesn't seem to be the modern way to do things these days. Notably, I would like to "label" the drive, so that I can mount it with its logical name rather than its physical device name... this is particularly important for USB disks, as plugging and unplugging USB device ports may cause changes in device names, which could cause really annoying issues if fstab mounts the wrong device (as I've already written about on Feb 20th, 2012). So, here is what one must do to set up a new disk for use on FreeBSD... 1) First of all, decide how you're going to name your device. Using volume names instead of just raw device names is highly desirable if you're in a dynamic environment (e.g. if you're going to be adding disks to the computer in the future -- including USB storage, devices may end up being renamed). For USB disks, choosing good label names is important: you may want to replace a disk at some point if one crashes (so do not use the /dev/ufsid/... names) and/or you may have a CPU crash and you'd like to mount your disk onto some other FreeBSD system (so do not use the same names for your bootdisks on all computers, unless they are truly meant to be considered identical clones). This means that 'bootdisk' is probably not a great label, in case you ever need to mount it on another machine that also boots from a 'bootdisk'... 'myhostname-bootdisk' might be better, albeit a bit verbose. I'm not sure if there are canonical policies for that sort of thing, but I'd be interested in hearing about recommendations in this area. Now, getting to the actual set up of the drive. 2) connect the disk to the USB port, and check out the dmesg log to find out the correct device name, something like da0 or da1 (depending on whether it's your first USB or SCSI disk, or your second one, or ...)
In this case, it's da0 and it's connected to a USB3 port (so it can do 400 MB/s rather than 40 MB/s for USB2). As always: make sure you select the right device name, because formatting the wrong drive is bad and will cause your data to go away. If you want to check out which disks are present, you can type:
You can also use the usbconfig command to see what USB hubs and devices are present on your system:
You may also want to use the 'mount' command to check which disks are currently mounted, but with volume labels being used instead of phycical device names, you may not see the 'real' devices names in there (e.g. /dev/ufs/bootdisk instead of /dev/da1 or something similar). 3a) Once certain which disk to use, if a UFS filesystem is desired, proceed thusly (if a ZFS filesystem is desired, move on to step 3b): (note: /dev/XXX represents the new disk, such as /dev/da0 or /dev/ada1)
This creates a whole disk for FreeBSD (such as a data disk). If you want to set up a disk with multiple filesystems, you can do something like: (This creates a 'USB boot disk')
Et voilà, finished. You may want to add a line to /etc/fstab to have /dev/ufs/myvolume mounted automatically at boot time. Always use volume label names instead of physical disk drive names, especially for USB drives where the disk drive name may change across reboots depending on what USB devices are plugged into the computer's ports and USB hubs. 3b) If a ZFS filesystem is desired instead, skip step 3a and proceed thusly (with /dev/XXX representing the new disk, such as /dev/da0 or /dev/ada1 once again): (Once again, this creates a 'USB boot disk')
Et voilà, finished. 4) At this point, your disk is up and running. Do not forget to use mount to make it available under FreeBSD, and to umount it before unplugging it. Good luck! Supplementary readingYou may want to check out http://www.macfreek.nl/memory/FreeBSD9withZFSbootdisk for more info. Furthermore, http://www.macfreek.nl/memory/FreeBSD9onSoekrisnet6501 may also be pertinent. And about ZFS, do check out: http://nex7.blogspot.ca/2013/03/readme1st.html and of course this: http://www.solarisinternals.com/wiki/index.php/ZFSEvilTuning_Guide /FreeBSD | Posted at 01:02 | permanent link Wed, 21 Oct 2015In the Back to the Future II movie, way back in the '80s, Marty McFly travels to the future... he travels to the 21st of October 2015. It's amusing to be living tthat day "for real". So we don't have hoverboards yet (not quite), but we have lots of technology that the '80s would find truly amazing... I often say that in IT we reinvent the impossible every 5 years. Nothing really exceptional happened today in my segment of the universe, except for the fact that I've finally obtained a Bat.-Chat. 25t Tier X medium tank in the World of Tanks on-line game after many months of playing. It should be a fun tank to play. Anyway, happy Back to the Future Day to all. Cheers! (p.s. it's still 2015-10-21 in Montreal as I write this :-) /misc | Posted at 23:42 | permanent link Wed, 24 Jun 2015
Personal missions for World of Tanks - June 2015
On January 15th 2015, World of Tanks introduced personal missions. I wanted to have a simple list outside of the game to keep in another window, hence this blog entry. Later in 2015, Wargaming changed some of the missions, hence this updated list. A) Operation StuG IVLight Tank missionsLT-1: For Victory!
LT-2: Reconnaissance
LT-3: The Pursuit
LT-4: A Forced Halt
LT-5: The Forward Observer
LT-6: Battle Support
LT-7: The SPG Hunter
LT-8: Get Out of Our Base!
LT-9: Hawk-Eyed
LT-10: The Maximum Result
LT-11: A Fair Fight
LT-12: The Ghost
LT-13: The Key to Victory
LT-14: The Battle Watch
LT-15: The Aggressive Recon Specialist
Medium Tank missionsMT-1: First Steps
MT-2: Good Hit!
MT-3: The Spearhead
MT-4: Stay Still, Would You?
MT-5: Counter-Reconnaissance
MT-6: Rapid Fire
MT-7: A Surprise Blow
MT-8: Confrontation
MT-9: A Worthy Opponent
MT-10: A Versatile Warrior
MT-11: Ram Them!
MT-12: The Incinerator
MT-13: An Active Action
MT-14: Team play
MT-15: The Hunter and the Hunted
Heavy Tank missionsHT-1: Debut
HT-2: Point Blank Shooting
HT-3: Omnivorous
HT-4: Hit Them Where It Hurts!
HT-5: Target Acquired!
HT-6: A Heavy Target
HT-7: I've got it covered
HT-8: With Guns Blazing
HT-9: A Crushing Blow
HT-10: A Weighty Argumennt
HT-11: Not Even a Scratch!
HT-12: Sturdy Armor
HT-13: Storm the Defence!
HT-14: Platoon Assault
HT-15: Tempered Steel
Tank Destroyer missionsTD-1: Effective performance
TD-2: Aimed Fire
TD-3: Good Hunting
TD-4: Ambush
TD-5: A Long-Range Gun
TD-6: Precise Calculation
TD-7: The First Strike
TD-8: A Huge Caliber
TD-9: Spot On!
TD-10: A Hidden Menace
TD-11: The Key Role
TD-12: Big Game Hunting
TD-13: Tank Hunters
TD-14: Big Hunt
TD-15: Triumph
Self-Propelled Gun missionsSPG-1: The Sharpshooter
SPG-2: Hidden and Dangerous
SPG-3: Howitzer Strike
SPG-4: Break On Through
SPG-5: Calculate & Obliterate
SPG-6: The Falling Hammer
SPG-7: Roll Out the Big Guns
SPG-8: Heavy Fire on Heavy Tanks!
SPG-9: Lead Them Till You Hit Them
SPG-10: The Bane of Artillery
SPG-11: The Area of Effect
SPG-12: The Striker
SPG-13: The Artillery Battery
SPG-14: United Offensive
SPG-15: War Gods
That's it for now /games | Posted at 14:47 | permanent link Mon, 18 May 2015Saw Mad Max: Fury Road over the weekend. Hmpf! I can't say that I liked the movie. I will say that I was really impressed with Charlize Theron's rendition of the Furiosa character. That was truly world class acting! But the rest of the movie? Meh! I know it's supposed to be over the top, an exagerated view of a harsh futuristic world, but I have to admit that some elements (like the guitar guy on the rig) just ended up making me laugh out loud, and a couple of times I just turned over to my wife and sighed deeply. So, in conclusion, I think it's worth it to see Charlize Theron's really strong acting performance, but the rest of the movie is just... so disappointing! 6/10 /misc | Posted at 17:57 | permanent link Sun, 10 May 2015Apple makes some good and neat products. The quality of their build and the attention they put to detail makes purchasing their products a really nice experience (just unpacking a Macbook is a first step in a very nice user experience). But the decisions they make keep annoying me in really practical ways, to the extent that if I went into a store today, I would not purchase another Apple product. In the past, they have left me stranded when I've tried to be an early adopter of their technologies (I bought a 15" MacBook Pro when Apple switched to Intel processors, only to be left stranded when it became the only Intel MacBook Pro not to support 64-bit OS X, and then I bought a 3G 64GB iPad the year they came out, only to be left stranded when releases of iOS stopped supporting the iPad 1 from iOS 6 onwards), but this time it's The main use of my iMac these days is to manage our family's photos collection. I've been using iPhoto for about 10 years to keep our 36000 photos organized by events, and have spent quite a bit of time giving titles to events and naming faces in various photos. With OS X Yosemite, suddenly iPhoto is gone and replaced by Photos for OS X. Now, not only is this a really annoying application name (try googling for Photos, you'll end up with millions of unrelated links), but even though it looks like a nice simple application, Apple has decided to remove from my PC useful features of iPhotos that I used on a regular basis:
So, I've stopped using my iPad, I've stopped using my MacBook Pro, so I guess I'm getting to the point where I'll stop using my iMac also. Booo Apple. /software | Posted at 08:21 | permanent link Sun, 01 Feb 2015
Setting up an Unbound DNS server for a local network
Since FreeBSD 10, BIND has been replaced as the default DNS server by Unbound. This is nice for all kinds of security reasons (many of the recent FreeBSD security advisories have been because of BIND issues), but it does mean changing some 20+ years old habits. On my local network, I like to have a small server that acts as the DNS server for all of my home machines (of which I have too many indeed), not only for speed of resolution and resilience, but also to have authoritative reverse DNS resolution for machines in the private address space (192.168.1.*)... so I do not only need a local caching server, but I need to configure it to serve my local network, and to be authoritative for a small set of addresses under 1.168.192.in-addr.arpa. This means doing a bit of configuration beyond the out of the box Unbound config in FreeBSD 10.1... I have found a few helpful sites in setting up my Unbound DNS server:
but Google will help you find a lot more. The FreeBSD Handbook says "By default, Unbound will provide DNS resolution to the local machine only. While the base system package can be configured to provide resolution services beyond the local machine, it is recommended that such requirements be addressed by installing Unbound from the FreeBSD Ports Collection.", however I found that for my very simple case it was easy to configure the "local_unbound" that is part of FreeBSD 10.1 do serve as my local network's DNS server... Went to I then simply added a file in
It seems to work at this point. Later on, I can explore the statistics produced by Unbound, but this is sufficient to get our little home server up and running. /FreeBSD | Posted at 06:27 | permanent link Tue, 27 Jan 2015
Personal missions for World of Tanks - January 2015
On January 15th 2015, World of Tanks introduced personal missions. I wanted to have a simple list outside of the game to keep in another window, hence this blog entry. A) Operation StuG IVLight Tank missionsLT-1: For Victory!
LT-2: Reconnaissance
LT-3: The Pursuit
LT-4: A Forced Halt
LT-5: The Forward Observer
LT-6: Hawk-Eyed
LT-7: The SPG Hunter
LT-8: Behind the Enemy Lines
LT-9: Battle Support
LT-10: The Ghost
LT-11: Laying Artillery Fire
LT-12: Combat Patrol
LT-13: A Fair Fight
LT-14: The Maximum Result
LT-15: The Reconnaissance Pro
Medium Tank missionsMT-1: First Steps
MT-2: Run and Gun
MT-3: The Spearhead
MT-4: Stay Still, Would You?
MT-5: Counter-Reconnaissance
MT-6: Rapid Fire
MT-7: A Surprise Blow
MT-8: Confrontation
MT-9: The Incinerator
MT-10: Good Hit!
MT-11: Ram Them!
MT-12: Team Play
MT-13: An Active Action
MT-14: A Worthy Opponent
MT-15: The Hunter and the Hunted
Heavy Tank missionsHT-1: Debut
HT-2: Point Blank Shooting
HT-3: Omnivorous
HT-4: Hit Them Where It Hurts!
HT-5: A Weighty Argument
HT-6: A Heavy Target
HT-7: A Relentless Raid
HT-8: With Guns Blazing
HT-9: A Crushing Blow
HT-10: Target Acquired!
HT-11: Not Even a Scratch!
HT-12: Sturdy Armor
HT-13: Storm the Defense!
HT-14: Platoon Assault
HT-15: Tempered Steel
Tank Destroyer missionsTD-1: Effective performance
TD-2: Aimed Fire
TD-3: Good Hunting
TD-4: Ambush
TD-5: A Long-Range Gun
TD-6: Precise Calculation
TD-7: The First Strike
TD-8: A Huge Caliber
TD-9: Spot On!
TD-10: A Hidden Menace
TD-11: Tank Hunters
TD-12: Big Game Hunting
TD-13: The Key Role
TD-14: Big Hunt
TD-15: Triumph
Self-Propelled Gun missionsSPG-1: Howitzer Strike
SPG-2: Hidden and Dangerous
SPG-3: The Sharpshooter
SPG-4: They'll Never Know What Hit Them
SPG-5: Assistance in Destruction
SPG-6: The Falling Hammer
SPG-7: Counter-sniping
SPG-8: Heavy Fire on Heavy Tanks!
SPG-9: Lead Them Till You Hit Them
SPG-10: The Bane of Artillery
SPG-11: The Area of Effect
SPG-12: The Striker
SPG-13: The Artillery Battery
SPG-14: United Offensive
SPG-15: War Gods
That's it for now /games | Posted at 22:34 | permanent link Wed, 31 Dec 2014The books are rapidly closing on 2014, and what a year it's been.
All in all, it's felt like an exciting and fascinating year... I feel 2015 is coming in in a big Whoosh. And as technology is concerned, it's only going to continue getting more interesting! My big wish for 2015 is that we continue to push for open standards, protocols, and connectivity. So I wish you all a very happy 2015... take care and enjoy life. Cheers! /misc | Posted at 17:14 | permanent link Sat, 25 Oct 2014
Football cheers: a trip down memory lane
Back in the olden days (we're talking late 1970's to early 90's here), my friend Francis (who's sadly no longer with us) got a bunch of us together and we got season's tickets to the Alouettes (*). Just for memory's sake, I thought I post the quirky cheers that our little group used. It went something like:
and we didn't need a special code for "Put in Gerry"... somehow the coaches always seemed reluctant to make Gerry Dattilio the starting quarterback, but whenever he was brought in, magic occured (from Wikipedia: "Among Canadian quarterbacks Dattilio is second all-time in statistics with 9952 passing yards"). Good times were had by all, even though we lost more than our share of games in those early '80s. I'm just sorry I missed the 2000-era Alouettes... somehow Canadian Football did not get much airtime in Paris and Zurich ;-) (*) actually, it started off as the Alouettes, then became the Concordes, and then the Machine. That was before football disappeared in Montreal. So I left for Europe for 18 years, and the Alouettes came back and did great. So perhaps I should get season's tickets again, now that I'm back. We'll see next year. (**) memory blank here... if Jacques, Marc-Andre, Alain, Nicole, or any of the guys remembers what 10-11-12 was, let me know. /misc | Posted at 10:30 | permanent link Tue, 30 Sep 2014
Dealing with IoT items and the cloud
More and more items available in the stores these days, are connected. Light switches, fridges, bathroom scales, and more, are internet connected and share information with the rest of the world. I don't mind having my devices making data available, but I would rather have this data be available to me and my servers, and not shared within the cloud and/or the company that makes the device. I actually resent and, I guess, actively resist, having my devices participating in the cloud and sharing information about me, my family, and my environment with the outside world. I am, however, quite interested in having devices that make their data available to me. A new interesting project for the coming weeks :-) /misc | Posted at 23:28 | permanent link Sat, 02 Aug 2014Hmmmm. Seems like ASUS has produced a successor to the UX32VD ultrabook that I bought last year. It is the UX32LN and is based on an Intel Haswell CPU with an NVIDIA 840M discrete graphics chip. This seems (unexpectedly?) significantly better than what the UX32VD provided last year. I recommend it as a really sleek and lightweight gaming + multipurpose ultrabook. I have been quite happy with the UX32VD, and as the UX32LN comes with even better graphics, it should be quite competent for gaming. One caveat though: make sure you pick the right options when configuring your UX32LN: you want the fast CPU, the nice screen, and enough memory. It is nicely upgradable though. Anyway, it's quite nice what we can get these days in a light and slim little package! Enjoy! /hardware | Posted at 09:27 | permanent link As I've posted earlier on May 25th, we have moved back to Montreal after 18 years in Europe (Paris, then Zurich, then Paris again). It's been a busy few weeks since landing back here, with a new job and a big search for a new place to live. I'm happy to say that we've now found a new appartment in the beautiful Altitude project in downtown Montreal. You can find a view from our office window above! There are presently many very nice condos available in Montreal with many more projects to come, but the Altitude was the one that really caught our eye as the most interesting and attractive in town. It's been fun being back in Montreal: not only have we been able to enjoy seeing many friends and family members a lot more than before, but also we've been able to enjoy some of the Montreal summer festivals (the Montreal Jazz Festival, the Festival Juste pour rire, and more). Of course, we have good friends that we miss in Europe, but being back here feels like home. Now, if we can just empty those 200+ boxes that the movers have left in our appartment :-) /misc | Posted at 09:26 | permanent link
Adobe Creative Cloud: not for me
I have been a user of various Adobe products for years. Photoshop, Premiere, Acrobat, and even some of the more obscure ones. Some of these, I use professionally at the office (notably Acrobat), but for the others, I am a casual user. As I've never been one for pirating software, I have bought over the years the odd license for Photoshop, Premiere, and Acrobat for personal use. Most of them for Windows, but even some on MacOS X when I had switched my main computer to an iMac. I use something like Photoshop every couple of months... Premiere, once a year or so. I still found it useful to have the "real" Adobe software because if I needed to do something, I really could do it. Every so often, Adobe would write to me to encourage me to upgrade to the latest release... most of the time, I'd file these ads in the "Advert" folder an ignore them, but every few years or so, there would be a new feature compelling enought that I'd upgrade to keep up. Now, they keep writing me to encourage me to subscribe to their Adobe Creative Cloud with its montly fee. Pfff! There is no way that I would saddle myself with a recurring monthly fee for something that I will not use on most months! As a general rule, I eschew recurring fees except for things which are really regular and important to me (heck, I even bought Office 2013 on my laptop instead of subscribing to Office 365). So, I will look for alternatives to Photoshop and Premiere, and Adobe has now lost my (irregular, but somewhat recurring) revenue stream going forward. Unfortunate move Adobe: you should have offered options to your customers. /software | Posted at 09:13 | permanent link Sun, 25 May 2014After more than 18 years in Europe, I am moving back to Canada and to a new job, next Friday. It will be good to get back home and be closer to family and friends, but as always with these things, it is somewhat bittersweet because we will be leaving behind some great friends and colleagues out here. Paris is one of the world's greatest cities, and to see the Eiffel tower every day on my way to work is something I will surely miss. On the other hand, I am quite excited about being reunited with my sons and with the new job! I am joining a class organization and I look forward to meeting my new colleagues there and making new friends. There will be much work to do to complete the transformation of the IT of the Bank, and as IT is at the heart of Financial Services this promises to be interesting, challenging, and impactful. There will be more to say in the coming weeks... stay tuned! /notwork | Posted at 12:55 | permanent link Mon, 12 May 2014 OK, so I will not do the whole Internet meme thing about "oh my god, double rainbow what does it all mean", but... On our way to our friend Caroline's yesterday night, it rained pretty suddenly... and just as suddenly, wham, the sun came out. We looked around for a rainbow and then suddenly there was this neat double rainbow over Paris. My wife didn't have time to take the picture with the double rainbow with the Eiffel tower, but she did get the great "double rainbow above the Place d'Iena" picture that you can see above. Must have something to do with the fact that in couple of weeks, we're going back to Canada after 18 years in Europe :-D /misc | Posted at 16:19 | permanent link Wed, 02 Apr 2014 Have you noticed that people start blogging, then they do it semi-regularly for a while, then they get busy, then they post a "oh, I haven't blogged for a while but I will start doing it again soon" and then their blog goes quiet forever? Well, I hope this is not just another occurence of this regular ailment :-) So, it's been a while since I've taken the time to write on here. Lots happening of course, writing up and launching the implementation of a major Digital strategy at work has been keeping me quite busy. Old team members leaving, new team members joining, it's a very active and intense period over at the olde office. Some madness in the industry (come on, whatsapp for $19 billion US ?!?), some buzzwords as always (big data - which according to some doesn't even have to be big), but also some fundamental changes and as always some fun new technologies (really happy with my nice 4K TV). Anyway, as I've said, lots happening... hence the cartoon picture from Gotlib above... inspector Bougret and his faithful sidekick Charolles saying essentially "onwards!". The world is quite exciting and is fast changing... I need to take some time to attend TED one of these years! En avant vers de nouvelles aventures! /misc | Posted at 19:41 | permanent link Sun, 27 Oct 2013My wife and I saw Gravity at a cinema on the Champs Elysées this morning. We had heard mixed comments about the movie, but had heard that most critics quite liked the movie. After seeing it, my best comment is wow. I think it's clearly a must-see movie. Not necessarily for the story, but it is a remarkable movie: the visuals are great, the action is gripping, and Sandra Bullock's acting is just stellar. Of course, the science isn't perfect and the story is a bit predictable, but they do keep you on the edge of your seat and succeed well in making the viewers suspend disbelief. Overall a great movie. Try to see it on a large screen in 3D if you can. /misc | Posted at 15:21 | permanent link Fri, 18 Oct 2013
Windows 8.1 update: good with a couple of annoyances
So, Windows 8.1 is out today. I upgraded by new PC (oh, I haven't written about that yet... guess it's a good topic for my next blog post) from Windows 8 to 8.1 this morning. The update went smoothly, with only a couple of annoyances:
Oh well... it still works, I'll play with it further over the weekend. (*) In the positive effects category, one can now specify that Windows logs in to the Desktop screen instead of the newfangled Start screen (where the first action I took was always to click on the Desktop tile), so I can basically blissfully ignore the New User Interface applications and use Steam, MS Office, Thunderbird, Firefox, VLC, Spotify, Skype, /WoW, _WoT, all of my regular Desktop applications on a regular basis. Overall, it all went pretty smoothly... I'm glad to have upgraded. (*) Note to self: I hate software that is too clever for its own good and will disable menu options and configuration options when it thinks something is already active, when you clearly know that it's not. Clever/fancy user interfaces often get stuck in funky states when you have an unsual configuration or if an update aborts in the middle (lack of disk space or power outage)... the number of times in my life that I've found myself having to trick an application into understanding the state that it was truly in is just distressingly high. /software | Posted at 23:58 | permanent link |
|