On Mon 03 Aug 2020 at 07:51:20 (-0400), Greg Wooledge wrote:
> On Sat, Aug 01, 2020 at 10:52:51PM -0500, David Wright wrote:
> > This should be possible for free, so long as you can send emails from
> > home. Just register an account with, say, hotmail, and send an email
> > each day (or at an appropriate interval) from your home's computer.
> 
> Just send your message whenever the IP address changes.  The DHCP client
> daemon has hooks specifically to let you do this.
> 
> https://mywiki.wooledge.org/IpAddress
> 
> You could *also* send the IP address message in a cron job, if you're
> a belt-and-suspenders type of person.  But using the DHCP client hooks
> should be the primary goal.

The home PC that I'd be trying to contact has a 192.168.n.n IP address
given to it by my primary router. But the router's external address is
obtained by its DHCP client talking to my ISP's DHCP server. It's not
obvious to me how to query the router's client except by logging in to
the router's web interface and reading the number from the screen.
(It's a $38 consumer grade.)

Even if it were easy, the benefit of sending an email out every day is
that it indicates the server is still up. (I'm assuming it would be
home alone.)

Cheers,
David.

Reply via email to