Originally posted by ebolag4
ummmm....
couldn't you just call your ISP and ask what IP you were assigned? Unless you are specifically looking for a method of discovering it from your Mac, this seems to me the easiest path to discovery. I could be wrong though......
This is most certinaly the least efficient method of discovering the IP
That is the case for two reasons:
1) It requires you have access to support at the time you need the IP (if you need it at 2AM and support is offline, you're out of luck).
2) If you have a dynamic IP address (which you almost certianly do) and the lease expires and is renewed with a new address, or the connection is broken to the internet, or any number of things, your IP will change.
In short:
Assuming (posisbly incorrectly) that you have no router, all you need to do is go into the Terminal and enter
ifconfig ppp0 and you will get an output like
Code:
[mike@nimbus ~]% ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet [b]64.230.2.92[/b] --> 64.230.254.33 netmask 0xff000000
The portion I bolded is the IP address assigned to your computer.
Now if it looks like 192.168.2.x then you have a router, and this method won't work. You will probably need to do 'remote discovery' which involves hitting a web page that tells you your IP address (or, more specifically, the IP of your router). But then you get into port forwarding configuration on your router and a whole bunch of stuff I won't touch on unless we have to
Just a side-note, you won't be able to use telnet to get into your computer, you'll probably have to (and should anyway) use SSH.