|
发表于 2003-2-14 00:41:22
|
显示全部楼层
AT&SO=1
This tells the modem to pick the phone up after one RING.
Like a lot of other client programs, kppp checks to see if the connection is closed by the server, and then stops the current session if a NO CARRIER is detected. This, then, is the real problem when setting up callback. NO CARRIER will of course be detected the moment the callback server hangs up the line. Some servers therefore use a special login program. So how do you solve this problem? You tell your modem to show CARRIER UP at all times (which causes no problems if you tell the client to hang up the line.) You can do this with the following modem command:
AT&C0
If you want to test this, you can first use an ordinary terminal program such as minicom, and call your callback server, to see what hapens.
看不太懂什么意思,会不会电话线没接上?用kppp的查询调制解调器功能能不能查询到正确信息? |
|