Re: [QtMoko v26] online via GPRS

2010-09-20 Thread Alex Samorukov
On 09/18/2010 06:40 PM, Marcel Meyer wrote:
 * on demand does not seem to work. When I use NeronGPS and a map is missing,
 it seems as GPRS _tries_ to get online but that's all ;-)

I never tested on demand mode. Now i see that there is a bug in 
original qtopia. When pppd is started in ondemand mode its not opening 
serial port (as designed). QPE expects its to be open and start to write 
to the closed tty and hangs. Bug is somewhere inside QPE pppd manager, 
if i will have some free time i will fix it, it is trivial (e.g. - by 
initing serial port before running pppd).

There are 2 other related bugs:

1) Default gateway is already set to 192.168.0.200 (usb), so traffic 
never comes to pppd. as far as i remember - linux support weight for the 
gateways, so fix is also trivial, but will require some work. Another 
bug is related to indicator - it doesnt work correctly in on demand 
mode, showing irrelevant status. Probably also not too hard to fix.
 * Staying online over a longer period of time seems to lead to a complete
 failure of the GPRS-stack so that I have to reboot the Neo to be able to get
 online again.

I believe that this was fixed by me - GPRS session used the same ID 
numbers as Voice calls. I found that when fixed voice calls with active 
GPRS. Patch is done and probably will be in next qtmoko release.
 * Choosing always on leads to the phone trying to get online after booting
 and then hangs on the QtMoko-startscreen (after entering the PIN) when it
 tries to get online.

See above. May be i will fix this, but not sure if i will have a free 
time. Fix is trivial, looks like nobody tested ondemand mode at all, 
bug is inside QPE core. GPRS Status fix may be will get some more time, 
i`m not really understand how this indicators works :) But i`m afraid 
ondemand mode, especially if i`m in roaming :)
 * I meanwhile managed to immediately switch to the internet settings after
 rebooting the phone (hard-reset) and deactivate the GPRS-connection before
 QtMoko managed to get online.

You can ssh to the phone, delete default route (route delete default), 
add ppp0 as defroute (route add default ppp0) and ping any host - pppd 
will open port and system will be alive again :)

If you want to test the fix - write me to samm at os2.kiev.ua and i will 
send you modified libs.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko v26] online via GPRS

2010-09-18 Thread Alex Samorukov
On 09/18/2010 06:40 PM, Marcel Meyer wrote:
 Hi,

 I tried QtMoko in it's latest incarnation as the changelog said the GPRS-
 handling got improved :-) . I stumbled upon the following things:


It was a minor fix with adding +++ to the chat script. Not too much, but 
helps in some cases.
 * In the chat file there is a  missing at the end of the first line. So you
 always have to edit that file by hand after you opened the settings in the
 GUI.


Known problem, see Radek posts, fixed in git.
 * on demand does not seem to work. When I use NeronGPS and a map is missing,
 it seems as GPRS _tries_ to get online but that's all ;-)


Needs to be checked, but for me its very low priority.
 * Staying online over a longer period of time seems to lead to a complete
 failure of the GPRS-stack so that I have to reboot the Neo to be able to get
 online again.

Yes, it happens some time. You don`t need to reboot the NEO btw, 
restarting qtmoko should help.
 * Choosing always on leads to the phone trying to get online after booting
 and then hangs on the QtMoko-startscreen (after entering the PIN) when it
 tries to get online.

I don`t think that always on is a good idea for qtmoko. First 
generation GPRS and voice works very bad together. I`m recommending to 
switch it off when not used.
 * Starting the phone without SIM does not work. After trying to switch to the
 GUI it just stays on a black screen. I tried that to prevent the phone going
 online.

Non gprs related :)
 * I meanwhile managed to immediately switch to the internet settings after
 rebooting the phone (hard-reset) and deactivate the GPRS-connection before
 QtMoko managed to get online.

Its very easy to do by removing chat script using SSH connection to the 
phone.

P.S. I believe that some of the problem are related to openmoko 
multiplexer, but a lot of them - to the ancient modem with first 
generation gprs. I`m now trying to get qtmoko running with external 
demuxer, to see if it will improve the situation.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko v26] online via GPRS

2010-09-18 Thread Alex Samorukov
On 09/19/2010 02:53 AM, Brian Kemp wrote:
 P.S. I believe that some of the problem are related to openmoko
 multiplexer, but a lot of them - to the ancient modem with first
 generation gprs. I`m now trying to get qtmoko running with external
 demuxer, to see if it will improve the situation.
  
 I wonder if that may explain why I have never been able to authenticate
 successfully to ATT's GPRS network here in the states (maybe they're
 blacklisting older hardware?)

 I'm also having trouble translating their network settings information
 to what QtMoko accepts.

 If anyone's gotten it to work, I'd love to know what you did. I can
 supply the connection settings if that helps.

Please provide connection settings and the log file (/var/log/messages)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community