Qtopia: GPRS
Lorn Potter
lpotter at trolltech.com
Tue Jul 29 04:39:32 CEST 2008
Ole Kliemann wrote:
> On Mon, Jul 28, 2008 at 07:57:01PM +0000, Ole Kliemann wrote:
>> On Mon, Jul 28, 2008 at 06:32:18PM +0000, Ole Kliemann wrote:
>>> Jul 28 16:29:29 om-gta02 user.notice Qtopia: Network : starting pppd (non-demand) : "/usr/sbin/pppd nodetach debug call dialup1217032395 password simyo logfile /tmp/qtopia-0/qpe-pppd-log-dialup1217032395 connect /opt/Qtopia/bin/qtopia-pppd-internal active /home/root/Appl
>>> Jul 28 16:29:29 om-gta02 user.notice Qtopia: Network : Call state: 2
>>> Jul 28 16:29:29 om-gta02 user.notice Qtopia: Network : Data state: "DataCall started dataInactive "
>>> Jul 28 16:29:29 om-gta02 user.notice Qtopia: /usr/sbin/pppd: unrecognized option '
>>> Jul 28 16:29:29 om-gta02 user.notice Qtopia: '
>>> Jul 28 18:29:29 om-gta02 daemon.err pppd[2905]: unrecognized option ' '
>> Problem is that Qtopia launches pppd with garbage in the first arg and
>> without properly quoting. I made a blunt workaround using a shell
>> script.
>>
>> Still that wasn't all... not yet sure what the next problem is.
>
> Ok. The script was completely broken. I didn't notice. :/ GPRS was
> really working one time now. But after disconnecting again things are
> broken:
>
> Jul 28 21:37:39 om-gta02 user.notice Qtopia: AtChat : F : "Bn×ÿÿÚ)ðy~~ÿ^C!E4¶@:^FËWÔ^Wa"
> Jul 28 21:37:39 om-gta02 user.notice Qtopia: AtChat : F : "}^º^SظÔ5b^E+"
> Jul 28 21:37:39 om-gta02 user.notice Qtopia: AtChat : F : "*^Q1²^A^A^H"
>
> Sure doesn't look healthy... There is also one pts still open, seems
> like things don't get cleaned up properly.
Qtopia runs the /opt/Qtopia/bin/ppp-network script. I have fixed a few things I could see, but
haven't yet tested:
==== //depot/qtopia/main/devices/ficgta01/src/devtools/scripts/ppp-network#2 (xtext) ====
24c24
< RESOLVCONF="/mnt/user/etc/resolv.conf"
---
> RESOLVCONF="/etc/resolv.conf"
68c68,70
< mkdir /etc/ppp/peers
---
> if [ ! -e /etc/ppp/peers ]; then
> mkdir /etc/ppp/peers
> fi
100c102
< $PPPD $* &
---
> "$PPPD" "$*" &
--
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company
More information about the community
mailing list