You are not logged in.

#1 2012-07-21 04:47:13

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

noip dynamic update client

Installed noip dynamic update client from community repo for ssh access if my ip changes while at work.

No info in wiki or man pages.  Resorted to "noip2 help" no-ip.com support pages and Google for config info.

Have noip installed and working, although it's not automatically updating no-ip.com when my dynamic ip changes.

Have noip2 in my daemons list in /etc/rc.conf

Can access my home computer from work via "ssh *********.no-ip.org" rather than ip addy.

Logging into no-ip.com account after ip changes shows it does not update the ip.

Running "noip" in a terminal updates the ip in my no-ip.com account.

Ran sudo noip2 -C  to configure x times and still have an empty no-ip2.conf,  except for "0.0.0.0"

Running "sudo noip2 -S" get the following:

1 noip2 process active.

Process 18169, started as noip2, (version 2.1.9)
Using configuration from /etc/no-ip2.conf
Last IP Address set 7*.***.***.***
Account j*******@*****.***
configured for:
	host  *********.no-ip.org
Updating every 10 minutes via /dev/eth0 with NAT enabled.

Using nano rather than leafpad to look at no-ip2.conf shows the following:

0.0.0.0^@^@^@^@^@^@^@^@^@
^@!L2JA\^@^@^@^A^A^A^@eth0^@^@^@^@^@^@^@^@^@^@^@^@dXNlcm5hbWU9amVmZnJzMTIlND5jb20mcGFzcz1tYXh4d29vZCZoW109amV==

Should I manually put something into the no-ip2.conf and if so, what?

I see a bunch of files similar names to this "NO-IPinGDWE" now that are empty in /etc.

It'd be cool if someone who knows more than me would start a noip wiki page. If no one bites, I'll make one after I get this figured out.

Last edited by jeff story (2012-07-21 04:50:24)


Check out my website for info on the Arch Linux Installer

Offline

#2 2012-07-21 12:24:44

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: noip dynamic update client

jeff story,

I did essentially what you did, and it is updating OK.

no-ip2.conf is not empty, it is a small binary file, in my case it is 136 bytes long.
You do not edit it (and surely not with a text editor...).

While configuring, did you put the correct  password ?

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2012-07-22 01:59:16

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Re: noip dynamic update client

Thanks Mektub,

Yea I'm pretty sure the password was correct and verified by running "noip2" in a terminal and that updated it.  Thanks for the binary no-ip2.conf info. That explains what I saw.  Any idea why would it be a binary file?

Got it updating now. First prob, I think originally, I ran noip2 -C as user rather than root. Second may have been file permission for no-ip2.conf was read write root only. I changed "root group" and "others" to read only access.

Not sure which change fixed it but it's updating the ip correctly now.


Check out my website for info on the Arch Linux Installer

Offline

#4 2012-07-22 02:22:35

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: noip dynamic update client

jeff story wrote:

Any idea why would it be a binary file?

This is a decision of the programmer that wrote the program. Both methods, binary or text, have pros and cons.

Anyhow, you can see the contents of a binary file with hexump (it's in util-linux):

hexdump -C filename

Good that you solved your problem,

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2013-02-03 00:12:50

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Re: noip dynamic update client

deleted

Last edited by jeff story (2013-02-03 00:21:40)


Check out my website for info on the Arch Linux Installer

Offline

Board footer

Powered by FluxBB