Appendix
C: Connecting with Linux
ReliaCELL 10-20 User Manual
18
110128-90021, preliminary
NO CARRIER
Wait approximately 30secs before going to the next step.
Next you will need to create a connection manager to connect/disconnect to a network.
Creating a Connection Manager
The three files you need for this type will be:
cdma_connect
cdma_disconnect
cdma_peer_script
Files should have the following code and all three files should be in the directory
/etc/ppp/peers directory.
cdma_connect
# Connect to the network
ABORT "BUSY"
ABORT "VOICE"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
ABORT "ERROR"
""
"+++ath"
OK
"AT"
OK
"ATE1V1&F&D2&C1&C2S0=0"
OK
"ATE1V1"
OK
"ATS7=60"
OK
"\d\d\d"
""
"atd#777"
CONNECT "\c"
cdma_disconnect
# Disconnect from the network
ABORT "NO CARRIER"
ABORT "BUSY"
ABORT "VOICE"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
""
BREAK
""
"+++ATH"
'' AT OK-+++\c-OK-+++\c-OK ATH OK ''
cdma_peer_script
921600
unit 0
logfile /var/log/cdma_test
debug