Discussion:
Client no-ip in the OpenBSD.
PsYkHe
2010-01-15 17:38:15 UTC
Permalink
Hello!!

Anybody already use the client of no-ip in the OpenBSD?
Scott Learmonth
2010-01-15 17:47:05 UTC
Permalink
Post by PsYkHe
Hello!!
Anybody already use the client of no-ip in the OpenBSD?
I am, seems to be fine. If I recall it was very simple.

pkg_add no-ip

I should disclose though that my IP hasn't actually changed yet.
Robert
2010-01-15 18:01:53 UTC
Permalink
On Fri, 15 Jan 2010 14:38:15 -0300
Post by PsYkHe
Hello!!
Anybody already use the client of no-ip in the OpenBSD?
/usr/ports # make search key=no-ip
Port: no-ip-2.1.9p0
Path: net/no-ip
Info: No-IP.com Dynamic DNS client
Maint: Peter Stromberg < ... >
Index: net
L-deps:
B-deps:
R-deps:
Archs: any

So yes, atleast the porter did.
Next time, do your homework before asking the ml. :)

- Robert
PsYkHe
2010-01-15 19:25:40 UTC
Permalink
Thank you.

----- Original Message -----
From: "Josh Grosse" <***@jggimi.homeip.net>
To: "PsYkHe" <***@gmail.com>
Sent: Friday, January 15, 2010 2:58 PM
Subject: Re: Client no-ip in the OpenBSD.
Post by PsYkHe
Hello!!
Anybody already use the client of no-ip in the OpenBSD?
net/no-ip has been in the ports tree since July 2006.
Saulo Bozzi
2010-01-17 01:51:40 UTC
Permalink
Ok, I install the no-ip client by pkg_add.
But, dont work.
him asks option 0, 1, 2 for interfaces.
I choice option 1 that my interface and stop. not continue.
Already active in sysctl emulation of linux binary, and nothing.

Anybody, any suggestion?
Post by PsYkHe
Thank you.
Sent: Friday, January 15, 2010 2:58 PM
Subject: Re: Client no-ip in the OpenBSD.
Post by PsYkHe
Hello!!
Anybody already use the client of no-ip in the OpenBSD?
net/no-ip has been in the ports tree since July 2006.
Marcello Cruz
2010-01-17 02:32:35 UTC
Permalink
Dear friend,

There is another way to update your IP address without the use of the no-ip
client.

I use lynx and it does just the same. Lynx is part of a regular OBSD
install. You can run it, for example, with your connection script (like
ppp.linkup) or after a reboot in the rc.local. Also, you can create a job
with crontab to run the command in a week basis, for example.

The command line is something like that:
# lynx -dump -accept_all_cookies -auth=mailbox\@domain.com.br:\password
http://dynupdate.no-ip.com/nic/update?hostname=host.no-ip.info&myip=`ifconfig
tun0 | grep 'inet ' | awk '{print $2}'`

In my case, I use this line within a script and I redirect the output of
this command to another file. If something goes bad, then there is a job
running every 30 minutes that tries to update the information in the NO-IP
service.

Rgds
Marcello Cruz
Saulo Bozzi
2010-01-17 03:21:53 UTC
Permalink
cool, but now the no-ip binary work.
but, where put him to run in the boot?
rc.conf.local?
Post by Marcello Cruz
Dear friend,
There is another way to update your IP address without the use of the no-ip
client.
I use lynx and it does just the same. Lynx is part of a regular OBSD
install. You can run it, for example, with your connection script (like
ppp.linkup) or after a reboot in the rc.local. Also, you can create a job
with crontab to run the command in a week basis, for example.
http://dynupdate.no-ip.com/nic/update?hostname=host.no-ip.info&myip=`ifconfig<http://dynupdate.no-ip.com/nic/update?hostname=host.no-ip.info&myip=%60ifconfig>tun0 | grep 'inet ' | awk '{print $2}'`
In my case, I use this line within a script and I redirect the output of
this command to another file. If something goes bad, then there is a job
running every 30 minutes that tries to update the information in the NO-IP
service.
Rgds
Marcello Cruz
Peter Strömberg
2010-01-17 08:41:22 UTC
Permalink
Post by Saulo Bozzi
cool, but now the no-ip binary work.
but, where put him to run in the boot?
rc.conf.local?
/etc/rc.local

After "# Add your local startup actions here." something like this will do

if [ -x /usr/local/sbin/noip2 ]; then
echo -n ' noip2'; /usr/local/sbin/noip2
fi
Marcello Cruz
2010-01-17 12:17:21 UTC
Permalink
In the /etc/rc.local file.

Below is an excertp from that file...
# cat /etc/rc.local
# $OpenBSD: rc.local,v 1.39 2006/07/28 20:19:46 sturm Exp $

# Site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel.

echo -n 'starting local daemons:'

# Add your local startup actions here.

echo '.'



----- Original Message -----
From: Saulo Bozzi
To: Marcello Cruz
Cc: OpenBSD-Misc
Sent: Sunday, January 17, 2010 1:21 AM
Subject: Re: Client no-ip in the OpenBSD.


cool, but now the no-ip binary work.

but, where put him to run in the boot?
rc.conf.local?


2010/1/17 Marcello Cruz <***@globo.com>

Dear friend,

There is another way to update your IP address without the use of the
no-ip client.

I use lynx and it does just the same. Lynx is part of a regular OBSD
install. You can run it, for example, with your connection script (like
ppp.linkup) or after a reboot in the rc.local. Also, you can create a job with
crontab to run the command in a week basis, for example.

The command line is something like that:
# lynx -dump -accept_all_cookies -auth=mailbox\@domain.com.br:\password
http://dynupdate.no-ip.com/nic/update?hostname=host.no-ip.info&myip=`ifconfig
tun0 | grep 'inet ' | awk '{print $2}'`

In my case, I use this line within a script and I redirect the output of
this command to another file. If something goes bad, then there is a job
running every 30 minutes that tries to update the information in the NO-IP
service.

Rgds
Marcello Cruz

Loading...