Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Solved] How do I spot which application is causing my N900 to connect to the internet?

    Reply
    Page 1 of 3 | 1   2     3   | Next
    eitama | # 1 | 2010-08-24, 09:46 | Report

    Hey guys,

    Edit : Solved - I was expecting a bahvior which is different from the designed one. If one select Auto Connect to any connection type or gprs or wifi, the phone will connect at the set interval below, regardless of internet requirement.
    This means that the phone will connect even if no app needs internet.

    I have my network connectibity set to Auto Connect to Any COnnection, I like it this way, and using auto disconnect to close those connections when not needed.
    The problem is, every 5 minutes or so, my phone connects to 3g internet if there is no wifi. Some app is causing it to connect.

    I have tried using tcpdump in if-up.d/ but the cap was empty.
    I verified my tcpdump is working by browsing some site manually, and that did appear in the pcap file.

    Any ideas?

    Thanks,
    Eitam.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by eitama; 2010-08-25 at 14:51.

     
    mr_xzibit | # 2 | 2010-08-24, 09:52 | Report

    in settings . internet connection. do you have it to auto connect?just a guess?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stickymick | # 3 | 2010-08-24, 10:31 | Report

    Originally Posted by mr_xzibit View Post
    in settings . internet connection. do you have it to auto connect?just a guess?
    The OP does say that he has it set up that way.

    First off, check the most obvious apps, ForecaWeather, OMWeather, RSS accounts (if any are set up), Desktop news widgets etc.
    Next go through your apps. Check the ones that were last updated, as sometimes they will revert to default settings after an update. Then check any positioning mapping apps that you've got installed.

    It's just a case of going through everything to find the culprit.

    As an afterthought, why hasn't Nokia caught on to this and changed the connection request to say something like "Suchanapp is requesting a data connection"
    It's something that's always bugged me.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    eitama | # 4 | 2010-08-24, 10:50 | Report

    Originally Posted by stickymick View Post
    The OP does say that he has it set up that way.

    First off, check the most obvious apps, ForecaWeather, OMWeather, RSS accounts (if any are set up), Desktop news widgets etc.
    Next go through your apps. Check the ones that were last updated, as sometimes they will revert to default settings after an update. Then check any positioning mapping apps that you've got installed.

    It's just a case of going through everything to find the culprit.

    As an afterthought, why hasn't Nokia caught on to this and changed the connection request to say something like "Suchanapp is requesting a data connection"
    It's something that's always bugged me.
    I don't have any :
    • Foreca, OMWeather, RSS Accounts
    • IM Accounts are disabled
    • No Desktop news apps.
    • No Positioning apps running and actulaly not even installed

    I tried looking at top, ps, practically starring at them, using diffs, i'm going crazy!!!!

    And yes, just give me the process ID and i'll be happy ):

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ste-phan | # 5 | 2010-08-24, 12:10 | Report

    Assuming it auto-connects when an known WiFi network is found:

    In that case I would install a firmware on my (Wifi) router that allows me to see the outgoing traffic. (for example: Tomato)

    -check internal ip assigned to N900
    -check to which internet ip this internal ip address establishes a connection whenever it does "it" again.

    From identifying the destination you may find the related program.

    Besides, I noticed that N900 keeps a connection to IBM lotus life. There is a thread about it somewhere but nobody knows why it does that.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    handaxe | # 6 | 2010-08-24, 12:10 | Report

    Investigate the programme “netstat”. It will show all tcp or udp port activity....

    Edit | Forward | Quote | Quick Reply | Thanks

     
    eitama | # 7 | 2010-08-24, 12:14 | Report

    @ste-phan and handaxe
    Iv'e tried both tcpdump on the phone and netstat -a on the phone.
    Tcpdump showed no traffic - this can be reasonable only if it starts too late, which I don't believe is the case.

    netstat -a only showed connections to my PC (ssh) and connections to localhost, i.e. source = dest = n900.

    I have ddwrt on my wifi router, and the model is linksys wrt54g2, sadly tomato doesn't fit it...

    I'll try and run tcpdump on ddwrt, though I don't know if I can.
    Sniffing and looking for tcp / udp sessions so far didn't reveal any info at all...

    Originally Posted by
    Besides, I noticed that N900 keeps a connection to IBM lotus life
    Is this a tcp connection? does it remain Established for long? or just a sec?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nicolai | # 8 | 2010-08-24, 12:25 | Report

    Isn't it contradictory to configure autoconnect and install autodisconnect ?

    As far as I understand autoconnect, it means to automatically
    connect if a network (GPRS and/or WIFI) is available and
    not only if a connection is requested.

    regards
    Nicolai

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to nicolai For This Useful Post:
    gabby131, sjgadsby

     
    eitama | # 9 | 2010-08-24, 12:31 | Report

    Originally Posted by nicolai View Post
    Isn't it contradictory to configure autoconnect and install autodisconnect ?

    As far as I understand autoconnect, it means to automatically
    connect if a network (GPRS and/or WIFI) is available and
    not only if a connection is requested.

    regards
    Nicolai
    You think? why would the phone maintain a connection if it's not needed! it's just a battery drain!
    To me it sounds like :
    - If phone needs internet, autoconnect will connect via wifi or gprs/3g
    - If the internet is idle, autodisconnect will drop the connection.
    - Sounds perfect to me. If you think autoconnect just brings up a connection cause there is none at the moment then this is probably my problem.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gabby131 | # 10 | 2010-08-24, 12:35 | Report

    i hope this helps.

    you said you set the connection to "any connection" option

    there should be a search interval below, that allows your device to connect and browse available connections every 5, 10, 20mins or Never.

    may switch that search interval option to "Never" so it wont browse for available connections.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to gabby131 For This Useful Post:
    nicolai

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout