QtExtended 4.4.2 : GPRS
Bartłomiej Zimoń
uzi18 at o2.pl
Thu Nov 6 15:47:40 CET 2008
Tuesday 04 of November 2008 17:34:03 Bartłomiej Zimoń napisał(a):
> One step closer . this connect script is working well (need tu update always after change by gui) :
>
> TIMEOUT 15
> "" "\K\K\K\d+++ATH"
> OK-AT-OK ATZ
> OK ATE1
> ABORT BUSY
> ABORT DELAYED
> ABORT "NO ANSWER"
> ABORT "NO DIALTONE"
> ABORT VOICE
> ABORT ERROR
> ABORT RINGING
> TIMEOUT 60
> OK AT+CFUN=1
> ERROR AT+CPIN="here your pin" # but here after 1st connect i have OK!! and abort :(
> OK AT+COPS
> OK AT+CGDCONT=1,"IP","mms"
> OK ATD*99#
> CONNECT ''
>
> now ppd connects
> but have bad (default) local and remote addresses - is it possible ?
> local 10.64.64.64.64
> remote 10.112.112.112
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:10.64.64.64 P-t-P:10.112.112.112 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2 errors:0 dropped:297 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:0 (0.0 B) TX bytes:118 (118.0 B)
>
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.112.112.112 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
> 0.0.0.0 10.112.112.112 0.0.0.0 UG 0 0 0 ppp0
>
> root at om-gta02:~# ping 10.112.112.112
> PING 10.112.112.112 (10.112.112.112): 56 data bytes
>
> --- 10.112.112.112 ping statistics ---
> 7 packets transmitted, 0 packets received, 100% packet loss
>
Now even worst after 1-2h power off i have this log after boot :
# tail -f /tmp/qtopia-0/qpe-pppd-log-dialup1225707475
timeout set to 15 seconds
send (\K\K\K\d+++ATH^M)
expect (OK)
alarm
send (AT^M)
expect (OK)
alarm
Failed
Connect script failed
_________________
Regards
Bartłomiej Zimoń
More information about the community
mailing list