Adding a new modem
Adding a new modem
When a new modem is added to the system (either live or training), in order to activate it, follow these steps.
- Configure modem, connect cable, insert SIM, charge pulsa
- Aloy / Ben to expand on this
- Configure the port on the Moxa and the firewall
- Aloy / Ben to expand on this
- Configure the SMS server
- Edit /etc/smsd.conf on the correct server (messaging server or training server)
- Add the modem name (SOV+port number) to the list of modems at the top
- Add a new queue for the modem
- Add a new modem block entry at the bottom, copying the previous entries, but updating the name, port, and regular run file names
- Add new queue directories in /var/spool/sms/queues, and set permissions
- Add new regular run scripts for pulsa checking
- Copy on of the existing scripts and update the name to the new modem name
- Edit the script to have the right telephone number
- Edit /etc/smsd.conf on the correct server (messaging server or training server)
- Update the database
- add entries in the modemstatus table with the modem name and telephone number
- Update the wiki
- add the phone numbers to the list in the wiki for reference
- Restart smsd on the server
- Very important. Check /var/log/smstools/smsd.log after the restart to check for errors. These are not reported on the command line so you need check the log to be sure that the changes are correct and that the server has restarted properly.