Adding a new modem: Perbedaan revisi
(Created page with "=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...") |
(→Adding a new modem) |
||
Baris 3: | Baris 3: | ||
# Configure modem, connect cable, insert SIM, charge pulsa | # Configure modem, connect cable, insert SIM, charge pulsa | ||
+ | #* Aloy / Ben to expand on this | ||
# Configure the port on the Moxa and the firewall | # Configure the port on the Moxa and the firewall | ||
+ | #* Aloy / Ben to expand on this | ||
# Configure the SMS server | # Configure the SMS server | ||
## Edit /etc/smsd.conf on the correct server (messaging server or training server) | ## Edit /etc/smsd.conf on the correct server (messaging server or training server) | ||
Baris 14: | Baris 16: | ||
##* Edit the script to have the right telephone number | ##* Edit the script to have the right telephone number | ||
# Update the database | # Update the database | ||
− | # | + | #* add entries in the modemstatus table with the modem name and telephone number |
# Update the wiki | # Update the wiki | ||
− | # | + | #* add the phone numbers to the list in the wiki for reference |
Revisi per 13 November 2014 17.47
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