Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2009, 04:26 PM   #1
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
How to get an ext ip from modem

Hello everyone.

I am running a server behind a dsl modem with dynamic IP. I would like to retrieve the external modem ip and save it on a file and then compare next time it retrieves it if its different from the previous one send me an email with the new IP address so I always know what is the IP address in case I need to access the server from a remote site. Does anyone has an idea on how this can be done? I guess some sort of script should do this but, don't have any idea on how to retrieve the Ip.

Old 01-05-2009, 04:29 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
There are various sites that will tell you your external ip i.e.
Old 01-05-2009, 06:03 PM   #3
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Original Poster
Rep: Reputation: 18
How exactly can I retrieve the IP in php?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dialup OK on P3 with ext modem but fails at last step with various P4s - same modem pablo de wedgburg Linux - Newbie 1 09-24-2008 05:52 AM
Ext Modem driving me nuts! burroughs Linux - Hardware 6 03-20-2005 11:52 PM
ext modem hangs up dupuydl Linux - Networking 0 09-04-2004 07:03 AM
Configuring Ext. modem on Lindows 4.5 seprn Linux - Laptop and Netbook 0 06-19-2004 11:50 PM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 02:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 AM.

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