I'm slowly resolving the problems, using busybox to fill in the gaps:
This for my conf-pppd (very conservative)
ttyUSB0
115200
nocrtscts
debug dump
noauth
# modem
defaultroute
noipdefault
remotename 3gppp
ipparam 3gppp
# No ppp compression
novj
novjccomp
noccp
nopcomp
noaccomp
default-asyncmap
ipcp-accept-local
ipcp-accept-remote
local
usepeerdns
persist
hide-password
connect /etc/ppp/peers/ppp-dialer
And this for the ppp-dialer script:
#!/system/bin/sh
chat \
TIMEOUT 3 \
ABORT 'BUSY' \
ABORT 'ERROR' \
'' AT \
OK 'ATZ' \
OK 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' \
OK 'AT+CGDCONT=1,"IP","3internet"' \
OK ATD*99# \
CONNECT ' '
The network is now coming up, so I can ping 8.8.8.8 and nslookup google.com. However, ping google.com returns a cannot find domain error, and the normal browser reports I'm not connected to the internet.
For some reason, if I getprop | grep dns it tells me that my net1.dns is 4.4.4.4 - which doesn't connect. So there is some sort of problem with the dns resolution and this is being reset when the connection comes up. I'm not clear where this is configured in the Emteria install?