Data call (aka CSD) with QtExtended

Ed Kapitein ed at
Tue Mar 24 21:33:23 CET 2009

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,

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)
 -- got it

send (AT+CBST=0,0,1^M)
expect (OK)
 -- got it

send (AT+CR=1^M)
expect (OK)
 -- got it

send (atdt 1234567890^M)
expect (CONNECT)
 -- got it

send (^M)
expect (Login)
 -- got it

send (isp_user_name at your.isp.dom^M)
expect (Password)
: isp_user_name at your.isp.dom^M
 -- got it

send (your_isp_passwd^M)
expect (L2TP)
: ^M
 -- 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:]> < 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:]>]
sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x148b1bd>
<pcomp> <accomp> <endpoint [local:]>]
sent [LCP EchoReq id=0x0 magic=0x34d2bbd3]
sent [PAP AuthReq id=0x1 user="isp_user_name at your.isp.dom"
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> <ms-dns1> <ms-dns3>]
rcvd [IPCP ConfReq id=0x1 <addr>]
sent [IPCP ConfAck id=0x1 <addr>]
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> <ms-dns1> <ms-dns3>]
rcvd [IPCP ConfReq id=0x2 <addr>]
sent [IPCP ConfAck id=0x2 <addr>]
rcvd [IPCP ConfNak id=0x2 <addr> <ms-dns1>
sent [IPCP ConfReq id=0x3 <addr> <ms-dns1>
rcvd [IPCP ConfAck id=0x3 <addr> <ms-dns1>
replacing old default route to usb0 []
local  IP address
remote IP address
primary   DNS address
secondary DNS address
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 []
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.

More information about the community mailing list