Ladies & Gentelmen
I am trying to set up a modem to answer incomming calls. I have 2 problems preventing me from success.
1. The modem answers the incomming call but a it seams that the username and password is not getting there.
In the mgetty log I have this for every atempt.
Code:
2/07 16:52:32 dem mgetty: interim release 1.1.36-Jun15
12/07 16:52:32 dem check for lockfiles
12/07 16:52:32 dem locking the line
12/07 16:52:32 dem lowering DTR to reset Modem
12/07 16:52:33 dem send: \dATQ0V1H0[0d]
12/07 16:52:33 dem waiting for ``OK'' ** found **
12/07 16:52:33 dem send: AT[0d]
12/07 16:52:33 dem waiting for ``OK'' ** found **
12/07 16:52:34 dem waiting...
12/07 17:11:53 dem wfr: waiting for ``RING''
12/07 17:11:53 dem send: ATA[0d]
12/07 17:11:53 dem waiting for ``CONNECT''
12/07 17:12:46 dem found action string: ``NO CARRIER''
12/07 17:12:46 ##### failed A_FAIL dev=modem, pid=10948, caller='none', conn='', name=''
The modem hangs up abruptly. There is no chance for a connection to be established. I do know that the modem works because I am able to dial-out to a free service and establish a connection to them.
lspci -vn
Code:
00:0c.0 0780: 14f1:1036 (rev 08)
Subsystem: 13e0:0260
Flags: medium devsel, IRQ 10
Memory at e2000000 (32-bit, non-prefetchable) [size=64K]
I/O ports at c800 [size=8]
Capabilities: [40] Power Management version 2
Kernel driver in use: hcfpcihw
Kernel modules: hcfpcihw
The system is Debian Lenny uname -r
2.6.26-2-686 fully updated.
I have been searching google but the howto's are somewhat dated. I also have not been able to find a good howto about how to access the modem and send commands to it. What info there is is scattered and limited.
If this matters, I am trying to dial-in from a laptop running Debian Squeeze amd64 fully updated. Using kppp and a cell phone.
2. The second issue I am having is that the modem answers after 1 ring. This may be part of the problem of the first issue in that it may not be allowing the caller-id info time to be populated so the incomming phone number is not there to be checked and so the call is rejected.
So far I have not been able to find any way of changing this behavior. I have seen some vauge references to a string in the modem that can control this and to a setting in mgetty that can control this, but no indication of how to set either one.
I suspose that a discription of what i am trying to do is in order.
I have cable internet service on my local network. I am trying to set up a dial-in server on that network so that I can call in and get network access and internet access. All relevent computers are running linux.
Can anyone point me to a better howto/tutorial on how to set this up? Or give post a request for additional info or commands to run. I will be happy to provide it.
Thanks