Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

automatically email external IP

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2006, 06:06 AM
Default automatically email external IP



Really simply question: what is the easiest way to have my home linux
server email me its external IP whenever it changes / on an interval,
so I can connect to it remotely? (I have a Ubuntu file server at home,
which I want to connect to when I'm off at school: it's a dynamic IP of
course).

A web service that did this (kept track of the IP) would work as well.

I'm a relative Linux n00b (my other computer is a Mac , so I'd prefer
a program or service that did this, not to have to run some kind of
script but if that's what I have to do so be it...

I can't seem to turn up anything simple on Google.

Thanx in advance!



stewacide@gmail.com
Reply With Quote
  #2  
Old 09-17-2006, 07:56 AM
slick_shoes
Guest
 
Posts: n/a
Default Re: automatically email external IP

On 16 Sep 2006 22:06:42 -0700
(E-Mail Removed) wrote:

> Really simply question: what is the easiest way to have my home linux
> server email me its external IP whenever it changes / on an interval,
> so I can connect to it remotely? (I have a Ubuntu file server at home,
> which I want to connect to when I'm off at school: it's a dynamic IP
> of course).


You don't need to have your ip mailed to you. What you want is called
"dynamic dns." http://www.no-ip.com provides a free service that works
on most major operating systems, including Linux.

It basically involves signing-up, and downloading the client for Linux.
You can set the interval that the client updates it's information, and
you're computer will always be available at the address you set up.

For example, you can create mycomputer.no-ip.net, and will be able to
use that hostname every time you want to connect to your computer,
rather than having to remember/lookup an ip.

Good luck!
slick_shoes
Reply With Quote
  #3  
Old 09-17-2006, 09:01 AM
Giovanni
Guest
 
Posts: n/a
Default Re: automatically email external IP

(E-Mail Removed) wrote:
> Really simply question: what is the easiest way to have my home linux
> server email me its external IP whenever it changes / on an interval,
> so I can connect to it remotely? (I have a Ubuntu file server at home,
> which I want to connect to when I'm off at school: it's a dynamic IP of
> course).


There are several service you can subscribe to manage dynamic IP's.
Try http://www.dyndns.org

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 < http://giovanni.homelinux.net/ >
Reply With Quote
  #4  
Old 09-17-2006, 08:22 PM
ERACC
Guest
 
Posts: n/a
Default Re: automatically email external IP

On Sat, 16 Sep 2006 22:06:42 -0700, stewacide wrote:

> Really simply question: what is the easiest way to have my home linux
> server email me its external IP whenever it changes / on an interval,
> so I can connect to it remotely? (I have a Ubuntu file server at home,
> which I want to connect to when I'm off at school: it's a dynamic IP of
> course).
>
> A web service that did this (kept track of the IP) would work as well.

[...]

I use dyndns.org for this. I run a script (ddclient) on our FreeBSD server
that checks IP and updates the dyndns.org record for the subdomain I
picked from them. The same script will run on Linux and can be downloaded
from dyndns.org IIRC. All I have to remember is 'ssh -p <nonstandardport>
<userid>@<mysubdomain>.homeunix.com' to get into my LAN remotely.

Gene (e-mail: gene \a\t eracc \d\o\t com)
--
Mandriva Linux release 2006.0 (Official) for i586
14:15:24 up 2 days, 18:00, 14 users, load average: 0.10, 0.15, 0.18
ERA Computers & Consulting - http://www.eracc.com/ <- get VOIP here!
eComStation, Linux, FreeBSD, OpenServer & UnixWare preloads & sales
Reply With Quote
  #5  
Old 09-17-2006, 08:58 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: automatically email external IP

On 16 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>, (E-Mail Removed)
wrote:

>Really simply question: what is the easiest way to have my home linux
>server email me its external IP whenever it changes / on an interval,
>so I can connect to it remotely?


http://en.tldp.org/authors/unmaint.html
http://ibiblio.org/pub/linux/docs/HOWTO/unmaintained/

-rw-rw-r-- 1 gferg ldp 75619 Jun 2 2003 Dynamic-IP-Hacks

Quite dated, but...

Dynamic-IP-Hacks Mini-HowTo Version 2.1.3
Maintained by: Michael Driscoll <(E-Mail Removed)>
Created Mon Apr 22 16:24:33 PST 1996
Last Updated Sun May 25 16:37:41 PDT 1997

2.0 Intro to Hacks #1-#3
3.0 Hack #1: Keeping your system up and accessable 24/7 method #1
by Steve Przepiora <(E-Mail Removed)>
3.1 What you'll need
3.2 ip-up and ip-down scripts
4.0 Hack #2: Keeping your system up and accessable 24/7 method #2
by Michael Driscoll <(E-Mail Removed)>
4.1 What you'll need
4.2 Setting up keepalive.sh
4.2.1 Using diald instead of a crontab entry
5.0 Hack #3: Keeping your system up and accessable 24/7 method #3
by Michael Driscoll <(E-Mail Removed)>
5.1 What you'll need
5.2 Fun with runlevels
6.0 Hack #4: IP publishing via mail
by Michael Driscoll <(E-Mail Removed)>

>I can't seem to turn up anything simple on Google.


Obviously using the wrong search keywords.

Old guy
Reply With Quote
Reply

Tags
automatically, email, external

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.