Our Smartphone Network: BlackBerryWindows MobileAndroidPalm Pre
iPhone Forums
EverythingiCafe iPhone cases, accessories iPhone Social iPhone Wallpapers iPhone forums iPhone blog iPhone accessory reviews iPhone news

Go Back   iPhone Forums > Modifications > Third Party Applications




Reply
 
LinkBack Thread Tools Display Modes
Old 11-16-2007, 08:05 PM   #1 (permalink)
 
Join Date: Sep 2007
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default iPhone IP address?

I'm trying to get AFP working with the iPhone but I'm not sure how to determine the IP address for my phone? How/where do I find that?

Thanks for the help!
MileHiPhone is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-16-2007, 08:11 PM   #2 (permalink)
 
Join Date: Oct 2007
Location: Mean Streets of LA.
Posts: 1,236
Thanks: 4
Thanked 13 Times in 12 Posts
Default

Go to your WIFI settings and select the arrow pointing to the right next to the network you are connected to. It will show you a settings window, showing your IP address.

Settings -> WIFI -> (right arrow to connected network) -> IP Address




Originally Posted by MileHiPhone View Post
I'm trying to get AFP working with the iPhone but I'm not sure how to determine the IP address for my phone? How/where do I find that?

Thanks for the help!
__________________
2008: The year Apple was officially inducted into the "Hall Of Software Bugginess" fame. It now stands ahead of Microsoft as the leader of bugs.
ravman is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-16-2007, 09:28 PM   #3 (permalink)
 
Join Date: Sep 2007
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by ravman View Post
Go to your WIFI settings and select the arrow pointing to the right next to the network you are connected to. It will show you a settings window, showing your IP address.

Settings -> WIFI -> (right arrow to connected network) -> IP Address
Thank you! I knew I had seen it before but I was drawing a total blank. Now I feel like an idiot.
MileHiPhone is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-21-2007, 06:31 PM   #4 (permalink)
 
SmartAlx's Avatar
 
Join Date: Jun 2007
Posts: 1,052
Thanks: 14
Thanked 20 Times in 16 Posts
Default

Why is that address different for each different network I join?
__________________
We love Apple exactly WHY?
SmartAlx is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-21-2007, 06:44 PM   #5 (permalink)
 
meiphones_brill's Avatar
 
Join Date: Nov 2007
Posts: 846
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by SmartAlx View Post
Why is that address different for each different network I join?

The same reason as why the address of every pub I visit is different. They're different addresses.

The phone has it's own address - called a MAC address. You don't need to know what that is usually. Each network is its own little discrete entity away from the internet - usually with addresses in the range 192.168.x.x or 10.0.x.x but they can be many things.

The phone talks to the network it joins and asks for an address - so even if you revisit the same hotspot twice, you may not get the same address.
This is simplified a bit but that's basically how it works.
meiphones_brill is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-21-2007, 07:03 PM   #6 (permalink)
 
SmartAlx's Avatar
 
Join Date: Jun 2007
Posts: 1,052
Thanks: 14
Thanked 20 Times in 16 Posts
Default

Ok, so it's not our iPhone's IP Address, it's connections address. Our iPhones don't have static IPs. I understand. Every time you need to use your iPhone's IP, you have to check again. Every single time, because it's going to be different from the last time you used the phone's IP address.

Now how do you find out the IP address if you are connected via EDGE instead of wifi?
__________________
We love Apple exactly WHY?
SmartAlx is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-21-2007, 07:10 PM   #7 (permalink)
 
meiphones_brill's Avatar
 
Join Date: Nov 2007
Posts: 846
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by SmartAlx View Post
Now how do you find out the IP address if you are connected via EDGE instead of wifi?
No idea. It's very unlikely to do you any good even if you find it. You can point your browser at www.whatismyip.com

That'll give you an IP address that MAY be your phone's address.

You could email yourself and look at the email header to see what the first RECEIVED line shows as the IP address - but this may not be the address either.

If you do both - and they're the same, then the odds are good.

You could also ssh in if it's enabled and run ifconfig if it's installed. <-- utter coblers

But even if you find it - you won't be able to connect to it. Your network provider will make sure of that.

Last edited by meiphones_brill; 11-21-2007 at 07:19 PM.. Reason: pointing out utter coblers
meiphones_brill is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 11-22-2007, 01:42 PM   #8 (permalink)
 
Tinman's Avatar
 
Join Date: Jul 2007
Location: Aridzona
Posts: 2,987
Thanks: 45
Thanked 110 Times in 69 Posts
Default

Originally Posted by SmartAlx View Post
Ok, so it's not our iPhone's IP Address, it's connections address. Our iPhones don't have static IPs. I understand. Every time you need to use your iPhone's IP, you have to check again. Every single time, because it's going to be different from the last time you used the phone's IP address.
In the scope of the OP you can use a static IP. I use a static (private/NAT'd) IP on the WLANs in my home and at work--the places where I'm most likely to need access to my iPhone via a LAN/WLAN. This way I don't need to keep updating my SSH setting and whatnot.

I also run Apache on my iPhone to serve up locally-stored files to either my iPhone or another machine on the same WLAN (disabled when not used).


Now how do you find out the IP address if you are connected via EDGE instead of wifi?
Doesn't really matter as you can't access the iPhone via AT&T EDGE like you can on your on WiFi network. You don't get a valid public IP via EDGE, so there is no way to access the iPhone directly via IP, nor is there anyway to get through via the public IP (no way to forward ports).

IIRC for a price AT&T will let you buy either dynamic public IPs or static IPs. But these are business-class services and AFAIK you can't use an iPhone on those types of AT&T accounts.

BTW: the iPhone actually gets two IPs via EDGE: one is used for your 'Net access and the other--only obtained on demand--is used for visual voicemail.


--
Mike
__________________
"Having a smoking section in a restaurant is like having a peeing section in a swimming pool."


Tinman is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-20-2008, 04:15 PM   #9 (permalink)
 
Join Date: Sep 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

my phone is in an endless reboot, i want to ssh in but i can't remember my iphone's ip address. any help please?
yapstuz is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 10-20-2008, 05:05 PM   #10 (permalink)
Super Moderator
 
psylichon's Avatar
 
Join Date: Oct 2007
Location: Philly
Posts: 10,480
Thanks: 433
Thanked 939 Times in 650 Posts
Default

Originally Posted by yapstuz View Post
my phone is in an endless reboot, i want to ssh in but i can't remember my iphone's ip address. any help please?
Chances are it's 192.168.1.x where x is any number from 2 to 255. Unless you have that many wireless devices in your home, however, it's a safe bet it's one of the first ten.

If you really want to know, go into your wireless router settings by browsing to 192.168.1.1 on your computer and select the option to view attached devices.

This is all assuming a Linksys or similar router. Some manufacturers use different base IP's.
__________________
-Dave
Come Chat...for info click here.
psylichon is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel