1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iPhone 3G can't route over wireless after coming out of standby

Discussion in 'Tomato Firmware' started by lobo, Nov 10, 2008.

  1. lobo

    lobo Network Guru Member

    I haven't seen too many posts about this online but here is my problem. My iPhone 3G with the latest firmware is able to establish a connection to my Linksys WRT54G v2 router and surf the internet and all but after the iPhone goes into standby and comes back, the phone is no longer able to "route" to the internet. It still has an IP address associated to it and it shows up in the devices list in the router but nothing. I have to reboot the iPhone in order for it to work again.

    Now I brought the phone into my work today and I've been using their wireless all day with the phone going into standby mode all the time and it's been working flawlessly with no interruption in routing.

    Could there be something that I've configured in error in the Tomato firmware? I seem to be doing quite a bit with it such as QoS, wireless mac filtering, DHCP, WPA2, DDNS.

    Thoughts?

    Lobo

    P.S. Forgot to mention that I'm running the latest Tomato firmware.
     
  2. fyellin

    fyellin LI Guru Member

    My understanding is that everytime the iPhone wakes up, it does a DHCP request asking for its previous IP address. The fact that your router knows shows the iPhone in its device list doesn't really mean anything. The problem is with the iPhone.

    Hence, I'm used to seeing lines like the following in my log:
    Code:
    Nov  9 23:34:45 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:34:45 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:39:55 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:39:55 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:45:15 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:45:15 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:50:19 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:50:19 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:55:29 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:55:29 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:57:03 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov  9 23:57:03 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov 10 00:04:52 router daemon.info dnsmasq[2009]: DHCPREQUEST(br0) 192.168.100.16 00:23:12:84:1f:38 
    Nov 10 00:04:52 router daemon.info dnsmasq[2009]: DHCPACK(br0) 192.168.100.16 00:23:12:84:1f:38 
    
    As the iPhone repeatedly wakes us and asks "Who am I? Where am I?"

    It might be worthwhile to log at your logs to see if you see anything similar.
     
  3. glycerine

    glycerine LI Guru Member

    I see the same thing, the iPhone (2G) wakes up every five minutes to check for emails.

    When your phone gets into that state, what does Settings>Wi-Fi>SSID Info>DHCP show? Does it have the IP and Router fields filled? What happens if you force a 'Renew Lease' further down the page?

    In Tomato under Basic>Network, what is your DHCP Lease Time set to?
     
  4. lobo

    lobo Network Guru Member

    I think I've fixed the problem. I reverted back to 1.17 and my iPhone has been able to continue accessing the internet even after coming out of standby. I haven't tried 1.18 yet but I'm wondering if something got added to 1.21 to cause the problems I was having?

    glycerine,
    When the phone comes out of standby, the Info section still shows the DHCP area all filled out just like it was prior to going into standby. If I tried a renew it doesn't make a difference (at least with the 1.21 firmware). My lease time is set to 1440 minutes.

    Lobo
     
  5. pharma

    pharma Network Guru Member

    I've had an iPhone 3G for about 1.5 months and have no problems connecting to my WRT54G v4 using Tomato 1.21, or using the new beta build on Jon's site after going into standby.

    If it's working with 1.17, you might want to re-try 1.21 or the newer beta build

    081108_1-21-1562.7z
    081108_1-21-1561_ND.7z

    Pharma
     
  6. bripab007

    bripab007 Network Guru Member

    My wife's 2nd gen iPhone has never had a problem with Tomato, versions 1.17, 1.19, 1.20 and 1.21.
     
  7. lobo

    lobo Network Guru Member

    I wonder if it has anything to do with the fact that I didn't reset all the settings back to default when I upgraded to 1.21? I just performed the upgrade with all my previous settings intact.

    Lobo
     
  8. bripab007

    bripab007 Network Guru Member

    Yeah, that's not typically a good idea when doing a firmware upgrade. I had problems once when I forgot to reset to defaults after a firmware flash I think when I was back on DD-WRT.
     

Share This Page