The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed to fix view names capri_drm Linux 6 05-15-2008 04:00 PM
how do I view a jpeg? dsstamps UNIX for Dummies Questions & Answers 0 05-14-2008 10:25 AM
cmd to view only directories aarora_98 Shell Programming and Scripting 14 05-08-2006 11:51 AM
DBM View schafferm UNIX for Dummies Questions & Answers 1 08-06-2002 01:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 06-25-2007
Registered User
 

Join Date: May 2007
Posts: 104
You'd need to log onto your router to find the IP address on the WAN interface (the outside of your router pointed towards the interweb...)
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 06-25-2007
Registered User
 

Join Date: Jun 2007
Posts: 16
Ok so I guess Ill be digging into my router again :/
Reply With Quote
  #10 (permalink)  
Old 06-25-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,301
You can do a traceroute to an address in the Internet (from your server) and get WAN info.
Reply With Quote
  #11 (permalink)  
Old 06-25-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Code:
$ telnet sendmail.org 25
Trying 209.246.26.22...
Connected to sendmail.org.
Escape character is '^]'.
220 services.sendmail.org ESMTP Sendmail 8.14.0.Alpha1/8.14.0.Alpha1; Mon, 25 Jun 2007 22:09:42 -0700 (PDT)
HELO localhost
250 services.sendmail.org Hello foo.bar.com [199.199.199.199], pleased to meet you
QUIT
221 2.0.0 services.sendmail.org closing connection
Connection closed by foreign host.
Cheers
ZB
Reply With Quote
  #12 (permalink)  
Old 06-25-2007
Registered User
 

Join Date: Jun 2007
Posts: 16
alright I tried the traceroute and (not sure if its suppose to) it showed my private network ip...

I trying the telnet hoojiger now and its taking a long time..

Its getting late so I'll pick this up tomorrow evening.
[edit] the telnet timed out
Reply With Quote
  #13 (permalink)  
Old 06-25-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Code:
$ curl http://www.zazzybob.com/my_ip/get_my_ip.php 2>/dev/null | sed -n 's/^.*<!--IP-->\([^<]*\)<!--IP-->.*$/\1/p'
Cheers
ZB
Reply With Quote
  #14 (permalink)  
Old 04-29-2008
Registered User
 

Join Date: Apr 2008
Posts: 1
Try these two scripts: they just do what they already suggested you, but it can be useful to keep them in your /bin directory :-)

Saverio Bolognani's Home Page - What is my IP?

Ciao,
Saverio
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, sendmail, ubuntu

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0