Follow these steps to set up and verify that the modem is working
- run "sakis3g switchonly" command. The result should be successful, with the output message "Modem switched to 1c9e:9603." The CD-Rom icon should disappear from the desktop.
- do "ls /dev/ttyUSB*". Make sure the modem shows up as /dev/ttyUSB* devices (/dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2).
- run "minicom -s -c on"
- inside minicom
- select "Exit" to exit the configuration menu, and start using minicom.
- type "AT", press Enter make sure the response is OK.
- type "AT+CMGF=1" to set to text mode, press Enter
, the response should be OK - type "AT+CMGS="+1408xxxxxxx", press Enter
, the prompt > should appear next - after the prompt >, type the SMS text
- type Ctrl-Z to end the SMS text
- should see the response "+CMGS:
" followed by "OK"
If the SMS is received by the intended mobile phone, then the GSM modem is working.
Note: this assumes the minicom serial port configured in /etc/minicom/minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pu port /dev/ttyUSB2
Type "Ctrl-A Z" and "X" to exit minicom.
No comments:
Post a Comment