24
ACS Advanced Console Server Command Reference Guide
The following example illustrates the AT commands.
•
An ATD command to dial the *99# number
•
An AT+CGDCONT=1,"IP","claro.com.br" to contact a local GPRS broadband service (GSM
wireless network) in Brazil
ABORT
ABORT
ABORT
ABORT
""
""
####
OK
OK
####
#OK
#OK
CONNECT ""
To specify the telephone carrier in the /etc/chatscripts/wireless file:
1.
Open the /etc/chatscripts/wireless file for editing.
2.
Remove the pound signs (#) next to one of the Telco definitions.
3.
Modify the commands to initiate the contact with your GSM/CDMA wireless service provider
and to dial the correct number.
4.
Save the changes and close the file.
To configure the /etc/pcmcia/serial.opts file:
1.
Open the /etc/pcmcia/serial.opts file for editing.
2.
If the GSM card needs a PIN, uncomment the following line and replace 1111 with the PIN
INITCHAT="- \d\d\d+++\d\d\datz OK at+cpin=1111 OK"
3.
Comment out the following line to inactivate mgetty on the specified port. The port is directly
controlled by the pppd application.
#INITTAB="/sbin/mgetty"
4.
Save the changes and close the file.
BUSY
VOICE
"NO CARRIER"
"NO DIALTONE"
AT
ATZ
Telco X
AT+CGDCONT=1,"IP","claro.com.br"
ATD*99#
Telco Y
AT&C0
ATDT#777
.