ole-om-community-2008 at mail.plastictree.net
Tue Jul 29 18:05:04 CEST 2008
On Tue, Jul 29, 2008 at 12:39:32PM +1000, Lorn Potter wrote:
> 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: 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.
But only for setting DNS and default gateway, at least on my system.
pppd is not run from ppp-network. And setting DNS is not done correctly.
The script is supposed to be called:
ppp-network install dns NAMESERVER1 NAMESERVER2
It then writes NAMESERVER1 and NAMESERVER2 into /etc/ppp/resolv.conf and
links that file to /etc/resolv.conf.
But ppp-network is called only with `install dns' not specifying any servers
thus /etc/ppp/resolv.conf is not even created.
pppd itself writes nameservers into /var/run/ppp/resolv.conf. So a
workaround for this is to link /var/run/ppp/resolv.conf to
This is the one problem; not so big. Big problem is that after first
connection with GPRS, I cannot make any phone calls anymore. Restarting
qpe fixes this.
After some more connections with GPRS, GPRS itself cannot connect
anymore, phone calls not working. Restarting qpe does not help, UI shows
`No Network'. Modem seems to be dead. Only reboot helps.
Maybe I should wait for 4.4 ... ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20080729/ceb5f12e/attachment.pgp
More information about the community