LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 10-09-2013, 08:00 PM   #1
WhiteR4VeN
LQ Newbie
 
Registered: Oct 2013
Location: WA
Posts: 9

Rep: Reputation: Disabled
Static IP on android phone


Can I set a static IP on a android phone
 
Old 10-09-2013, 08:13 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,434

Rep: Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192
Hi,
Quote:
Originally Posted by WhiteR4VeN View Post
Can I set a static IP on a android phone
Yes.

Evo2.
 
Old 10-13-2013, 01:20 PM   #3
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,411

Rep: Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794
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.
 
Old 10-13-2013, 06:47 PM   #4
WhiteR4VeN
LQ Newbie
 
Registered: Oct 2013
Location: WA
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-13-2013, 07:14 PM   #5
WhiteR4VeN
LQ Newbie
 
Registered: Oct 2013
Location: WA
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
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 :/
 
Old 10-13-2013, 07:58 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,770

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by WhiteR4VeN View Post
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.
 
Old 10-14-2013, 02:50 PM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,411

Rep: Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794
Quote:
Originally Posted by WhiteR4VeN View Post
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?

Last edited by 273; 10-14-2013 at 02:52 PM.
 
Old 10-14-2013, 03:20 PM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
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...
 
  


Reply


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
64bit Android phone future_computer Linux - Mobile 8 01-27-2014 06:08 AM
How to unroot my android phone? future_computer Linux - Mobile 26 04-22-2013 08:08 PM
Connecting Android Phone patilsb Linux - Newbie 0 10-03-2012 12:31 PM
Ads on LQ on Android phone Peter K Nicol LQ Suggestions & Feedback 2 07-27-2011 08:23 AM
[SOLVED] Android Phone snjksh Linux - Mobile 1 05-04-2011 11:44 AM


All times are GMT -5. The time now is 08:47 AM.

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