NXLink Quick-Start Installation Instructions
Before you install DataGate, there are a few steps required to enable email sending and receiving:
(this first section requires good knowledge of Internet operation and DNS (Domain Name Service). Your ISP (Internet Service Provider) or I.T. technician should be consulted)
- You must have a static public IP address through which the DataGate email server can be accessed. If passing through a router or firewall, make sure TCP port 25 is directed to the DataGate machine.
- Assign a host name (Fully Qualified Domain Name) to the server, such as datagate.example.com. Contact your DNS provider to add an “A” record for this host name, pointing to the public IP address. For example, datagate.example.com A 192.0.2.1
- The reverse DNS entry for your public IP address should point to the same host name. For example, 18.104.22.168.in-addr.arpa PTR datagate.example.com. Contact your ISP to make this change.
- Select or create a domain name that will be used for sending and receiving DataGate emails, such as example.com. This domain must not already be assigned to an email server. Emails sent to and received from DataGate will use this domain as the second part of the email to and from addresses. For example, firstname.lastname@example.org.
- Contact your DNS provider to assign an MX record for this domain. This record must point to the DataGate host name. For example example.com MX datagate.example.com. When a remote machine wants to send an email to your domain, it will look up this record and connect to your DataGate.
- Make sure your ISP permits you to make outgoing connections on TCP port 25. Some providers block port 25 in an attempt to reduce spam originating from their networks. DataGate uses port 25 when sending emails from assets to remote servers. If port 25 cannot be unblocked, DataGate can be configured to use an external email server when sending email.
You will also need to configure your radios:
- If the base radio is located next to the server, and the server has a COM port, you may use a standard serial cable to connect the radio to the PC. Otherwise, obtain a serial to Ethernet converter to allow the radio to connect into the network. We recommend the Neteon GW-212 unit, or similar.
- Program the base radio so that its rear COM port is set to output Data + GPS. Use this rear port when connecting the radio to the server or serial to Ethernet converter.
- Assign a Fleetsync or NXDN ID to the base radio.
- In order for portable/handheld radios to reply to email messages, they require a special messaging version of firmware from Kenwood. Update your radios as required.
- Program your portable/handheld radios with a Fleetsync or NXDN ID. Enter the ID of base radio under the base settings.
Once this is complete, you may continue with the DataGate installation:
- Download DataGate from the Datalink Systems website at www.datalinksystemsinc.com/downloads . Install DataGate on a Windows PC. Optionally, also download and install the DataGate service, which allows DataGate to run automatically when the system boots.
- Request a license through the DataGate user interface. An Enterprise version of DataGate is required for processing emails. You will also need Class A asset licenses for each radio you want to send messages to. Demo licenses are available. Contact Datalink Systems at this step to expedite the licensing process.
- Go to the View/Options menu in DataGate, and select the Emails tab.
- On the General tab, enter the public host name of the server (e.g. datagate.example.com). Enter the domain name you have selected for sending and receiving emails (e.g. example.com). Assign an admin email address, which will receive errors or alerts generated by DataGate.
- On the Incoming tab, uncheck the “Enable white list” option. This can be enabled later, along with the ”Allow SMTP Connections from IP Addresses” option, when securing the server.
- On the Outgoing email tab modify the email from address to use your email domain (e.g. email@example.com).
- Click Apply to save the settings.
- Click on the “Send Test Email to Admin” button to send a test email. Check the log listing on the main DataGate screen to confirm the email is sent OK.
- Click OK to close the settings window.
Add remote radios to the DataGate. These radios will send and receive messages via DataGate:
- On the main DataGate screen click on the grey circle in the toolbar to add an asset. Enter an ID such as 0.0.1, and select the Kenwood Radio as hardware type. Click OK to create the asset.
- Double-click on the asset in the list. Enter a description for this asset. This name will be used as the first part of the email address for this asset. For example, an asset with description “radio1” will have email address firstname.lastname@example.org.
- Change the group to (All).
- Check the “Accept Emails to Device” option to allow sending emails to this asset.
- On the Modems tab, select the type of radio ID and enter the ID for the remote radio. Unit (individual) IDs will normally be used when sending and receiving emails.
- Click OK to save the changes to this asset.
- Repeat this process to add further assets, making sure you use unique asset IDs and descriptions. Asset IDs can be entered in the range (0-255).(0-255).(0-255).
Add a base radio to DataGate:
- Go to the View/Data Sources menu.
- Click on the Antenna icon in the toolbar to add a source.
- Enter a description, such as “Base Radio”.
- Select the Kenwood network.
- Choose the connection type. Radios are normally connected through a local serial port or via a serial to Ethernet converter. Kenwood console connections are also supported for advanced setups.
- If using a local COM port, enter the port number and COM settings.
- If using a serial to Ethernet converter, enter the IP address of the converter. Select a port that the converter will connect to. Program the converter to connect to DataGate’s IP address and selected port using a TCP client connection.
- Kenwood radios can be configured to use PC interface versions 1 or 2. The DataGate setting should match the setting in the base radio.
- Program status messages as required. These are used to translate status codes sent by the radio into text. The remote radios should also be programmed to show this text when the user selects a status code.
- Click OK to save the source settings.
- The base radio can now be connected to the DataGate.
- Using an external email server, send an email to one of your assets. The first part of the address will be the asset’s description, while the second part will be your email domain. For example, email@example.com.
- Check that DataGate shows email activity in the log listing on the main screen. It may take a few seconds for the email to be delivered by the remote system. If configured correctly, DataGate will process the email and send it to the remote radio.
- Once received on the remote radio, select the “Reply” option and send a status code back to the server. DataGate should receive this code, then forward it as an email to the original sender.
- For security, you may want to limit who can send emails to your radios. The most secure option is to limit which IP addresses can connect to the email server. This works if all emails will originate from a known set of servers. Another option is to enable the white list feature, where emails must contain a known from address.
- Read the DataGate manual for details on how to configure this and other advanced server settings.