Since those Digicel f***ers blocked port forwarding or put us behind a NAT, I have lost access to my computers via SSH and using the public IP so I installed NoIP’s DUC to try to gain access. By the way, it didn’t work but you can follow these steps if you are NOT on Digicel’s network.
These instructions were taken from http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client-on-ubuntu/ and they worked. I got the DUC installed and operational. Mine doesn’t work because Digicel (those motherf***ers) blocked port forwarding or put us behind a NAT. Did I say that already?
You will be able to install No-IP.com’s DUC on Ubuntu in just a few minutes with Terminal. Once you have opened up your Terminal window you will need to login as the “root” user (this is optional. I just used “sudo” in front of all the commands and I’m going to assume you will do the same). You can become the root user from the command line by entering “sudo -s” followed by the root password on your machine (be very careful! You can really mess up your Ubuntu installation if you make a mistake when logged in as the root user).
cd /usr/local/src/
sudo wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
sudo tar xf noip-duc-linux.tar.gz
cd noip-2.1.9-1/
sudo make install
You will then be prompted to login with your No-IP.com account username and password.
If you get “make not found” or “missing gcc” then you do not have the gcc compiler tools on your machine. You will need to install these in order to proceed.
As root again (or with sudo, in my case) issue the below command:
sudo /usr/local/bin/noip2 -C (dash capital C, this will create the default config file)
You will then be prompted for your username and password for No-IP, as well as which hostnames you wish to update. Be careful, one of the questions is “Do you wish to update ALL hosts”. If answered incorrectly this could effect hostnames in your account that are pointing at other locations.
Now the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
sudo /usr/local/bin/noip2
Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup. This varies depending on what Linux distribution you are running.
And you are done! The DUC should now be installed on Ubuntu.