Author Archives: SiZiOUS

How to properly install No-IP Dynamic Update Client (DUC) under Raspbian

If you have, like me, an ISP that provides you a dynamic IP, you certainly need to use a dynamic DNS service like DynDNS or No-IP. This is important if you want to use your Raspberry Pi as a server. I personally use No-IP for historic reason since I have my free account for at least 10 years. In that post I’ll teach you how to use their official client as a service under Raspbian.

The No-IP team provides a little program called the Dynamic DNS Update (DUC) Client. DUC continually checks for IP address changes in the background and automatically updates the DNS at No-IP dynamic DNS whenever it changes. This program can be usable under Raspbian without any modifications, only the part for setting up the service is a little touchy. Follow the guide!

Compile the DUC Client

The first thing to perform is getting and compiling the client. Open a Terminal (or use a SSH client, like PuTTY) then enter the following commands:

After that, the No-IP DUC Client will ask you some information:

  • The login/email string for your account;
  • The associated password;
  • The preferences (like the refresh interval).

The No-IP DUC Client is now ready to be used. Time to set up the service now.

Setting up the No-IP DUC Client service

Now that you have a working DUC Client, it’s time to install the service. Doing this will allow the DUC Client to start when booting up your Raspberry Pi.

After passing all these commands, you should have the following output:

Everything is now set up!

Checking if the No-IP service is working

First of all you need to check if the No-IP service is the latest to be run by the Raspberry Pi. Enter the following command:

The output should be something like that:

Running the No-IP service in the last position avoid some problems. For example, if your network configuration is not ready when running the DUC Client, this can crash it with useless error messages. I already configured everything in the additional files provided above to solve this problem.

For checking if the No-IP DUC Client Service is running, just enter the following command:

A correct output should be something like that:

As you can see, the noip2 service is up and running!

To get more information on the noip2 instance running, enter the following command:

This will output something like:

So everything seems fine. Now you can connect to your No-IP account and check if the concerned DNS has been updated, like this:

Manage Hostnames

Manage Hostnames

Wow you did it! Enjoy 🙂


You can check for error messages thrown at startup by running the following command:

You can control the No-IP service by using the  service command:

This command will restart the No-IP service (this command takes up to 10 seconds to be run).


How to re-enable the F11 Recovery Key for HP computers

About 6 months ago, my sister told me this HP laptop has completely broken. When I got this computer, the HP G62-a57SF, I saw that the hard-drive died. And of course, no backup, nowhere. Plus, the recovery partition was gone 🙁

After buying a new SSD hard-drive for replacing the faulty and downloading all drivers from the HP website, I faced an interresting challenge: The F11 key launching the recovery process at boot doesn’t work anymore. Is it possible to get this F11 key back working? Short answer: yes! 🙂

First of all, this method was only tested on the HP G62-a57SF running Windows 7, I don’t know if it can work for other than that. Second, there is no way to get the original HP Recovery tool to work again because it’s really a pain to find it online. Nevermind, I’ve just used the great AnarethoS Recovery Tools package instead! This really nice package is designed to create custom recovery partitions like OEM manufacturers!

To get this F11 key working again, just download this package I made and follow the inside instructions. It’s a custom version of the AnarethoS Recovery Tools, so you don’t need to download its original version.

Have fun with your working F11 BIOS key for your HP laptop! 🙂

Setting a static IP on Raspberry Pi on Raspbian 20150505

For setting a static IP for the Raspberry Pi 2 on the latest Raspbian release available at this time (20150505 through NOOBS v1.4.1), the old method modifying the /etc/network/interfaces file isn’t so efficiency as before. In fact, if you modify the /etc/network/interfaces by setting eth0 to static instead of manual (the default setting) your Raspberry Pi will get two IP adresses for the same eth0 interface. This sucks.

The “faulty” is the dhcpcd daemon, which is a DHCP client that seems to be run before the parsing of the /etc/network/interfaces file.

So you have 3 options there:

  1. Setting like before in /etc/network/interfaces then disabling the dhcpcd daemon, with the sudo update-rc.d -f dhcpcd remove command (you can revert back with sudo update-rc.d dhcpcd defaults). But really, don’t do this;
  2. Add a static DHCP entry for your Raspberry Pi in your router/gateway configuration;
  3. Force the dhcpcd daemon to get the IP you like. It’s really the best solution for me.

To implement the latest solution, just sudo nano /etc/dhcpcd.conf then at the end of the file, add the following:

Of course, adjust the IP as you wish. the IP address is referring to my ISP router.

After this modification, restart the network interface or just perform a reboot. Now, your Raspberry Pi will have only one static address!

Note: For those that dislike to set a hard-coded IP, the second solution is the best of course.


How to load an Access Database into a DataSet object in C#

Today I needed to load a Microsoft Access Database (*.ACCDB / *.MDB) into a DataSet  object in .NET environment using C#.

After finding some (partial) solutions I finally developed a little C# class in order to accomplish this task. This class loads an Access Database (whatever in ACCDB or MDB formats) into a DataSet  object. After the operation you can directly access to the loaded tables by using the .Tables  property of the generated DataSet object.

To use it, it’s really simple:

  1. Add the provided AccessDbLoader  class to your project.
  2. Load the Access Database file by using the following snippet:
    DataSet ds = AccessDbLoader.LoadFromFile("my.accdb");
  3. You can now use the ds.Tables  property.

For your convenience you’ll find a sample program below:

I think this class can be improved in some ways (e.g. handling primary / foreign keys constraints) but that’s enough for my needs.

Website update

I just updated the About page on the global structure of the website. 🙂

It was really funny cuz I saw that About page was in draft mode since EXACTLY 365 days! 🙂 GUI released

I just released GUI for Windows and Linux 64-bit for the excellent script by FamilyGuy.

This Python script was made to handle GD-ROM image files (*.gdi) on several platforms.

If you’re interested, go here.

Happy New Year ’15!

Long time no see, he? I wish you a happy new year 2015. Wishing you 365 days of good luck!

And don’t forget to switch on your old gen consoles, especially the Dreamcast, he? 🙂