Install no-ip client from source on Ubuntu 9.10
Go to your home directory:
Download no-ip client:
Untar it:
Change directory to directory in which it was untared (my version is 2.1.9, so your folder may differ):
Make:
If the command above gives you some errors as you might not have GCC installed, you can install it by running first:
Make install:
It will ask you some question about the configuration of the client:
To start the program:
If we want to make it run every system start-up, we need to make a script:
We enter the following:
sudo /usr/local/bin/noip2
We exit the editor and make it executable:
Now we add it to system start-up:
Useful command lines for no-ip client:
/usr/local/bin/noip2 -C configure a client /usr/local/bin/noip2 run a client /usr/local/bin/noip2 -S display info about running clients /usr/local/bin/noip2 -D pid toggle the debug state for client pid /usr/local/bin/noip2 -K pid terminate client pid
All the commands available for noip client:
USAGE: noip2 [ -C [ -F][ -Y][ -U #min]][ -c file] [ -d][ -D pid][ -i addr][ -S][ -M][ -h] Version Linux-2.x.x Options: -C create configuration data -F force NAT off -Y select all hosts/groups -U minutes set update interval -c config_file use alternate data path -d increase debug verbosity -D processID toggle debug flag for PID -i IPaddress use supplied address -I interface use supplied interface -S show configuration data -M permit multiple instances -K processID terminate instance PID -h help (this text)
If you want to see if no-ip client is actually working, enter this in terminal:
It should say 1 noip2 process active like this:
1 noip2 process active. Process 1257, started as noip2, (version 2.1.9) Using configuration from /usr/local/etc/no-ip2.conf Last IP Address set 123.123.123.123 Account email@gmail.com configured for: host domain.myftp.org Updating every 30 minutes via /dev/eth0 with NAT enabled.
and the Last IP Address set should be your Ip adress, Account should be your email which you used when you have set up no-ip client, configured for: should be your no-ip.com subdomain you’ve choosen.
Comentários