Page 3 of 3 FirstFirst 123
Results 41 to 57 of 57
  1. #41  
    OK... I tested the various site in Chrome, and got one of the following HTTP response codes: 200, 301, 302, 305. It could be one of those codes causing problems, if cURL doesn't redirect.

    The captive portal detection apparently parses HTML for title or whatever. It's failing with one of them. I just don't know which one. I suppose all of the sides could be overwritten to a single site, but that's not robust, is it?
  2. #42  
    Working with HP support, they said that if you have run the WebOS doctor, we can assume it is a hardware issue.... They are no help at all....
  3. #43  
    Have not experienced this on the touchpad yet and not on the veer but I rarely look up webpages on the veer.

    what about contacting the guy in charge of openWebOS , Enda McGrath?
  4. dwc
    dwc is offline
    dwc's Avatar
    Posts
    23 Posts
    #44  
    Quote Originally Posted by GMMan View Post
    OK... I tested the various site in Chrome, and got one of the following HTTP response codes: 200, 301, 302, 305. It could be one of those codes causing problems, if cURL doesn't redirect.

    The captive portal detection apparently parses HTML for title or whatever. It's failing with one of them. I just don't know which one. I suppose all of the sides could be overwritten to a single site, but that's not robust, is it?
    strings on the 2.1.0 version has some strings that may be of interest.
    Code:
    35ConnectivityCheckRequestFromLunaCmd <- hm, maybe able to be manually triggered? I can't get my pre2 to consistently tcpdump... seems like it drops it into packet-dropping-mode when I start it up.
    24ConnectivityCheckRequest
    Src/ConMan/NwConfigMgr/ConnectivityCheckRequests.cpp
    mReplyMsg
    basic_string::_S_construct NULL not valid
    mTestSiteList.size()
    mTestSiteList.end() != mNextSiteToTest <- iterating over a list of sites
    mCurlRequestList.end() != it
    <title>
    </title>
    NO TITLE
    %s: CurlCheck(%p) Site(%s) HTML Title("%s")
    %s:  Called! NwCheck(%p)
    mCurlRequestList.end() != mCurlRequestList.find(curlCheckInfo->getTestSite())
    %s: NwCheck(%p) completed request (%p) for Site(%s) HTML Returned:
    <NO HTML FOUND>
      %s
    %s: NwCheck(%p) completed at least 2 requests so calculating health <- perhaps checks N of the sites on this list (or all of them?)
    %s: This is a possible captive portal case. %s vs %s
    %s: Curl Request for: %s failed with: %i
    %s Final network eval for NwCheck(%p) on if(%s) shows network as onInternet(%s:%i)
    mActiveCurlHandles.end() != it
    rit != mProcessedCurlRequestList.rend()
    %s: Creating New List
    http://www.google.com <- no redir
    http://developer.palm.com <- 302 to https
    http://www.hp.com <- no redir
    http://www.bing.com <- no redir
    http://www.palm.com <- 301 to hpwebos.com
    http://www.compaq.com <- 301 to compaq.com/country/index.html
    %s: Rotating List
    My theory is it goes through these sites, and if enough requests look like a captive portal (redirs) then it sets onInternet to captivePortal?
  5. #45  
    *
    Last edited by GoBears; 03/22/2013 at 03:45 PM.
    Kyocera 6035 > Samsung SPH-i300 > i330 > i500 > Treo 600 > 700p > 755p > PRĒ Minus > Touchpad & FrankenPre2
  6. #46  
    Anyone figure out a solution for this yet? This is driving me freaking crazy. Is this HP's attempt at getting us to stop using these phones, so they don't have to maintain support anymore?
  7. #47  
    Are all Pre 2's still doing this? Is there a good fix for this? This damn phone is waking me up at night with this problem!

    Will doctoring it stop this?
  8. #48  
    I've got a FrankenPre2 and I've never had an issue with this. I'd suggest Doctoring (or even trying a different version of the Dr depending on your carrier) and seeing if that helps.



    Network Moderator | Mobile Nations Rules
  9. #49  
    And just like that it hasn't appeared on my Pre 3 for some time...

    Sent from my Galaxy S3 using Tapatalk 2
    Just remember: If I helped you, press the thanks button!

    Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
    Needs: Veer (anyone?)
    Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
    HomeBrew: meta-doctor and Messaging Plugins collaborator
    Twitter: @cesarneg
  10. #50  
    I think one way to temporarily stop it is to turn data off on my phone, but then I forget to turn it back on, and miss mms's. It's still doing it on my phone.
  11. #51  
    I'm getting this all the time too. I think it started about 3 months ago kind of all at once. Drove me nuts for a while but it doesn't seem to make an alert tone anymore.
  12. dwc
    dwc is offline
    dwc's Avatar
    Posts
    23 Posts
    #52  
    Quote Originally Posted by Dr. Aquafresh View Post
    Anyone figure out a solution for this yet? This is driving me freaking crazy. Is this HP's attempt at getting us to stop using these phones, so they don't have to maintain support anymore?
    I've replaced the URLs in PmNetConfigManager with a hex editor and the problem appears to have stopped. Each entry appears to be on a 4-byte boundary, null padded, so as long as url+padding is the same, you can replace the URLs with others of different lengths. (C strings, null terminated)

    I haven't come up with good replacements for all of them, as infrequent as the requests are, I was trying not to spam any 3rd parties.

    For 2.1.0, I tested the following:

    www.google.com (left the same)
    developer.palm.com -> www.hpwebos.com/us
    www.hp.com (left the same)
    www.palm.com -> (my own domain)
    www.compaq.com -> www8.hp.com [+ 3 extra nulls]

    Since yesterday, I've gotten a whopping 3 hits requests to my own domain, so it may just be safe to use any other public domains since the traffic is small. The requirement is: no natural redirect (300 code), and not HTTPS. Not all captive portals allow / redirect / capture SSL.

    I'm a little curious about the algorithm and might investigate further using 5 of my own URLs, but this should help any others inclined to update theirs.

    My final (public) list is
    www.google.com (left the same)
    www.hpwebos.com/us
    www.hp.com (left the same)
    www.palm.com -> www8.hp.com [adding an extra null]
    www.compaq.com -> shopping.hp.com [overwriting a null]

    As to writing an app for this, I think the normal patch process will not be appropriate, given that this is a binary edit. The old flashplayer agent switcher for hulu etc used sed, but I don't think we can reliably replace things with NULL bytes, so unless we get URLs that match the length exactly, that approach may not work. Any other suggestions using software that's already installed on-device?


    Here's a diff for anyone who might want to duplicate (no xxd on device)

    Code:
    /webos/pre2-unlocked-doctor-2.1.0/rootfs/usr/bin$ diff -u <(xxd PmNetConfigManager) <(xxd PmNetConfigManager.edited)
    --- /dev/fd/63	2013-05-24 14:28:09.951605875 -0700
    +++ /dev/fd/62	2013-05-24 14:28:09.951605875 -0700
    @@ -19191,14 +19191,14 @@
     004af60: 2e72 656e 6428 2900 2573 3a20 4372 6561  .rend().%s: Crea
     004af70: 7469 6e67 204e 6577 204c 6973 7400 0000  ting New List...
     004af80: 6874 7470 3a2f 2f77 7777 2e67 6f6f 676c  http://www.googl
    -004af90: 652e 636f 6d00 0000 6874 7470 3a2f 2f64  e.com...http://d
    -004afa0: 6576 656c 6f70 6572 2e70 616c 6d2e 636f  eveloper.palm.co
    -004afb0: 6d00 0000 6874 7470 3a2f 2f77 7777 2e68  m...http://www.h
    +004af90: 652e 636f 6d00 0000 6874 7470 3a2f 2f77  e.com...http://w
    +004afa0: 7777 2e68 7077 6562 6f73 2e63 6f6d 2f75  ww.hpwebos.com/u
    +004afb0: 7300 0000 6874 7470 3a2f 2f77 7777 2e68  s...http://www.h
     004afc0: 702e 636f 6d00 0000 6874 7470 3a2f 2f77  p.com...http://w
     004afd0: 7777 2e62 696e 672e 636f 6d00 6874 7470  ww.bing.com.http
    -004afe0: 3a2f 2f77 7777 2e70 616c 6d2e 636f 6d00  ://www.palm.com.
    -004aff0: 6874 7470 3a2f 2f77 7777 2e63 6f6d 7061  http://www.compa
    -004b000: 712e 636f 6d00 0000 2573 3a20 526f 7461  q.com...%s: Rota
    +004afe0: 3a2f 2f77 7777 382e 6870 2e63 6f6d 0000  ://www8.hp.com..
    +004aff0: 6874 7470 3a2f 2f73 686f 7070 696e 672e  http://shopping.
    +004b000: 6870 2e63 6f6d 0000 2573 3a20 526f 7461  hp.com..%s: Rota
     004b010: 7469 6e67 204c 6973 7400 0000 0000 0000  ting List.......
     004b020: 7265 6164 4c69 6e65 0000 0000 0000 0000  readLine........
     004b030: 0000 0000 8830 0500 68c6 0300 58c7 0300  .....0..h...X...
    Last edited by dwc; 05/24/2013 at 05:30 PM.
  13. #53  
    This was happening on my veer 2.1.2 quite a lot. I just used vi to change www.palm.com to www.ebay.com. It hasn't happened since.
  14. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #54  
    The attached archive contains a simple binary patch for webOS 2.2.4 / pre2 that disables the captive portal check in PmNetConfigManager (specifically disables the test that detects a captive portal by turning a CMP R5,#0 into a MOVS R5,#1) so that captive portal notifications will never happen. Not even when the device is attached to a real captive portal. This patch does not simply silence the warning. Copy the nocaptive.sh file to the device and run with
    Code:
    sh /path/nocaptive.sh
    The original PmNetConfigManager will be backed up.

    The script contained in the archive will only work if the root filesystem is write-enabled.
    Attached Files Attached Files
  15. #55  
    Quote Originally Posted by iDG View Post
    The attached archive contains a simple binary patch for webOS 2.2.4 / pre2 that disables the captive portal check in PmNetConfigManager (specifically disables the test that detects a captive portal by turning a CMP R5,#0 into a MOVS R5,#1) so that captive portal notifications will never happen. Not even when the device is attached to a real captive portal. This patch does not simply silence the warning. Copy the nocaptive.sh file to the device and run with
    Code:
    sh /path/nocaptive.sh
    The original PmNetConfigManager will be backed up.

    The script contained in the archive will only work if the root filesystem is write-enabled.
    How would I go about doing this? What program do I use?
  16. iDG
    iDG is offline
    iDG's Avatar
    Posts
    37 Posts
    #56  
    Quote Originally Posted by Dr. Aquafresh View Post
    How would I go about doing this? What program do I use?
    On the device there's a tool called rootfs_open which can be used to temporarily make the root filesystem writeable:
    Code:
    rootfs_open -t
    There are other ways, but this is the easiest. It automatically reverts to the read only mode after reboot.
  17. #57  
    Quote Originally Posted by iDG View Post
    The attached archive contains a simple binary patch for webOS 2.2.4 / pre2 that disables the captive portal check in PmNetConfigManager (specifically disables the test that detects a captive portal by turning a CMP R5,#0 into a MOVS R5,#1) so that captive portal notifications will never happen. Not even when the device is attached to a real captive portal. This patch does not simply silence the warning. Copy the nocaptive.sh file to the device and run with
    Code:
    sh /path/nocaptive.sh
    The original PmNetConfigManager will be backed up.

    The script contained in the archive will only work if the root filesystem is write-enabled.
    I'm ready to try this. I'm so sick of this stupid notification. Do I have to have Preware installed or anything? Or can I just do this with Novaterm? ....and if so, where do I copy the file to on my phone to run it?

    TIA!
Page 3 of 3 FirstFirst 123

Posting Permissions