Member
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129
Rep:
|
pppd and kppp, can't connect: stuck with NO CARRIER
I looked around but could not find anything useful.
I'm using Slackware 10.2 kernel 2.6.13 on a laptopt with slmodem using slmodemd --alsa -c USA modem:1.
The problem:
Everytime I try to connect to internet either with kppp or pppd, both exit with the NO CARRIER error.
I really need some ideas on how to solve this. Possibly to write a connection script for pppd as a workaround? But I have no idea where to begin and what to write.
I will post a Windows XP modem log, but it is not helping me because I don't know how to read it...
Following is the log I got from Windows XP modem logging the last time I connected to internet (see also the end for a NO CARRIER response of windows xp). I am posting this hoping that it could be a base to a script you could help me with for pppd:
----
09-24-2005 20:33:25.375 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
09-24-2005 20:33:25.375 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
09-24-2005 20:33:25.375 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
09-24-2005 20:33:25.375 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
09-24-2005 20:33:25.390 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
09-24-2005 20:33:25.390 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
09-24-2005 20:33:25.390 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
09-24-2005 20:33:25.390 - Modem type: Agere Systems AC'97 Modem
09-24-2005 20:33:25.390 - Modem inf path: oem19.inf
09-24-2005 20:33:25.390 - Modem inf section: ATI_AMR_SA.Modem
09-24-2005 20:33:25.390 - Matching hardware ID: pci\ven_1002&dev_434d&subsys_006b103c
09-24-2005 20:33:26.453 - Opening Modem
09-24-2005 20:33:26.453 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:33:26.453 - Initializing modem.
09-24-2005 20:33:26.468 - Send: AT<cr>
09-24-2005 20:33:26.468 - Recv: AT<cr>
09-24-2005 20:33:26.468 - Command Echo
09-24-2005 20:33:26.468 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.468 - Interpreted response: OK
09-24-2005 20:33:26.484 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:33:26.484 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:33:26.484 - Command Echo
09-24-2005 20:33:26.500 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.500 - Interpreted response: OK
09-24-2005 20:33:26.515 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X4<cr>
09-24-2005 20:33:26.515 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.515 - Interpreted response: OK
09-24-2005 20:33:26.515 - Waiting for a call.
09-24-2005 20:33:26.531 - Send: ATS0=0<cr>
09-24-2005 20:33:26.531 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.531 - Interpreted response: OK
09-24-2005 20:33:26.625 - TSP(0000): Making Call
09-24-2005 20:33:26.625 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:33:26.625 - Initializing modem.
09-24-2005 20:33:26.640 - Send: AT<cr>
09-24-2005 20:33:26.640 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.640 - Interpreted response: OK
09-24-2005 20:33:26.656 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:33:26.656 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.656 - Interpreted response: OK
09-24-2005 20:33:26.671 - Send: ATS7=60S30=0L0M0\N3%C1&K3N1\J1X4<cr>
09-24-2005 20:33:26.671 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:33:26.671 - Interpreted response: OK
09-24-2005 20:33:26.671 - Dialing.
09-24-2005 20:33:26.671 - TSP Completing Async Operation(0x00010023) Status 0x00000000
09-24-2005 20:33:26.671 - TSP(0000): LINEEVENT: LINECALLSTATE_DIALING
09-24-2005 20:33:26.671 - TSP(0000): LINEEVENT: LINECALLSTATE_PROCEEDING
09-24-2005 20:33:26.687 - Send: ATDT##########<cr>
09-24-2005 20:34:09.843 - Recv: <cr><lf>CONNECT 31200 V42bis<cr><lf>
09-24-2005 20:34:09.843 - Interpreted response: Connect
09-24-2005 20:34:09.843 - Connection established at 31200bps.
09-24-2005 20:34:09.843 - Error-control on.
09-24-2005 20:34:09.843 - Data compression on.
09-24-2005 20:34:09.843 - TSP(0000): LINEEVENT: LINECALLSTATE_CONNECTED
09-24-2005 20:34:39.843 - Read: Total: 13602, Per/Sec: 452, Written: Total: 0, Per/Sec: 0
09-24-2005 20:36:39.843 - Read: Total: 33307, Per/Sec: 164, Written: Total: 0, Per/Sec: 0
09-24-2005 20:38:39.843 - Read: Total: 46070, Per/Sec: 106, Written: Total: 0, Per/Sec: 0
--------------------
I also found an entry (of a previous dial in) in that log where Windows encounters a NO CARRIER signal (?) (line 4):
09-24-2005 20:30:24.312 - Hanging up the modem.
09-24-2005 20:30:24.312 - Hardware hangup by lowering DTR.
09-24-2005 20:30:25.859 - Detected CD dropped from lowering DTR
09-24-2005 20:30:25.859 - Recv: <cr><lf>NO CARRIER<cr><lf>
09-24-2005 20:30:25.859 - Interpreted response: No Carrier
09-24-2005 20:30:25.875 - Send: ATH E1<cr>
09-24-2005 20:30:25.875 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.875 - Interpreted response: OK
09-24-2005 20:30:25.890 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:30:25.890 - Initializing modem.
09-24-2005 20:30:25.906 - Send: AT<cr>
09-24-2005 20:30:25.906 - Recv: AT<cr>
09-24-2005 20:30:25.906 - Command Echo
09-24-2005 20:30:25.906 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.906 - Interpreted response: OK
And here is the entire log for that "NO CARRIER" session (you can see NO CARRIER on line 28 from the end of the log):
------------------------
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
09-24-2005 20:22:19.203 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
09-24-2005 20:22:19.218 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
09-24-2005 20:22:19.218 - Modem type: Agere Systems AC'97 Modem
09-24-2005 20:22:19.218 - Modem inf path: oem19.inf
09-24-2005 20:22:19.218 - Modem inf section: ATI_AMR_SA.Modem
09-24-2005 20:22:19.218 - Matching hardware ID: pci\ven_1002&dev_434d&subsys_006b103c
09-24-2005 20:22:20.281 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:22:20.281 - Initializing modem.
09-24-2005 20:22:20.296 - Send: AT<cr>
09-24-2005 20:22:20.296 - Recv: AT<cr>
09-24-2005 20:22:20.296 - Command Echo
09-24-2005 20:22:20.296 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.296 - Interpreted response: OK
09-24-2005 20:22:20.312 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:22:20.312 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:22:20.312 - Command Echo
09-24-2005 20:22:20.312 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.312 - Interpreted response: OK
09-24-2005 20:22:20.328 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X4<cr>
09-24-2005 20:22:20.328 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.328 - Interpreted response: OK
09-24-2005 20:22:20.328 - Waiting for a call.
09-24-2005 20:22:20.343 - Send: ATS0=0<cr>
09-24-2005 20:22:20.343 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.343 - Interpreted response: OK
09-24-2005 20:22:20.343 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:22:20.343 - Initializing modem.
09-24-2005 20:22:20.359 - Send: AT<cr>
09-24-2005 20:22:20.359 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.359 - Interpreted response: OK
09-24-2005 20:22:20.375 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:22:20.375 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.375 - Interpreted response: OK
09-24-2005 20:22:20.390 - Send: ATS7=60S30=0L0M0\N3%C1&K3N1\J1X4<cr>
09-24-2005 20:22:20.390 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:22:20.390 - Interpreted response: OK
09-24-2005 20:22:20.390 - Dialing.
09-24-2005 20:22:20.406 - Send: ATDT##########<cr>
09-24-2005 20:22:47.984 - Recv: <cr><lf>CONNECT 44000 V42bis<cr><lf>
09-24-2005 20:22:47.984 - Interpreted response: Connect
09-24-2005 20:22:47.984 - Connection established at 44000bps.
09-24-2005 20:22:47.984 - Error-control on.
09-24-2005 20:22:47.984 - Data compression on.
09-24-2005 20:23:17.984 - Read: Total: 3260, Per/Sec: 107, Written: Total: 0, Per/Sec: 0
09-24-2005 20:25:17.984 - Read: Total: 177297, Per/Sec: 1450, Written: Total: 0, Per/Sec: 0
09-24-2005 20:27:17.984 - Read: Total: 291877, Per/Sec: 954, Written: Total: 0, Per/Sec: 0
09-24-2005 20:29:17.984 - Read: Total: 391067, Per/Sec: 826, Written: Total: 0, Per/Sec: 0
09-24-2005 20:30:24.312 - Hanging up the modem.
09-24-2005 20:30:24.312 - Hardware hangup by lowering DTR.
09-24-2005 20:30:25.859 - Detected CD dropped from lowering DTR
09-24-2005 20:30:25.859 - Recv: <cr><lf>NO CARRIER<cr><lf>
09-24-2005 20:30:25.859 - Interpreted response: No Carrier
09-24-2005 20:30:25.875 - Send: ATH E1<cr>
09-24-2005 20:30:25.875 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.875 - Interpreted response: OK
09-24-2005 20:30:25.890 - 115200,8,N,1, ctsfl=1, rtsctl=2
09-24-2005 20:30:25.890 - Initializing modem.
09-24-2005 20:30:25.906 - Send: AT<cr>
09-24-2005 20:30:25.906 - Recv: AT<cr>
09-24-2005 20:30:25.906 - Command Echo
09-24-2005 20:30:25.906 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.906 - Interpreted response: OK
09-24-2005 20:30:25.921 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:30:25.921 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-24-2005 20:30:25.921 - Command Echo
09-24-2005 20:30:25.937 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.937 - Interpreted response: OK
09-24-2005 20:30:25.953 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X4<cr>
09-24-2005 20:30:25.953 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.953 - Interpreted response: OK
09-24-2005 20:30:25.953 - Waiting for a call.
09-24-2005 20:30:25.968 - Send: ATS0=0<cr>
09-24-2005 20:30:25.968 - Recv: <cr><lf>OK<cr><lf>
09-24-2005 20:30:25.968 - Interpreted response: OK
09-24-2005 20:30:25.984 - Session Statistics:
09-24-2005 20:30:25.984 - Reads : 55 bytes
09-24-2005 20:30:25.984 - Writes: 0 bytes
----------------
I would really appreciate any ideas on a workaround...
Thanks.
|