LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (http://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Static IP on android phone (http://www.linuxquestions.org/questions/linux-mobile-81/static-ip-on-android-phone-4175480216/)

WhiteR4VeN 10-09-2013 08:00 PM

Static IP on android phone
 
Can I set a static IP on a android phone

evo2 10-09-2013 08:13 PM

Hi,
Quote:

Originally Posted by WhiteR4VeN (Post 5043107)
Can I set a static IP on a android phone

Yes.

Evo2.

273 10-13-2013 01:20 PM

For what purpose? What type of connection?
You almost certainly won't be able to set a static IP address for your 3G (or other) cellular data connection as its IP is given out by the cellular provider and will change frequently depending upon the gateway you're connected to.
At home if you're using wireless an easy way of giving your phone the same address every time you connect is to do so through the wireless router's configuration page. This is useful for laptops and other devices too as it allows for the same, known, IP address to be used when you connect to your home network without having to change the network settings on the mobile device every time you want to use a different wireless network.

WhiteR4VeN 10-13-2013 06:47 PM

I have an old phone that is not connected to any carrier right now. It is using only wifi for now. I have some apps that make the phone a server. But the local IP address changes.

I did a google search about this but when I went to the wifi advance settings on my phone, there was no option to configure a static IP.

However, I will try your suggestion of doing this from the router side.

WhiteR4VeN 10-13-2013 07:14 PM

Quote:

Originally Posted by 273 (Post 5044993)
At home if you're using wireless an easy way of giving your phone the same address every time you connect is to do so through the wireless router's configuration page.

My very, very old WRT54G router lacks the DHCP Reservation feature that allows to assign a MAC address to an IP.

Oh Well :/

TB0ne 10-13-2013 07:58 PM

Quote:

Originally Posted by WhiteR4VeN (Post 5045105)
My very, very old WRT54G router lacks the DHCP Reservation feature that allows to assign a MAC address to an IP.

Oh Well :/

Don't give up hope...check the Linksys website for a firmware update that may correct that issue. I agree that doing it from the router side of things, makes it much simpler to manage.

273 10-14-2013 02:50 PM

Quote:

Originally Posted by WhiteR4VeN (Post 5045105)
My very, very old WRT54G router lacks the DHCP Reservation feature that allows to assign a MAC address to an IP.

Oh Well :/

I did the same googleing, and I concur.
I'm surprised to say the least as my old 802.11b Belkin used to do it.
I googled "set static ip android" but the findings were inconclusive.
Edit: My iPad has some settings for Static IP in the WiFi settings. Does Android really not have this?

Firerat 10-14-2013 03:20 PM

if you really can't get your router to Reserve IP addresses.. then
What version of Android ?

What phone/tablet?
have you considered an after market 'firmware' such as CyanogenMod?
which has option for static IP in "show advanced options" when setting up/modifing wifi connection

to be honest, I can't remember when that feature was implemented, but I think it was 'early' ,, lets say froyo...


All times are GMT -5. The time now is 03:00 AM.