Static Wifi IP = better battery life - HD7 General

Ok so I have a couple devices connected to it, but there's a trick with Android phones that users report better battery life assigning an Static IP to the phone, not dhcp or reservation.
I have set static ip for my HD7 in my router...it seems to give a slight boost in battery life.

I don't see how that could bring any battery life gains, once you assign an IP adress during connection, it's over (with IP assigning hassle). Only the connecting can take less, which is nothing.
Waiting for more people to confirm this

accroding to wha ti know , some android devices benefit better battery life from a static IP

tomsonklitz said:
thanks, seems to give a slight boost in battery life.
Click to expand...
Click to collapse
if yr modem/router supports assigning static IP. u can do do in the router...the phone wifi will auto refresh to the new static IP

Related

Can't connect to WLAN

At work we have a Netgear WLAN router, without WEP/WPA (for testing) und without DHCP. Some iPhones of my colleagues have connections without problems und full strength (the router is around 5 meters away).
On my Diamond I have set a static IP (because of no DHCP is running), gateway und DNS. If I switch on WLAN I can select the Netgear but no connection will be established (I see the WLAN "tower" and to swinging arrows at all time). WLAN strength has a range from nothing to (very) low. And IP is shown as 0.0.0.0.
At home I have a WLAN router too but with DHCP. There I can connect to WLAN without any problems.
I need your help!
Regards,
Purzel
1234567890
Mozhead said:
Probably you static ipadres is being used by one of the iPhnes of your colleagues..
Click to expand...
Click to collapse
Sadly no... I have tried several IPs, all are free, but without success.
Regards,
Purzel
Try turning the power setting of WLAN to Highest Performance (or something like that, have the Dutch version) instead of Best Battery. Only a small suggestion as this will only increase your Wifi range, but if you're 5 meters away from the router you should already have a sufficient signal
Or you can enable DHCP on wlan router
Thx for your help but doesn't work.
@Colinvanlier: I have set it but with no effect on singal strength.
@chryss2k: Would be lucky If I could do that... but this poor WLAN router has no DHCP server.
Regards,
Purzel
Same here...Anyway,my Diamond has detected the IP,but still cannot connect to the Internet ,the signal strenght is the highest though
Same here... I'm connected to the WLan-Router, but no connection to the Internet... Notebook etc. works fine, only Diamond doesn't
Have tried it at home at this moment - works like a charm. Well, where is the fault on WLAN at work?
mac-tabel
http://forum.xda-developers.com/showthread.php?p=2503142#post2503142

problem connecting to the house internet

Hi this is my first time on a site and I just wonder if anybody can solve my problem!
I,ve read a few posts and set my xda llI so that in connections my network card connects to work!Also have done all the rest and set it to internet just in case as well
My Isp in connections window is on the advanced tab and select networks on the network Management is set to My Isp.
my Wirles Lan Manager is status connected to network
My ssid is the one that all the house computors are set to,my mode is Infratructure and Tx is Auto.My channel is 6
my bssid is 00-18-2D etc etc.
My Mac is 00-09- etc ,etc.
My IP.169.254.168.73
signal quality is good
I,ve been onto the 192.168.0.1 website and added the mac address of the xda lli but when I try to get the internet on the xdalli to connect it justs says default page. I cannot seem to connect. is this normal or do I have to go through O2 to pay for another internet connection besides my home address one.Have I missed something out!Help would be greatly appreciated! thanks
Nilocsss
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
clearing the way so that I understand correctly!
kevcal said:
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
Click to expand...
Click to collapse
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
thanks for your response!
voxshots said:
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
Click to expand...
Click to collapse
thanks for replying ,my router is a netgear and the security is a wep key which I have disabled and i also tried the drop down menu "the internet" but still nothing! how would I find out on the phone what ethernet card it is running so that I can connect to that .
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
kevcal said:
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
Click to expand...
Click to collapse
Thanks kev for replying.
I have a hard wired lead to the router for one computor and 3 laptops connected by wifi and another computor connected by wifi.
the range or should I say the ip addresses are 192.168.0.3,192.168.0.4
upto 192.168.07.I,m at work at the moment but as soon as I get home tonight I'll set the wep key to disabled is there any other thing on the router that I need to do?
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
The dg834GT is pretty much the one that Virgin use, like I said in my earlier post.
I have found these particular routers to be a problem (sometimes) with my Alpine.
You should try to update the firmware.
kevcal said:
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
Click to expand...
Click to collapse
Well Done Kev!
It was the "open"on the phone and putting "open" on the router.I had to intiallely disable the wep key.then when I got connected,I reactivated the WEP key and I could not connect.So on the phone I unticked the automatically connect to my name of my router name and reput in my encryption key again and I was in and On line.Thanks to both of you(Kevcal and Voxshots) for helping me.Definately could not have done it without you Pair.I like the idea of using the screenshots so I,ll post a screenshot of all the settings on the phone and computor so that anybody else will be able to resolve there problems with all credits going to you people on the bottom!
Very happy to have helped and glad you sorted it out

[Q]Wifi droping problem

I have problem: My wifi signal drop every 60 secs approximately,on every stock rom from JVQ to the newest JVU. Last rom where wifi works great was JVQ after that version i have same problem in every single STOCK rom,JVZ,JW1,JVU... (on CM7,ICS port,MIUI I dont have that problem).
Anyone know how can i fix it? (sorry if my english is not to good)
Known problem. There is a workaround however. Set your wifi routers dhcp lease time from 0 (or never) to, for example, 120 mins. Also remove ip address reservation (if set) in your routers settings.
Used to have the same problem at android 2.2, but the 2.3.3 update fixed it. I used to assign a static IP to my device at home, that helped for the time being.
I have INTRACOM JetSpeed IAD-Wp2 router and cant find non of these settings.
Try going to 192.168.1.1 in your webbrowser on your pc, and try getting access with username and password "admin". That should allow you to configure some settings, including assigning a certain IP address to your phone.
On your phone, go to wifi settings, advanced, and enable "Use static IP address". Then configure it's settings.
You should refer to the routers manual to find out the setting for the dhcp lease time and ip address reservation. Routers and their names for these settings can differ slightly from each other.
If you set static ip in your phones wifi settings, you may not be able to use wifi anywhere but in your home network.
So the problem is my router or the phone? All these solutions that you have proposed are not long-term right? It will help me just when I am at home but if I go out somewhere that settings will not be of some help right?
The settings I posted were looked up specifically for your router, milanche911. But indeed, it'll only fix it when you're at home; you'll have to turn using a static IP off if you're elsewhere.
Does it happen to you no matter what router you use? I only had it happen to me at home, at other people's places things were fine.
try this application
it is WiFi scanner and signal checker... in config is setting scan Frequency 0-30 seconds and including the radar and WiFi sources GPS locator ...
good luck.
milanche911 said:
So the problem is my router or the phone? All these solutions that you have proposed are not long-term right? It will help me just when I am at home but if I go out somewhere that settings will not be of some help right?
Click to expand...
Click to collapse
If the issue is the "wifi bug" which has been covered in the leaked rom threads, the culprit is the phone.
As a long-term solution, there's no harm in setting the wifi routers dhcp lease time to finite value and removing the address reservation, so that the router is not forced to give your phone always the same ip. At this point, you should not change the ip to static in your phones settings, this is what will prevent you using wifi outside your home.
Now you should find a way to check these settings in your routers configuration.
Thank you people! Thank you for your help, the problem was that I had been logging into the router settings with admin / admin and I got the complete setup for just a basic settings. Trick was that I log in with admin / tzlkisonpk and thus get full router settings where I finally found the "lease time" setting. Configured for two hours and now everything is fine. Thank a lot once again! Cheers!
Glad it worked out
tap on the keypad of your phone - >*#*# 4636 # * # * and Wi-Fi information, you can find something to help ...

[Q] Switching between routers within the same wifi

Hey guys, I got a problem with wifi on my One. The thing is I got a couple of wifi routers in my house (one can't cover the entire building) and they're both broadcasting the same SSID, password etc. basically one is connected via RJ45 to the other and set up exactly the same way. Problem is when I move around the house and lose connection to one of my routers and the phone automatically connects to the other all my connections on the phone stop working and I have to turn my wifi off and on again. Same thing happens when I'm at my university, each floor has 2 wifi routers on it and phone tends to jump between them screwing up the internet connection each time. I know it might not be the biggest issue in the world but still it's quite annoying especially since my old SGS didn't have this problem. My phone is not branded and of course up to date. Thanks for any advice.
theleet said:
Hey guys, I got a problem with wifi on my One. The thing is I got a couple of wifi routers in my house (one can't cover the entire building) and they're both broadcasting the same SSID, password etc. basically one is connected via RJ45 to the other and set up exactly the same way. Problem is when I move around the house and lose connection to one of my routers and the phone automatically connects to the other all my connections on the phone stop working and I have to turn my wifi off and on again. Same thing happens when I'm at my university, each floor has 2 wifi routers on it and phone tends to jump between them screwing up the internet connection each time. I know it might not be the biggest issue in the world but still it's quite annoying especially since my old SGS didn't have this problem. My phone is not branded and of course up to date. Thanks for any advice.
Click to expand...
Click to collapse
From my experience after installing a lot of different wifi's in different operation modes, it all depends on how exactly the routers have been setup.
But to answer your initial question- the topic at hand; as long as the wifi's broadcasts the same SSID, you cannot choose which of the two individual routers you want to connect to. Please someone correct me if I'm wrong, but afaik this is not possible. If you want the possibility to choose, then set them up with different SSID's. This would be the _easiest_ solution, just make sure they broadcasts at different frequencies with at least 5 channels apart, i.e. channel 1 and 6, or 6 and 11, or 1 and 11. These are the most popular ones in the 2.4 GHz spectrum. If you use 5 GHz you have a lot more to choose from.
Now, if it's important that your network works seamlessly (with the same SSID), I can provide a step by step guide upon request.
But the solution to your current problem, from my experience; yes you have to turn the wifi off and then on again to "force" the wlan-card on your cell phone to -faster- connect to the closest router, otherwise it will take maybe 15-45 seconds before it does this automatically. It's basically the same with computers. This mostly happens if the wlan-card are within range of both networks, but it will try to stay connected to current one before changing.
And there are some important guidelines to follow when you connect one router to another if they are from the same brand (because of the ip-range and gateway). I once had to setup 8 wifi-routers in a house, because of the size and the thick concrete walls (same SSID)...
The problem is my laptops and other phones don't seem to have this problem, also the phone doesn't 'fix' itself after 40 or so secs it just stays broken as far as I've noticed forever (or at least till i leave my house). Also it doesn't have a problem connecting to the other router, it loses connection, looks for available networks, finds my other router, connects and... nothing works. Exact same thing at the university, finds routers, connects with 5/5 bars and it just doesn't work.
theleet said:
The problem is my laptops and other phones don't seem to have this problem, also the phone doesn't 'fix' itself after 40 or so secs it just stays broken as far as I've noticed forever (or at least till i leave my house). Also it doesn't have a problem connecting to the other router, it loses connection, looks for available networks, finds my other router, connects and... nothing works. Exact same thing at the university, finds routers, connects with 5/5 bars and it just doesn't work.
Click to expand...
Click to collapse
Are you sure you have it setup with DHCP and not some static ip-settings? Can you post some screenshots of your wifi-settings?
If you haven't tried already, get your phone to "forget" it's settings so you have to reenter the password and make sure it's set to DHCP. But first take out the power from both your routers so they get a reboot, and make sure the ethernetcable is connected from one of the LAN ports on the main router connected to the internet (from your cable/dsl/fiber-modem), and in to the WAN/Internet port on the secondary router. Btw what routers do you use as master and slave?
Yes of course I have the routers set up just like you say And yes I'm using DHCP on both of them. They are Airlive 1600GL with tomato rom as main and WR740N as secondary. I took screenshots of what seemed relevant sorry the main router's settings are not in English but it seems that would require me to reflash it with a different rom.
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-22-28.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-24-00.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-24-28.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Untitled.jpg
theleet said:
Yes of course I have the routers set up just like you say And yes I'm using DHCP on both of them. They are Airlive 1600GL with tomato rom as main and WR740N as secondary. I took screenshots of what seemed relevant sorry the main router's settings are not in English but it seems that would require me to reflash it with a different rom.
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-22-28.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-24-00.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Screenshot_2013-12-20-23-24-28.png
https://dl.dropboxusercontent.com/u/2668574/HTC One/Untitled.jpg
Click to expand...
Click to collapse
What's with the DNS being 8.8.8.8 and 8.8.4.4?
Seraphicus said:
What's with the DNS being 8.8.8.8 and 8.8.4.4?
Click to expand...
Click to collapse
These are Google DNS.
I would do it simple and solve it by changing the SSID on the slave router to something different, like wireless2, and change channel to 1. Or change the channel on the master router from 8 to 11. Your phone will probably change from one network to another faster this way, or it's at least easier for you to manually choose.
If that doesn't help, and the network is 100% problemfree for other wireless devices, I guess it must be a firmware or hardware problem with your One's wlan-card. Most likely firmware.
I will try it in the morning but still I'm pretty confident it's not the matter of setting up my home network but rather One's software bug. I can't say with 100% certainty right now but I don't remember having this issue before the update to the newest Android version.
Both routers need to be on the same subnet, enable dhcp server on one and disable it on the second one. Also set the second one as an access point only with a static ip in the same subnet.
The problem you have now is that wireless clients must negotiate a new ip when switching routers because of different subnets assigned to each.
Let me know if you need more details.
But still that would fix the problem at my home, what about when I'm somewhere else?
What ROM are you running? I leave wifi enabled all the time and haven't had any issues moving between networks, it automatically connects when another network is in range.
Android 4.3 with Sense 5.5 all stock not even rooted.
Since your completely stock it should just work. I'd try fixing the home network first and see if that solves the issue at home, then move on to trying to figure out the network issue at school.
Router1 - master
Internet connected to wan port
Cable from lan port to a lan port on router2
Dhcp: enabled with an ip range of 192.168.1.100 and up
Lan ip 192.168.1.1
Channel 1
Router2 - slave
Nothing connected to wan port
Cable from Router1 lan port to lan port on this router
Dhcp: disabled
Lan ip 192.168.1.2
Channel 11
Set ssid and wpa settings the same on both routers.
With this setup clients can hop from one access point to the other without a dhcp request or ip change, should switch within seconds.
cschmitt said:
Since your completely stock it should just work. I'd try fixing the home network first and see if that solves the issue at home, then move on to trying to figure out the network issue at school.
Router1 - master
Internet connected to wan port
Cable from lan port to a lan port on router2
Dhcp: enabled with an ip range of 192.168.1.100 and up
Lan ip 192.168.1.1
Channel 1
Router2 - slave
Nothing connected to wan port
Cable from Router1 lan port to lan port on this router
Dhcp: disabled
Lan ip 192.168.1.2
Channel 11
Set ssid and wpa settings the same on both routers.
With this setup clients can hop from one access point to the other without a dhcp request or ip change, should switch within seconds.
Click to expand...
Click to collapse
Tried that setup for many times over the years I've worked with routers, from my experience that is unstable.

Define Hotspot IP

So all my previous Android have had static IP address when hotspotting: 192.168.43.1
The new P20Pro is putting out random end numbers on its IP 192.168.43.XXX
(i've base level understanding of networks - is this due to DHCP lease?!?)
I dont believe there's a setting to change it, as been through quite a bit even online with Huawei agent. Anyhoo I like to run a FTP server off my phone and hook up cameras to it, but simply cant with the dynamic nature of the IP addressing. Any idears?

Categories

Resources