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.
#!/bin/bash
shift
args=
while [ $# -gt 0 ] ; do
if [ "$1" == "disconnect" ] ; then
args="$args\" $1 \""
else
args="$args $1"
fi
if [ "$1" == "connect" ] ; then
args="$args \""
fi
shift
done
args="$args\""
eval /usr/sbin/_pppd $args
pgpJOh29FjbBE.pgp
Description: PGP signature
_______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

