webOS Nation Forums > webOS smartphones (Pre, Pixi, Veer) > Palm Pre and Pre Plus > APN Problems with 1.3.1/1.3.5
1 2 3 
Member: xioq
at: 11:49 AM 01/02/2010
Looking for the fix? Look below to Dick99999 and my own answers!
--
I just installed 1.3.5 on my German Pre (in the Netherlands) with hope for working 3G once again. However, no such luck, so I'll probably go back to 1.2.1.

What I did find in the log files, was pretty interesting! In the messages log file you can track the communication between the Pre and the APN. Everything seemed to have worked..

It gets the "CONNECT" command, "CHAP authentication succeeded", and it even detects the speed:
cdc_acm 1-1:1.0: connection speed change: 262144 bps up, 262144 bps down

Then...
Message in the Manual APN screen: "Invalid internet APN settings"

However, I am not sure what happened. So I'm posting the rest of the log here hoping someone else might figure that out. Looks like there's a alarm/timer killing the connection - but why.

[code]2010-01-02T16:42:16.384246Z [2074] palm-webos-device kern.info kernel: [ 2074.190000] cdc_acm 1-1:1.0: connection speed change: 262144 bps up, 262144 bps down
2010-01-02T16:42:16.531127Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.til-189) for 5000ms => true
2010-01-02T16:42:16.546447Z [2074] palm-webos-device user.info powerd: POWERD-ALARM: alarmAdd: ((null) (null) com.palm.wan.pppdexit) in 00:00:05
2010-01-02T16:42:16.575775Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.til-189)
2010-01-02T16:42:16.584930Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.power-190) for 5000ms => true
2010-01-02T16:42:16.589416Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.power-190)
2010-01-02T16:42:16.593963Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.power-191) for 5000ms => true
2010-01-02T16:42:16.599578Z [2074] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.power-191)
2010-01-02T16:42:17.803741Z [2075] palm-webos-device daemon.debug pppd[2717]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
2010-01-02T16:42:20.813568Z [2078] palm-webos-device daemon.debug pppd[2717]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
2010-01-02T16:42:20.827209Z [2078] palm-webos-device user.info powerd: POWERD-ALARM: Alarm ((null) (null) com.palm.wan.pppdexit) fired at Sat Jan 2 16:42:20 2010
2010-01-02T16:42:20.846801Z [2078] palm-webos-device user.info powerd: POWERD-TIMEOUT: _timeout_fire (com.palm.power,com.palm.wan.pppdexit-71 => luna://com.palm.power/time/internalAlarmFired)
2010-01-02T16:42:20.847198Z [2078] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.power.timeout_fired) for 5000ms => true
2010-01-02T16:42:20.856933Z [2078] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStart: (com.palm.wan.power-192) for 5000ms => true
2010-01-02T16:42:20.857330Z [2078] palm-webos-device user.info powerd: POWERD-ACTIVITY: PowerdActivityStop: (com.palm.wan.power-192)[/code]

Also I saw this when it went to sleep while playing around:
[code]2010-01-02T16:54:00.961578Z [2778] palm-webos-device user.crit LunaSysMgr: {LunaSysMgrJS}: com.palm.systemui: Error: SystemUI - Updating WAN Icon - Status - Removed {"state": "enable", "roamGuard": "disable", "networktype": "umts", "dataaccess": "usable", "networkstatus": "attached", "disablewan": "off"}, file:///usr/lib/luna/system/luna-systemui/index.html:0[/code]

Looks like it was trying to set the WAN icon to enabled but failed..
Reply
Member: bruba
at: 12:02 PM 01/02/2010
We currently have $120 in donations (!) for someone who's able to fix this..
Reply
Member: xioq
at: 12:09 PM 01/02/2010
Originally Posted by bruba:
We currently have $60 in donations for someone who's able to fix this..
Oh I did not find that thread, sorry for that.
Reply
Member: bruba
at: 12:16 PM 01/02/2010
Originally Posted by xioq:
Oh I did not find that thread, sorry for that.
That's ok.. hopefully with all these topics Palm will read one of them. Slight slight chance it'll be fixed in EU 1.3.5..

I'm currently running 1.3.5 without 3G. 1.3.1 wasn't that much of a difference, but I really don't want to go back to 1.2.1 now.
Reply
Member: xioq
at: 01:04 PM 01/02/2010
I don't feel like going back to 1.2.1 either but if I can't get data to work soon I will have to.. so I'm still playing around with the doctors and in the terminal hoping to find something..

Found another message:[code]com.palm.data.carriernetworksettings.UnknownMccMncException[/code]
Looked it up in another log file referenced in the real message (/var/log/rdxd/pending/*.tgz file)
[code]Thread: com.palm.data.carriernetworksettings
ServiceClass: com.palm.data.carriernetworksettings.ActiveCarrierNetworkPrefs
Exception: com.palm.data.carriernetworksettings.UnknownMccMncException
Message: mcc/mnc/shortName 204, 4, not found[/code]

So it sounds like it cannot find mcc 204 mnc 4 'empty shortname'. The MCC and MNC numbers are the ones for Vodafone NL (on which I am), but they do exist in the carrierdatabase (I checked). I actually saw another provider in there with the same MCC and MNC (which can't be right.. shouldn't be..) so I tried removing those, but that didn't help either.
Reply
Member: ozuzo
at: 03:35 PM 01/02/2010
The problem is at:

2010-01-02T16:42:17.803741Z [2075] palm-webos-device daemon.debug pppd[2717]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

This ConfReq never gets replied to, something which does happen e.g. on t-mobile NL (log by Dick9999)
Reply
Member: xioq
at: 04:19 PM 01/02/2010
Originally Posted by ozuzo:
The problem is at:

2010-01-02T16:42:17.803741Z [2075] palm-webos-device daemon.debug pppd[2717]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

This ConfReq never gets replied to, something which does happen e.g. on t-mobile NL (log by Dick9999)
I don't know what the ConfReq is but it sounds wrong then, seeing how it does work on 1.2.1 and 1.1.3.. oy ve!
Reply
Member: ozuzo
at: 05:03 AM 01/03/2010
Neither do I really :-) From what I've read about it it is part of the capability negotiations to establish a connection.

Checked my logs, couldn't find an mmc exception there, so either you're having a different problem, or I overlooked something...
Reply
Member: xioq
at: 06:13 AM 01/03/2010
Originally Posted by ozuzo:
Neither do I really :-) From what I've read about it it is part of the capability negotiations to establish a connection.

Checked my logs, couldn't find an mmc exception there, so either you're having a different problem, or I overlooked something...
That exception was in another log but I only got it rarily. I've compared a lot of config files, the chat/negotiation scripts, changed modem firmware to (Sprint) 1.2.1 and (WR) 1.1.3 versions using the correct tools but all with no succes, going over the database file looking for duplicates, incorrect settings, tried manual and auto every time, etc. etc. So I think I'm out for now and will just flash 1.2.1 back for now. For me, my phone is worthless without 3G.
Reply
Member: Dick99999
at: 10:25 AM 01/03/2010
May be it is our first lucky Sunday of 2010. I tried this and it worked! I bought a prepaid Vodafone-NL card. Exchanged it with my working tmobile-NL Simcard, and gone was 3G.

After 'some' work, I found that the attached files solve the problem, and 3G is back with Vodafone. I even got an SMS form them, telling me that I spent some money of my prepaid budget, of course while doing nothing......

Also attached is a log file. This records what a working 3G connection should log in this case (at the bottom part, the top lists the error case) . Hope this solves the problem for you guys too.

--edit
I used manual settings, got the APN error message, and hit save anyway. I used webOS 1.3.5 (Sprint) on a German Pre.
Attached: ppp options.zip (21.4 KB) 
Reply
Member: xioq
at: 10:42 AM 01/03/2010
You beat me to it Dick9999, but you are absolutely right. I was just playing with the options in the official 1.3.1 WR version, and got it to work before I read this post. Pretty much same thing I changed.

My steps:
1) Fix CarrierNetworkSettings.db3
2) Modify /etc/ppp/options-gsm

I edited the options like this (added just before the end of file)[code]#noccp
#novj
#show-password
#nobsdcomp
#noipdefault
#nodeflate
user "vodafone"
password "vodafone" [/code]
At first I thought it might be a compression problem, then I also attempted adding the manual user/pass.

So, the lines that I marked in my code-block with # in front of them are NOT required. Just removed them from mine, just had the user/password in there and it still worked.

While I'm not sure why this problem has occurred since the 1.3.1 update - I'm glad to see it resolved. I will waste more of time to test Sprint 1.3.5 on my GSM with the same settings, but I'll need to make a new Doctor to reflash 1.3.5 on mine so it'll take a while..
Reply
Member: xioq
at: 11:16 AM 01/03/2010
Works on 1.3.5, like a charm!
For the record, I am using a German O2 Palm Pre, with QWERTZ keyboard, on "Vodafone NL".

- To get 1.3.5 -
1) Download Sprint webOS Doctor 1.2.1 AND 1.3.5
2) Rename them both to .zip instead of .jar and extract them into a folder
3) Move "1.3.5/resources/webOS.tar" into "1.2.1/resources/webOS.tar"
4) Create an archive of the contents of 1.2.1 (so don't include the 1.2.1 folder, just the 3 folders inside it)
5) Rename it back to .jar
6) Optionally use the MetaDoctor to unpack/patch/pack [code]make CARRIER=sprint VERSION=1.3.5 unpack patch pack[/code]
7) Run it!
8) The Doctor will probably end in an error but the Pre should be fine by then, it was for me every single time I've done it (about 3 times)

- To get 3G working -
9) Change CarrierSettings [see http://forums.precentral.net/gsm-pre...settings.html]
10) Modify "/etc/ppp/options-gsm" to include:[code]user "vodafone"
password "vodafone"[/code]
(note: these are the APN user/password, might be different for you)
11) Restart the phone.

If all went well, you should have a working 1.3.5 webOS version with 3G! You could also flash the modem firmware to the newer one that is in the 1.3.1 webOS Doctor if you want to, but it's not required.
Reply
Member: bruba
at: 11:57 AM 01/03/2010
Absolutely awesome guys! Simply added user "vodafone" and password "vodafone" to /etc/ppp/options-gsm and my 3G works! Finally, after 2 months..

Do you have a paypal for the $30 Dick99999?
Reply
Member: jpage1970
at: 12:23 PM 01/03/2010
Well that is fantastic news!!!


May I ask a newbie question, before I upgrade from 1.1.3 to 1.3.1 EU

Do I simply pull the file options-gsm from /etc/ppp/ modify it and then push it back????



Same question from me too, if you have paypal Dick99999 I will gladly send you a few euros!

P.s. oh I have to reactivate my profile if I upgrade,no?, will it work with an O2 paygo sim with data activated????
Reply
Member: xioq
at: 12:27 PM 01/03/2010
Originally Posted by jpage1970:
Well that is fantastic news!!!


May I ask a newbie question, before I upgrade from 1.1.3 to 1.3.1 EU

Do I simply pull the file options-gsm from /etc/ppp/ modify it and then push it back????



Same question from me too, if you have paypal Dick99999 I will gladly send you a few euros!

P.s. oh I have to reactivate my profile if I upgrade,no?, will it work with an O2 paygo sim with data activated????
1) Yes, as soon as you have 1.3.1 on your Phone, you Retrieve it, Modify it, Send it back.
2) I don't know if an O2 PayGo Sim works, I'm not in the UK. But you could always use MetaDoctor on the 1.3.1 WebOS Doctor (before you use it) to 'patch' it and make it bypass initial activation. Otherwise hopefully someone else will be able to tell you if the prepaid card would work.
Reply
Member: pacosal
at: 01:15 PM 01/03/2010
BRAVO!,

it works perfectly on Euskaltel (spain) too.

Thank you all!
Reply
Member: Dick99999
at: 03:38 PM 01/03/2010
Thanks guys,glad it works across Europe.

So, you may wish to if you find this or this solution worth it. I will donate 40% of donations received to xioq who pinned down the parts that really seem to be required.
Reply
Member: ozuzo
at: 06:09 PM 01/03/2010
Guys, you made my day :-) I had played with that file endlessly, but never ever thought about adding the username password as they seemed to be inserted properly on the pppd command line. Weird.

Just for the record: CarrierSettings db modification is not necessary, the manual settings in the phone prefs app works as well over here.
Reply
Member: jester3397
at: 09:48 AM 01/04/2010
Sorry for being a newb but could you direct me on where I can dowload these files:
1) Download Sprint webOS Doctor 1.2.1 AND 1.3.5

thanks.
Reply
Member: xioq
at: 09:55 AM 01/04/2010
Originally Posted by jester3397:
Sorry for being a newb but could you direct me on where I can dowload these files:
1) Download Sprint webOS Doctor 1.2.1 AND 1.3.5

thanks.
Webos Doctor Versions - WebOS Internals
Not trying to sound offending,;but do you think you will be able to do the rest of the steps correctly if you can't even find these downloads? ....
Reply
1 2 3 
webOS Nation Forums > webOS smartphones (Pre, Pixi, Veer) > Palm Pre and Pre Plus > APN Problems with 1.3.1/1.3.5