Hello everybody
I recently purchased a phone (sharp GX17) having an infrared port and GPRS capability. I can use it as a modem (through infrared) in WindowsXP to connect to the Internet without problems.
However, I get strange behaviour when I try to use it with my C750 (with pdaxrom).
I have set-up ppp correctly (using instructions from this forum and from other sites).
(I attached below the related files).
The problem is this:
- If I switch on my mobile and try to use it with the zaurus (calling pppd from the commandline), pppd first reports
Serial connection established.
Connect: ppp0 <--> /dev/ircomm0
but then disconnects with:
LCP: timeout sending Config-Requests
(this happens after sending a series of
sent [LCP ConfReq id=0x1 ]
and receiving nothing)
It 's frustrating, because if I issue the commands that are used in the chat-script by hand through minicom, I get the familiar stream of "garbage-like" characters that is ppp traffic.
- If i use the phone with windows, and then try to use it with the zaurus, ppp *works* perfectly!
(and it works again and again as long as I don't switch the mobile off).
I examined the modem log from the windows box and I use the same commands in my chat-script,
but with no luck. I cannot understand what may be the problem (some strange setting in the windows driver? a flow-control problem?...)
This is the modem log from windows:
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600 12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
12-11-2005 22:35:10.093 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
12-11-2005 22:35:10.093 - Modem type: GXmdm4_Ir
12-11-2005 22:35:10.093 - Modem inf path: mdmgx4_i.inf
12-11-2005 22:35:10.093 - Modem inf section: MDMGX
12-11-2005 22:35:10.093 - Matching hardware ID: irenum\shp6103
12-11-2005 22:35:15.892 - 115200,8,N,1, ctsfl=1, rtsctl=2
12-11-2005 22:35:15.892 - Initializing modem.
12-11-2005 22:35:15.902 - Send: AT
12-11-2005 22:35:16.002 - Recv: AT
12-11-2005 22:35:16.012 - Recv: OK
12-11-2005 22:35:16.012 - Interpreted response: OK
12-11-2005 22:35:16.032 - Send: AT V1 E0 &D2 &C1 S0=0
12-11-2005 22:35:16.172 - Recv: AT V1 E0 &D2 &C1 S0=0
12-11-2005 22:35:16.172 - Command Echo
12-11-2005 22:35:16.242 - Recv: OK
12-11-2005 22:35:16.242 - Interpreted response: OK
12-11-2005 22:35:16.252 - Send: ATS7=60 +DS=3,0,512,20 +IFC=2,2
12-11-2005 22:35:16.412 - Recv: OK
12-11-2005 22:35:16.412 - Interpreted response: OK
12-11-2005 22:35:16.412 - Setting Digital Link Protocol.
12-11-2005 22:35:16.422 - Send: AT+CGDCONT=1,,"internet"
12-11-2005 22:35:16.613 - Recv: OK
12-11-2005 22:35:16.613 - Interpreted response: OK
12-11-2005 22:35:16.623 - Send: AT+CBST=7,0,1;+CGQREQ=1,,,,,;+CGQMIN=1,,,,,
12-11-2005 22:35:16.833 - Recv: OK
12-11-2005 22:35:16.833 - Interpreted response: OK
12-11-2005 22:35:16.833 - Waiting for a call.
12-11-2005 22:35:16.843 - Send: ATS0=0
12-11-2005 22:35:17.023 - Recv: OK
12-11-2005 22:35:17.023 - Interpreted response: OK
12-11-2005 22:35:17.023 - Initializing modem.
12-11-2005 22:35:17.033 - Send: AT
12-11-2005 22:35:17.194 - Recv: OK
12-11-2005 22:35:17.194 - Interpreted response: OK
12-11-2005 22:35:17.204 - Send: AT V1 E0 &D2 &C1 S0=0
12-11-2005 22:35:17.444 - Recv: OK
12-11-2005 22:35:17.444 - Interpreted response: OK
12-11-2005 22:35:17.454 - Send: ATS7=60 +DS=0,0,512,20 +IFC=0,0
12-11-2005 22:35:17.654 - Recv: OK
12-11-2005 22:35:17.654 - Interpreted response: OK
12-11-2005 22:35:17.654 - Setting Digital Link Protocol.
12-11-2005 22:35:17.664 - Send: AT+CGDCONT=1,,"internet"
12-11-2005 22:35:17.804 - Recv: OK
12-11-2005 22:35:17.804 - Interpreted response: OK
12-11-2005 22:35:17.814 - Send: AT+CBST=7,0,1;+CGQREQ=1,,,,,;+CGQMIN=1,,,,,
12-11-2005 22:35:18.025 - Recv: OK
12-11-2005 22:35:18.025 - Interpreted response: OK
12-11-2005 22:35:18.025 - Dialing.
12-11-2005 22:35:18.035 - Send: ATD*###
12-11-2005 22:35:18.245 - Recv: CONNECT
12-11-2005 22:35:18.245 - Interpreted response: Connect
12-11-2005 22:35:18.245 - Receive Connect but CD was low, Waiting for signal to
go high
12-11-2005 22:35:18.265 - CD has been raised
12-11-2005 22:35:18.265 - Connection established at 115200bps.
12-11-2005 22:35:18.265 - Error-control off or unknown.
12-11-2005 22:35:18.265 - Data compression off or unknown.
12-11-2005 22:35:48.268 - Read: Total: 670, Per/Sec: 20, Written: Total: 4470, Per/Sec: 144
12-11-2005 22:35:50.181 - Hanging up the modem.
12-11-2005 22:35:50.191 - Hardware hangup by lowering DTR.
12-11-2005 22:35:51.733 - Detected CD dropped from lowering DTR
12-11-2005 22:35:51.733 - Recv: NO CARRIER
12-11-2005 22:35:51.733 - Interpreted response: No Carrier
12-11-2005 22:35:51.743 - Send: ATH
This is /etc/ppp/peers/cosmote (cosmote is my cellphone carrier):
/dev/ircomm0
115200
nocrtscts
local
connect '/usr/sbin/chat -s -v -f /etc/ppp/chat-cosmote'
noipdefault
user "user"
usepeerdns
defaultroute
remotename cosmote
nodetach
lcp-echo-failure 10000
lcp-echo-interval 1000
lcp-max-configure 3
novj
novjccomp
noauth
and this is my chat script:
TIMEOUT 15
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'RING'
ABORT 'NO CARRIER'
'' 'AT'
OK 'AT V1 E0 &D2 &C1 S0=0'
OK 'AT+CGDCONT=1,"IP","internet"'
OK 'ATS0=0'
#OK 'at+crlp=61,61,48,6,0,3'
OK 'AT'
OK 'ATS7=60 +DS=0,0,512,20 +IFC=0,0'
OK 'ATD*99#'
CONNECT ''
I have tried variations that I found on the net but the result is the same. In any case the scripts must be good, because ppp works (although as I said earlier only after using the phone once with my windows laptop).
Any ideas on what may the problem be?
I would be grateful for any answers/pointers (it's driving me crazy!).