• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Wifi connection problem

mvcuk1

Lurker
Jul 14, 2010
2
0
I have a factory unlocked HTC Desire with the official 2.2 froyo firmware installed. When I turn on the wifi using the inbuilt HTC wifi widget, it takes about 10-15 seconds before the phone connects to my wifi router and the wifi icon is shown in the notification bar.

I am using a Dlink dir-655 router. The settings that I have on the router are as follows:-

wireless mode: 802.11g only
encryption: wpa2 personal AES
mac filtering on (phone's mac address has been added to the list)
SSID is hidden

Other devices such as my laptop and nintendo wii connect to the wifi router within seconds.

Any help or thoughts would be appreciated.
 
Yes this will help, the delay will be while it is negotiating with the DHCP server in your router for a dynamic IP a static removes the need for this so it will only need to authenticate. This may cause problems when connecting to networks other than your home network though as there may be IP conflicts on the network or they may use a different address space.

I do wonder how its a problem though is 10 seconds that precious? :p
 
Upvote 0
Yes this will help, the delay will be while it is negotiating with the DHCP server in your router for a dynamic IP a static removes the need for this so it will only need to authenticate. This may cause problems when connecting to networks other than your home network though as there may be IP conflicts on the network or they may use a different address space.

I do wonder how its a problem though is 10 seconds that precious? :p
No, the static IP is assigned by the router to the phone's MAC address, you do not have to tell the phone to use a particular IP. Therefore you will not have any problems connecting to other networks (DHCP will be used as normal).
 
Upvote 0
Yes but that method is still using DHCP to acquire its IP whether or not it gets the same IP is up to your router its called IP reservation or Static Allocation (Not the same as setting a Static IP). Setting a static IP has to be done on the clients device so that it doesn't ask the DHCP server to provide settings. Therefore if the phone is set up for example with static details of

IP 192.168.1.30
Subnet 255.255.255.0
Gateway of 192.168.1.1

As some networks are set up then he would not be able to join a network that is based on a 192.168.0.x address range and if by chance the other network the 192.169.1.x space then he could still run into problems if another device is take .30.

Thats why its best if you are going to be connecting to multiple wifi networks then you need to leave it as DHCP as thats one of the reasons it was invented, to ease setup and stop conflicts.
 
Upvote 0
You can assign a static IP address on your phone AND change the DHCP settings on your router to not assign that address e.g. give your phone 192.168.0.253 and have DHCP only allocate from 2 up to 252 (or 128, how many devices do you have connected at once ?). Check the DHCP set-up on your router (if you know how to do that).

Sad thing is, though, that the IP set-up on the phone seems to be for ALL Wifi networks - it'd be nice to set the static settings for your home only (and any others where you're allocated a static IP) and DHCP for any others.
 
Upvote 0
You can assign a static IP address on your phone AND change the DHCP settings on your router to not assign that address e.g. give your phone 192.168.0.253 and have DHCP only allocate from 2 up to 252 (or 128, how many devices do you have connected at once ?). Check the DHCP set-up on your router (if you know how to do that).

Sad thing is, though, that the IP set-up on the phone seems to be for ALL Wifi networks - it'd be nice to set the static settings for your home only (and any others where you're allocated a static IP) and DHCP for any others.

Are you replying to me there?
If so you've misunderstood my point. I was trying to say that if you give your phone a static IP then at some point its going to cause problems when connecting to networks not owned\managed by you, I can easily see a basic public wifi having a large range of IP's used and if one of then happens to be your static your not getting on. Also the same if they use a different subnet (the first 3 parts of the IP - e.g. 192.168.0)
 
Upvote 0
Are you replying to me there?
If so you've misunderstood my point. I was trying to say that if you give your phone a static IP then at some point its going to cause problems when connecting to networks not owned\managed by you, I can easily see a basic public wifi having a large range of IP's used and if one of then happens to be your static your not getting on. Also the same if they use a different subnet (the first 3 parts of the IP - e.g. 192.168.0)

It was sort-of a reply to you. As you say, you can't use a static IP on a network you don't manage. BUT my point was it would be nice to have the option to set-up the IP settings on each Wifi connection to avoid precisely what you're describing.
 
Upvote 0
That would be a nice option yeah. Something like the alternate configuration in windows would be nice. Who knows someones probably already written a wifi profile app that allows quick switching.

BUT my point was it would be nice to have the option to set-up the IP settings on each Wifi connection to avoid precisely what you're describing.
EDIT: And it looks like there is it would seem "Wifi Static" does exactly that. You can set a profile per network and it will fall back to DHCP if its an unknown its free so might be worth a try.

However I'm fine with DHCP and the few extra seconds it takes to connect for an easier life :D was just trying to help the OP avoid problems later and think it was the phone playing up.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones