LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-03-2014, 01:52 AM   #1
mackowiakp
Member
 
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 9, SH4, Debian
Posts: 367

Rep: Reputation: 8
NO-IP manual setting ip


I changed my no-ip account, because of known problems (THX Microsoft!!!).
Now I have 3 hosts in domain:
may_domain-1.ddns.net
may_domain-2.ddns.net
may_domain-3.ddns.net

I want to change ip addres for particular host to for example to 1.2.3.4.
How can I do it from Linux command line? I can do it for host on which I am run command like this:

noip -u user -p 'pass' -i 1.2.3.4

But it change IP for the host I am running "noip" command from. Lets say -> may_domain-1.ddns.net

How to change IP from the same host for: may_domain-2.ddns.net and may_domain-3.ddns.net ?

There is no such option in noip command:

[root@mackowiak ~]# noip -h

USAGE: noip [ -C [ -F][ -Y][ -U #min]
[ -u username][ -p password][ -x progname]]
[ -c file][ -d][ -D pid][ -i addr][ -S][ -M][ -h]

Version Linux-2.1.9
Options: -C create configuration data
-F force NAT off
-Y select all hosts/groups
-U minutes set update interval
-u username use supplied username
-p password use supplied password
-x executable use supplied executable
-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
-z activate shm dump code
-h help (this text)

Any idea what to do?
 
Old 07-03-2014, 09:13 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
As far as I know the client will only apply updates for that particular computer. You will still need to update the client configuration on each computer etc to reflect the new name anyway.

Can you update the IP address for your hosts on no-ip's website?
 
Old 07-03-2014, 10:08 AM   #3
mackowiakp
Member
 
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 9, SH4, Debian
Posts: 367

Original Poster
Rep: Reputation: 8
The problem is that I have several customers with dynamic IP and several with constant. I dont want to pay for NOIP so I created small for that users equipped in own servers and 2 times per week I change (during night) IP to any random and then revert to original. So such IP addresses were "touched" and are not removed from NOIP system.
But most of such my customers does not have routers with NOIP support or any unit inside home network available for me, I can install no-ip client on it. Basically it is for surveillance cameras.
So I want to change IP address of distant location no my one (it is possible with my script) but it is not possible to revert it to original IP.
BUT !

Linux ManPage stands that there is "-L" option which allow to change IP for particular host defined in my NO-IP account.
I am looking for such implementation of noip client for Linux but I did not found one.

Look at the page:
http://www.linuxcertif.com/man/8/noip2/

And look at the -L option. Do You know about such implementation of noip client?
My and all other implementations I know does not has such option.
 
Old 07-03-2014, 01:11 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
However, the posted website shows Version: October 2007 but no number. 2.1.9 is the latest version but does not have that option according to your original post (nor do I remember). Its possible that the option was removed. Have you tried using it? Have you asked no-ip?

The other option is to modify or write your own client per the instructions on no-ip's website.

Last edited by michaelk; 07-03-2014 at 01:12 PM.
 
1 members found this post helpful.
Old 07-03-2014, 11:17 PM   #5
mackowiakp
Member
 
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 9, SH4, Debian
Posts: 367

Original Poster
Rep: Reputation: 8
I will ask NO-IP but they have a lot of problems right now so probably time of response will be long.
But I have to ask...
 
Old 07-04-2014, 01:04 AM   #6
mackowiakp
Member
 
Registered: Jun 2014
Location: Poland/Gdynia
Distribution: Mageia 9, SH4, Debian
Posts: 367

Original Poster
Rep: Reputation: 8
OK. CURL + NO-IP WebAPI resolve problem. THX
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] An example from the dd manual. stf92 Linux - Newbie 8 02-18-2012 12:05 PM
man -t manual | ps2pdf - > manual.pdf error Amdx2_x64 Linux - General 2 07-01-2011 03:22 AM
tcp/ip manual setting mposwal Linux - Newbie 1 12-09-2010 10:27 AM
RHEL 5, Manual IP Setting sajdutt Linux - Networking 1 05-20-2008 07:35 AM
Gaim and Manual browser setting Aaryn Linux - Software 3 02-01-2005 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration