Frequently Asked Questions
- I have installed the wireless data module - how do I get online?
- I am connecting power to my modem - why are there 3 wires - red, black and white?
- How can I configure a CTM-15X Modem to send me an email alert when it turns on?
- I have a modem connected to an Ethernet device with its own Telnet and Web servers. How can I remotely access my Ethernet device and remotely configure my modem?
- Can I configure the modem using commands via SMS?
- Can I configure the modem to notify me if its IP address changes?
- How do I configure the modem for GPS reporting of location, speed, heading, altitude and device ID?
- In my vehicle I have a laptop connected to a modem and I have an application on my laptop that needs the GPS location of the modem. How can I do this?
- I am in an area where cellular coverage is spotty. I need to make sure I have a complete data trail of my journey. How do I configure the modem for this?
- How can I ensure my modem stays connected to the wireless network?
Activation via the command line interface is supported only on Sierra Wireless AC595, AC597 Express Card, AC597/8 USB and AC580 data devices with the TruInstall feature disabled. For all other devices, activate the device using a laptop.
There are two methods, OTASP is a single command entry and the simplest, if OTASP does not work follow the Manual Activation instructions.The power cable has three wires:
- Red: +V DC supply (+9 to +36VDC)
- Black: 0V return(chassis ground)
- White: Standby (+V for operation, Off for standby)
Configuring the modem:
cmd pupcond 1 1 (sets the pup (power up) condition 1 to be enabled, you can have up to 8 conditions.
cmd pupreport 1 555 (tells the modem to use report 555 as the report to use when pupcond 1 is triggered, report 555 can be any report from 1 to 999)
cmd reptype 555 0 6 (tells the modem to use email as the method of sending the power up report)
cmd repaddmes 555 82 (adds the NMEA $GPRMC message to the report number 555)
cmd emailsrv xxx.xxx.xxx.xxx (configures the modem to use email server, xxx.xxx.xxx.xxx, note you will need an email server that will allow you to route messages from the wireless data modem)
cmd repemail 555 youremail@… (tells the modem to send the contents of report 555 to the specified email address)
cmd save (saves the above configuration)4. I have the CTM-15X modem connected to an Ethernet device with its own Telnet and Web servers. How can I remotely access my Ethernet device and remotely configure my modem?
Once you have verified that your modem has a public IP address, you will need to configure the modem's port forwarding feature. Port Forwarding is used to route incoming packets from the wireless network to a device connected on the LAN. Incoming packets sent to the CTM-15X’s wireless network IP address and port will be routed to the selected LAN device.
One may have an Ethernet-enabled data logger with its own Telnet server on TCP port 23 and Web server on TCP port 80. You can configure the modem's port forwarding feature using the following steps:
Step 1. Configure the IP address settings of the Ethernet device
Set the Ethernet device either to:
- obtain an dynamic IP address from the modem via DHCP, OR
- use static IP address of 192.168.1.20 with default gateway 192.168.1.1.
Step 2. Connect a PC to the modem and configure the port forwarding
You can configure the modem using a PC via Telnet/serial port or via the Advanced page of the modem's embedded Web server:
cmd rmttelnet 1
cmd firewall 1 23 23 2 192.168.1.20 1
cmd firewall 2 80 80 2 192.168.1.20 1
cmd firewall 3 2323 23 2 192.168.1.1 1
cmd firewall 4 8080 80 2 192.168.1.1 1
cmd firewall
cmd save
Advanced web page settings:
- Enable Remote Web Configuration: checked
- Enable Remote Telnet Configuration: checked
- Enter Port External: 23, Port Local: 23, TCP: checked, UDP: unchecked, IP: 192.168.1.20, Enabled: checked
- Enter Port External: 80, Port Local: 80, TCP: checked, UDP: unchecked, IP: 192.168.1.20, Enabled: checked
- Enter Port External: 2323, Port Local: 23, TCP: checked, UDP: unchecked, IP: 192.168.1.1, Enabled: checked
- Enter Port External: 8080, Port Local: 80, TCP: checked, UDP: unchecked, IP: 192.168.1.1, Enabled: checked
- Click Submit
The modem's IP address on the LAN is 192.168.1.1, by default. In the above example, the default remote configuration servers of the modem have been moved to arbitrary external ports, 2323 for Telnet and 8080 for Web. This ensures that the modem can still be remotely configured even though its Telnet and Web servers are no longer at the default ports for Telnet (TCP port 23) and Web (TCP port 80).
Step 3. Connect the Ethernet-enabled device to the modemYou should now be able to remotely connect to the Ethernet-enabled device by using the modem's IP address and either TCP port 23 for Telnet access or TCP port 80 for Web access.
If your modem is assigned a dynamic IP by the carrier, consider enabling the modem's remote reporting feature or the modem's dynamic DNS feature to ensure you always know the modem's IP address even when changes.
CTM-15X commands may be issued via a SMS text message sent from a mobile phone or from a cell phone carrier’s web site for execution on the CTM-15X Modem upon receiving the SMS message. One or more commands may be included in the body of a SMS text message up to a maximum message size of 166 characters. The destination of such a SMS message is the phone number of the modem, which may be obtained by entering cmd dir from a Telnet or serial port console session.
Message format for CTM-15X commands via SMS:
NNNN:<command> <parameters> … NNNN:<command> <parameters> … (up to 166 characters)
Where:
NNNN is the last 4 digits of the modem's ESN
<command> is the command to be executed. cmd should not be included in <command> and commands do not have to be separated by a linefeed (<CR><LF>)
<parameters> are the parameters for each command
Example: If the last 4 digits of the modem’s ESN are 1234
Three commands separated by <CR><LF> for each line of the SMS message:
Example:
cmd gpsremip 1 XXX.XXX.XXX.XXX where the IP address of the monitoring server.
cmd gpsremport 1 YYYY where the PORT is the listening port on the monitoring server.
2. Define the condition that a GPS report will be triggered:
cmd gpscond 1 1 30, there are many options, but this setting triggers a report to be generated every 30 seconds, see gpscond for a full description.
3. Define the report configuration:
cmd gpsrep 1 0 3, this will send the report over the wireless link, using UDP protocol.
4. Define the messages that will form the body of the report.
cmd gpsaddmes 1 3 80 82, adds 3 messages to the report, 3= modem ID, 80= NMEA $GPGGA, 82= NMEA $GPRMC
5. Save your configuration.
cmd save
8. In my vehicle I have a laptop connected to the modem and I have an application on my laptop that needs the GPS position of the modem. How can I do this?
cmd gpsrep 1 1 3 will configure the report to be sent to the local serial port AND wirelessly using UDP format.
cmd gpsrep 1 5 3 will configure the report to be sent to the local ethernet port in a TCP packet AND wirelessly using the UDP format.9. I am in an area where cellular coverage is spotty. I need to make sure I have a complete data trail of my journey. How do I do configure the modem for this?
gpsrep 1 0 3 1 will store report #1 data in memory if an out of coverage condition is detected.
cmd snfdelay 30 waits 30 seconds after the modem regains coverage before forwarding stored data packets.The netwd command will monitor incoming data packets and will reconnect if a user configurable interval expires without detecting network traffic. This command is typically used in conjunction with the ping command.
cmd netwd 10 6 looks for incoming traffic from the network at 10 second intervals. If no data traffic is detected for 6 consecutive intervals 6 x 10 = 60 sec. the command will disconnect and reconnect to the network. If a reconnect does not resolve the issue (approx 10 seconds reconnect time), the command will cycle the modem power completely (approx 50 seconds reconnect time) after an additional 6 intervals of no data.
ping 10 www.google.com ping the URL www.google.com every 10 seconds, this command generates incoming data packets that the netwd command is looking for.
cmd save saves above settings.
Note: configuring the modem for these commands will increase overall data transfer volume which could have an affect on the selected rate plan, and associated costs.