<div>Hi Ed,<br>Just try to initiate data call but no success.</div>
<div> </div>
<div>There is a strange symptom that is: If I use the same SIM but on other mobile (Motorora Z8) I can hear the far end land-line modem sound respone but if I use FR to call the same modem: (1) via AT commands I see no response, both sound and response modem characters so can not use expect(CONNECT) with ppp (2) via GUI, it drop the call.</div>

<div> </div>
<div>My FR can do voice call normally.</div>
<div> </div>
<div>Do you have any way to debug the status of data call while using AT commands? I just know +CEER but it does not give much info.</div>
<div> </div>
<div>Cordially,<br>Tuan</div>
<div class="gmail_quote">On Wed, Mar 25, 2009 at 3:33 AM, Ed Kapitein <span dir="ltr">&lt;<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Tuan,<br><br>I was able to make a datacall to a landline modem :-)<br><br>So you can use your freerunner to dial in to an ISP if you like.<br>
<br>i wil paste the &quot;proof&quot; of my success below.<br>Now i just need to find a way to make it less expensive...<br><br>Kind regards,<br>Ed<br>
<div class="im"><br><br>MODEM=$(dbus-send --system --print-reply --type=method_call<br>--dest=org.pyneo.muxer /org/pyneo/Muxer<br>org.freesmartphone.GSM.MUX.AllocChannel string:$identvar | grep string |<br>awk -F &#39;&quot;&#39; &#39;{ print $2 }&#39;)<br>
<br></div>pppd nodetach debug call inbel &quot;${MODEM}&quot;<br><br>timeout set to 25 seconds<br>send (ATE0^M)<br>abort on (BUSY)<br>abort on (DELAYED)<br>abort on (NO ANSWER)<br>abort on (NO DIALTONE)<br>abort on (VOICE)<br>
abort on (ERROR)<br>abort on (RINGING)<br>expect (OK)<br>^M<br>OK<br> -- got it<br><br>send (AT+CBST=0,0,1^M)<br>expect (OK)<br>^M<br>^M<br>OK<br> -- got it<br><br>send (AT+CR=1^M)<br>expect (OK)<br>^M<br>^M<br>OK<br> -- got it<br>
<br>send (atdt 1234567890^M)<br>expect (CONNECT)<br>^M<br>^M<br>+CR: REL ASYNC^M<br>^M<br>CONNECT<br> -- got it<br><br>send (^M)<br>expect (Login)<br>^M<br>^M<br>Login<br> -- got it<br><br>send (isp_user_name@your.isp.dom^M)<br>
expect (Password)<br>: isp_user_name@your.isp.dom^M<br>Password<br> -- got it<br><br>send (your_isp_passwd^M)<br>expect (L2TP)<br>: ^M<br>^M^M<br>   L2TP<br> -- got it<br><br>send (/n/d^M)<br>Serial connection established.<br>
using channel 11<br>Using interface ppp0<br>Connect: ppp0 &lt;--&gt; /dev/pts/4<br>rcvd [LCP ConfReq id=0x0]<br>sent [LCP ConfReq id=0x1 &lt;asyncmap 0x0&gt; &lt;magic 0x34d2bbd3&gt; &lt;pcomp&gt; &lt;accomp&gt;]<br>sent [LCP ConfAck id=0x0]<br>
rcvd [LCP ConfReq id=0x1 &lt;asyncmap 0xa0000&gt; &lt;auth pap&gt; &lt;magic 0x148b1bd&gt;<br>&lt;pcomp&gt; &lt;accomp&gt; &lt;mrru 1524&gt; &lt;endpoint<br>[local:61.72.31.2e.6e.69.6b.2d.61.73.64]&gt; &lt; 17 04 59 3d&gt;]<br>
sent [LCP ConfRej id=0x1 &lt;mrru 1524&gt; &lt; 17 04 59 3d&gt;]<br>rcvd [LCP ConfAck id=0x1 &lt;asyncmap 0x0&gt; &lt;magic 0x34d2bbd3&gt; &lt;pcomp&gt; &lt;accomp&gt;]<br>rcvd [LCP ConfReq id=0x2 &lt;asyncmap 0xa0000&gt; &lt;auth pap&gt; &lt;magic 0x148b1bd&gt;<br>
&lt;pcomp&gt; &lt;accomp&gt; &lt;endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]&gt;]<br>sent [LCP ConfAck id=0x2 &lt;asyncmap 0xa0000&gt; &lt;auth pap&gt; &lt;magic 0x148b1bd&gt;<br>&lt;pcomp&gt; &lt;accomp&gt; &lt;endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]&gt;]<br>
sent [LCP EchoReq id=0x0 magic=0x34d2bbd3]<br>sent [PAP AuthReq id=0x1 user=&quot;isp_user_name@your.isp.dom&quot;<br>password=&lt;hidden&gt;]<br>rcvd [LCP EchoRep id=0x0 magic=0x148b1bd]<br>rcvd [PAP AuthAck id=0x1 &quot;&quot;]<br>
PAP authentication succeeded<br>sent [CCP ConfReq id=0x1 &lt;mppe -H -M -S -L -D -C&gt; &lt;deflate 15&gt;<br>&lt;deflate(old#) 15&gt; &lt;bsd v1 15&gt;]<br>sent [IPCP ConfReq id=0x1 &lt;compress VJ 0f 01&gt; &lt;addr 0.0.0.0&gt; &lt;ms-dns1<br>
0.0.0.0&gt; &lt;ms-dns3 0.0.0.0&gt;]<br>rcvd [IPCP ConfReq id=0x1 &lt;addr 213.53.28.122&gt;]<br>sent [IPCP ConfAck id=0x1 &lt;addr 213.53.28.122&gt;]<br>rcvd [LCP EchoReq id=0x1 magic=0x148b1bd c0 23 05 06]<br>sent [LCP EchoRep id=0x1 magic=0x34d2bbd3 00 00 00 00]<br>
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 15 12 06 00 00 00 00 1a 04 78 00<br>18 04 78 00 15 03 2f]<br>rcvd [IPCP ConfRej id=0x1 &lt;compress VJ 0f 01&gt;]<br>sent [IPCP ConfReq id=0x2 &lt;addr 0.0.0.0&gt; &lt;ms-dns1 0.0.0.0&gt; &lt;ms-dns3<br>
0.0.0.0&gt;]<br>rcvd [IPCP ConfReq id=0x2 &lt;addr 213.53.28.122&gt;]<br>sent [IPCP ConfAck id=0x2 &lt;addr 213.53.28.122&gt;]<br>rcvd [IPCP ConfNak id=0x2 &lt;addr 217.149.216.138&gt; &lt;ms-dns1 217.149.196.6&gt;<br>&lt;ms-dns3 217.149.192.6&gt;]<br>
sent [IPCP ConfReq id=0x3 &lt;addr 217.149.216.138&gt; &lt;ms-dns1 217.149.196.6&gt;<br>&lt;ms-dns3 217.149.192.6&gt;]<br>rcvd [IPCP ConfAck id=0x3 &lt;addr 217.149.216.138&gt; &lt;ms-dns1 217.149.196.6&gt;<br>&lt;ms-dns3 217.149.192.6&gt;]<br>
replacing old default route to usb0 [192.168.0.200]<br>local  IP address 217.149.216.138<br>remote IP address 213.53.28.122<br>primary   DNS address 217.149.196.6<br>secondary DNS address 217.149.192.6<br>Script /etc/ppp/ip-up started (pid 1992)<br>
Script /etc/ppp/ip-up finished (pid 1992), status = 0x0<br>Terminating on signal 2<br>Connect time 0.6 minutes.<br>Sent 874 bytes, received 1113 bytes.<br>restoring old default route to usb0 [192.168.0.200]<br>Script /etc/ppp/ip-down started (pid 2005)<br>
sent [LCP TermReq id=0x2 &quot;User request&quot;]<br>Script /etc/ppp/ip-down finished (pid 2005), status = 0x0<br>rcvd [LCP TermAck id=0x2]<br>Connection terminated.<br>
<div>
<div></div>
<div class="h5"><br><br><br>_______________________________________________<br>Openmoko community mailing list<br><a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br><a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>