Hi,

I have a Compulab EM-270X device, running Angstrom Linux 2.6.26. The device has a Telit chip which takes a SIM card and I want to send some AT instructions.

I need to send the instruction: AT#BND=3

to the modem to make it change its settings from Europe to U.S. in order for my AT&T sim card to connect to the network.

From poking around in /etc/ppp I found various files like gprs-connect and gprs-options that use the "chat" command to communicate with the modem which I believe it's the /dev/ttyS1.

How do I use "chat" or any other tool to send those instructions to the modem?

I have never used the "chat" command line and the man pages sort of confused me.

Here's my gprs-connect:

TIMEOUT 60
ABORT 'BUSY'
ABORT 'ERROR'
ABORT 'NO CARRIER'
'' 'AT'
OK AT+CGDCONT=1,"IP","wap.cingular","0.0.0.0",0,0
OK ATD*99***1#
CONNECT ''

And my gprs-options:

/dev/ttyS1
115200
defaultroute
ipcp-accept-local
ipcp-accept-remote
user "WAP&CINGULARGPRS&COM"
connect "/usr/sbin/chat -v -f /etc/ppp/gprs-connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/gprs-disconnect"

(happy?)