Thanks for the update. I will manage to test on my FR soon.<br><br>Cordially,<br>Tuan<br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 3:33 AM, Ed Kapitein <span dir="ltr"><<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 "proof" 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 '"' '{ print $2 }')<br>
<br>
</div>pppd nodetach debug call inbel "${MODEM}"<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 <--> /dev/pts/4<br>
rcvd [LCP ConfReq id=0x0]<br>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x34d2bbd3> <pcomp> <accomp>]<br>
sent [LCP ConfAck id=0x0]<br>
rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd><br>
<pcomp> <accomp> <mrru 1524> <endpoint<br>
[local:61.72.31.2e.6e.69.6b.2d.61.73.64]> < 17 04 59 3d>]<br>
sent [LCP ConfRej id=0x1 <mrru 1524> < 17 04 59 3d>]<br>
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x34d2bbd3> <pcomp> <accomp>]<br>
rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd><br>
<pcomp> <accomp> <endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]>]<br>
sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd><br>
<pcomp> <accomp> <endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]>]<br>
sent [LCP EchoReq id=0x0 magic=0x34d2bbd3]<br>
sent [PAP AuthReq id=0x1 user="isp_user_name@your.isp.dom"<br>
password=<hidden>]<br>
rcvd [LCP EchoRep id=0x0 magic=0x148b1bd]<br>
rcvd [PAP AuthAck id=0x1 ""]<br>
PAP authentication succeeded<br>
sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C> <deflate 15><br>
<deflate(old#) 15> <bsd v1 15>]<br>
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1<br>
0.0.0.0> <ms-dns3 0.0.0.0>]<br>
rcvd [IPCP ConfReq id=0x1 <addr 213.53.28.122>]<br>
sent [IPCP ConfAck id=0x1 <addr 213.53.28.122>]<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 <compress VJ 0f 01>]<br>
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3<br>
0.0.0.0>]<br>
rcvd [IPCP ConfReq id=0x2 <addr 213.53.28.122>]<br>
sent [IPCP ConfAck id=0x2 <addr 213.53.28.122>]<br>
rcvd [IPCP ConfNak id=0x2 <addr 217.149.216.138> <ms-dns1 217.149.196.6><br>
<ms-dns3 217.149.192.6>]<br>
sent [IPCP ConfReq id=0x3 <addr 217.149.216.138> <ms-dns1 217.149.196.6><br>
<ms-dns3 217.149.192.6>]<br>
rcvd [IPCP ConfAck id=0x3 <addr 217.149.216.138> <ms-dns1 217.149.196.6><br>
<ms-dns3 217.149.192.6>]<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 "User request"]<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>