Data call (aka CSD) with QtExtended

Tuan TRINH openmoko.vn at gmail.com
Wed Mar 25 17:45:58 CET 2009


Thanks for the update. I will manage to test on my FR soon.

Cordially,
Tuan

On Wed, Mar 25, 2009 at 3:33 AM, Ed Kapitein <ed at kapitein.org> wrote:

> Hi Tuan,
>
> I was able to make a datacall to a landline modem :-)
>
> So you can use your freerunner to dial in to an ISP if you like.
>
> i wil paste the "proof" of my success below.
> Now i just need to find a way to make it less expensive...
>
> Kind regards,
> Ed
>
>
> MODEM=$(dbus-send --system --print-reply --type=method_call
> --dest=org.pyneo.muxer /org/pyneo/Muxer
> org.freesmartphone.GSM.MUX.AllocChannel string:$identvar | grep string |
> awk -F '"' '{ print $2 }')
>
> pppd nodetach debug call inbel "${MODEM}"
>
> timeout set to 25 seconds
> send (ATE0^M)
> abort on (BUSY)
> abort on (DELAYED)
> abort on (NO ANSWER)
> abort on (NO DIALTONE)
> abort on (VOICE)
> abort on (ERROR)
> abort on (RINGING)
> expect (OK)
> ^M
> OK
>  -- got it
>
> send (AT+CBST=0,0,1^M)
> expect (OK)
> ^M
> ^M
> OK
>  -- got it
>
> send (AT+CR=1^M)
> expect (OK)
> ^M
> ^M
> OK
>  -- got it
>
> send (atdt 1234567890^M)
> expect (CONNECT)
> ^M
> ^M
> +CR: REL ASYNC^M
> ^M
> CONNECT
>  -- got it
>
> send (^M)
> expect (Login)
> ^M
> ^M
> Login
>  -- got it
>
> send (isp_user_name at your.isp.dom^M)
> expect (Password)
> : isp_user_name at your.isp.dom^M
> Password
>  -- got it
>
> send (your_isp_passwd^M)
> expect (L2TP)
> : ^M
> ^M^M
>    L2TP
>  -- got it
>
> send (/n/d^M)
> Serial connection established.
> using channel 11
> Using interface ppp0
> Connect: ppp0 <--> /dev/pts/4
> rcvd [LCP ConfReq id=0x0]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x34d2bbd3> <pcomp>
> <accomp>]
> sent [LCP ConfAck id=0x0]
> rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd>
> <pcomp> <accomp> <mrru 1524> <endpoint
> [local:61.72.31.2e.6e.69.6b.2d.61.73.64]> < 17 04 59 3d>]
> sent [LCP ConfRej id=0x1 <mrru 1524> < 17 04 59 3d>]
> rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x34d2bbd3> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd>
> <pcomp> <accomp> <endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]>]
> sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd>
> <pcomp> <accomp> <endpoint [local:61.72.31.2e.6e.69.6b.2d.61.73.64]>]
> sent [LCP EchoReq id=0x0 magic=0x34d2bbd3]
> sent [PAP AuthReq id=0x1 user="isp_user_name at your.isp.dom"
> password=<hidden>]
> rcvd [LCP EchoRep id=0x0 magic=0x148b1bd]
> rcvd [PAP AuthAck id=0x1 ""]
> PAP authentication succeeded
> sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C> <deflate 15>
> <deflate(old#) 15> <bsd v1 15>]
> sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
> 0.0.0.0> <ms-dns3 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x1 <addr 213.53.28.122>]
> sent [IPCP ConfAck id=0x1 <addr 213.53.28.122>]
> rcvd [LCP EchoReq id=0x1 magic=0x148b1bd c0 23 05 06]
> sent [LCP EchoRep id=0x1 magic=0x34d2bbd3 00 00 00 00]
> rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 15 12 06 00 00 00 00 1a 04 78 00
> 18 04 78 00 15 03 2f]
> rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
> sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
> 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x2 <addr 213.53.28.122>]
> sent [IPCP ConfAck id=0x2 <addr 213.53.28.122>]
> rcvd [IPCP ConfNak id=0x2 <addr 217.149.216.138> <ms-dns1 217.149.196.6>
> <ms-dns3 217.149.192.6>]
> sent [IPCP ConfReq id=0x3 <addr 217.149.216.138> <ms-dns1 217.149.196.6>
> <ms-dns3 217.149.192.6>]
> rcvd [IPCP ConfAck id=0x3 <addr 217.149.216.138> <ms-dns1 217.149.196.6>
> <ms-dns3 217.149.192.6>]
> replacing old default route to usb0 [192.168.0.200]
> local  IP address 217.149.216.138
> remote IP address 213.53.28.122
> primary   DNS address 217.149.196.6
> secondary DNS address 217.149.192.6
> Script /etc/ppp/ip-up started (pid 1992)
> Script /etc/ppp/ip-up finished (pid 1992), status = 0x0
> Terminating on signal 2
> Connect time 0.6 minutes.
> Sent 874 bytes, received 1113 bytes.
> restoring old default route to usb0 [192.168.0.200]
> Script /etc/ppp/ip-down started (pid 2005)
> sent [LCP TermReq id=0x2 "User request"]
> Script /etc/ppp/ip-down finished (pid 2005), status = 0x0
> rcvd [LCP TermAck id=0x2]
> Connection terminated.
>
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090325/09886805/attachment.htm 


More information about the community mailing list