SPECTRE Router CONFIGURATION MANUAL SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual International Headquarters B&B Electronics Mfg. Co. Inc. 707 Dayton Road Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Website: www.bb-elec.com European Headquarters B&B Electronics Ltd. Westlink Commercial Park Oranmore, Co. Galway, Ireland Phone +353 91-792444 -- Fax +353 91-792445 Website: www.bb-europe.com Doc: 710-10001-02 Rev 1.0 – October 2012 2012 B&B Electronics Mfg. Co. Inc.
B&B Electronics, Inc. SPECTRE Configuration Manual Used symbols Danger – Information regarding user safety or potential damage to the router. Attention – Problems that can arise in specific situations. Useful tips or information of special interest. GPL license Source codes under GPL license are available free of charge by sending an email to support@bb-elec.com.
B&B Electronics, Inc. SPECTRE Configuration Manual Contents 1. Router Configuration using a web browser 1.1. Secured access to web configuration 1.2. Network status 1.3. DHCP status 1.4. Cellular WAN status 1.5. IPsec status 1.6. DynDNS status 1.7. System log 1.8. LAN configuration 1.9. VRRP configuration 1.10. Cellular WAN configuration 1.10.1. Cellular Carrier Selection 1.10.2. GSM/UMTS connection 1.10.3. DNS address configuration 1.10.4. Check PPP connection configuration 1.10.5.
B&B Electronics, Inc. SPECTRE Configuration Manual Picture List Fig. 1: Web configuration.................................................................................................... 9 Fig. 2: Network status ........................................................................................................12 Fig. 3: DHCP status ............................................................................................................12 Fig. 4: GPRS status .....................................
B&B Electronics, Inc. SPECTRE Configuration Manual Fig. 51: Example of SMS configuration 4..........................................................................64 Fig. 52: Expansion port configuration ..............................................................................66 Fig. 53: Example of expansion port configuration 1 ........................................................67 Fig. 54: Example of expansion port configuration 2 ........................................................67 Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual Table List Table 1: Interface connection status .................................................................................11 Table 2: Description of information in network status ....................................................11 Table 3: DHCP status description .....................................................................................12 Table 4: Description of cellular network information.............................................
B&B Electronics, Inc. SPECTRE Configuration Manual Table 51: AT commands to send and receive SMS messages ........................................59 Table 52: Expansion PORT configuration 1......................................................................65 Table 53: TCP Keep-Alive Configuration ..........................................................................65 Table 54: CD signal description ........................................................................................
B&B Electronics, Inc. SPECTRE Configuration Manual 1. Attention! The SPECTRE 3G router will not operate unless the cellular carrier has been correctly configured and the account activated and provisioned for data communications. For UMTS carriers, a SIM card must be inserted into the router. Do not insert the SIM card when the router is powered up. You can monitor the status, configuration and administration of the router via the Web interface.
B&B Electronics, Inc. SPECTRE Configuration Manual If the green LED is blinking, you may restore the router to its factory default settings by pressing RST on front panel. The configuration will be restored to the factory defaults and the router will reboot. (The green LED will be on during the reboot.) 1.1. Secured access to web configuration The Web interface can be accessed through a standard web browser via a secure HTTPS connection. Access the web interface by entering https://192.168.1.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.2. Network status To view the current system information for the router, select the Network menu item. The upper part of the window displays detailed information about the active interfaces.
B&B Electronics, Inc. SPECTRE Configuration Manual Fig. 2: Network status 1.3. DHCP status Information about the DHCP server can be accessed by selecting the DHCP status. The DHCP server provides automatic configuration of the client devices connected to the router. The DHCP server assigns each device an IP address, subnet mask, default gateway (IP address of router) and DNS server (IP address of router). For each client in the list, the DHCP status window displays the following information.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.4. Cellular WAN status The SPECTRE RT industrial router does not display the cellular WAN status. The router displays information about the current cellular WAN connection.
B&B Electronics, Inc. Item RX data TX data Connections SPECTRE Configuration Manual Description Total volume of received data The total volume of data sent Number of times that a PPP connection was established Table 7: Description of Cellular traffic statistics The bottom of the window displays the PPP Connection Log. Check here for information about the status of the PPP connection and any problems with the connection. Fig. 4: GPRS status 14 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.5. IPsec status Selecting the IPsec option in the status menu of the web page will bring up the information for any IPsec Tunnels that have been established. Up to 4 IPsec tunnels can be created. If no IPsec tunnels are configured, the status will show that “IPsec is disabled”. If an IPsec tunnel is established, the router will show “IPsec SA established” (highlighted in red) in the IPsec status information. Fig. 5: IPsec status 1.6.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.7. System log Use the System Log menu item to view the router system log. The system log contains helpful information on the operation of the router. Only the most recent information is shown on the screen but older log entries can be viewed by saving the system log to a file and opening it with a text editor. The Save button allows you to save the system log to a file. The system log is cleared when the unit re-boots. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.8. LAN configuration Select the LAN menu item to enter the network configuration for the Ethernet ports. The main Ethernet port, ETH, is setup in the Primary LAN section. If the router has additional Ethernet ports (PORT1 or PORT2), they are configured under the Secondary LAN section. For routers with 2 additional Ethernet ports, PORT1 and PORT2 are automatically bridged together.
B&B Electronics, Inc. Item Enable static DHCP leases MAC Address IP Address SPECTRE Configuration Manual Description Select this option to enable a static DHCP server. MAC address of a DHCP client. Assigned IP address. Table 11: Configuration of static DHCP server Example of the network interface configuration for a dynamic DHCP server: The range of dynamically allocated addresses is from 192.168.1.2 to 192.168.1.4. The addresses are allocated for 600 seconds (10 minutes). 192.168.1.
B&B Electronics, Inc. SPECTRE Configuration Manual Fig. 10: Example LAN configuration 1 19 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the network interface configuration with both dynamic and static DHCP servers: The allocated address range is from 192.168.1.2 to 192.168.1.4. The address is allocated for 10 minutes. The client with MAC address 01:23:45:67:89:ab has IP address 192.168.1.10. The client with MAC address 01:54:68:18:ba:7e has IP address 192.168.1.11. 192.168.1.2 192.168.1.3 192.168.1.4 ETH GSM/GPRS 192.168.1.1 192.168.1.10 01-23-45-67-89-ab 192.168.1.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the network interface configuration with default gateway and DNS server: Default gateway IP address is 192.168.1.20 DNS server IP address is 192.168.1.20 192.168.1.2 192.168.1.3 192.168.1.4 ETH GSM/GPRS 192.168.1.1 192.168.1.20 Fig. 13: Network Topology for LAN configuration example 3 Fig. 14: Example LAN configuration 3 21 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.9. VRRP configuration Select the VRRP menu item to enter the VRRP configuration. VRRP protocol (Virtual Router Redundancy Protocol) allows you to transfer packet routing from the main router to a backup router in case the main router fails. This can be used to provide a wireless cellular backup to a primary wired router in critical application. If the Enable VRRP is checked, you may set the following parameters.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the VRRP protocol: Main router Virtual server ID 5 Host priority 255 APN 1 192.168.1.2 ETH 192.168.1.1 10.0.1.3 APN 2 192.168.1.3 Backup router Virtual server ID 5 Host priority 100 Fig. 15: Network Topology for VRRP configuration example Fig. 16: Example VRRP configuration – main router Fig. 17: Example VRRP configuration – backup router 23 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.10. Mobile WAN configuration The SPECTRE RT industrial router does not display the Mobile WAN Configuration option. Select the Mobile WAN menu item to enter the cellular network configuration page. 1.10.1. Cellular Carrier Selection The SPECTRE 3G Cellular Router can be configured to communicate on up to 2 UMTS or CDMA cellular networks. This allows the router to switch to a second carrier network if there is a problem with the primary network.
B&B Electronics, Inc. MRU MTU SPECTRE Configuration Manual with a PIN to prevent unauthorized access) (Maximum Receiving Unit) – The maximum packet size that can be received in a given environment. Default value is 1500 bytes. Other settings may cause incorrect transmission of data. (Maximum Transmission Unit) – The maximum packet size that can be transmitted in a given environment. Default value is 1500 bytes. Other settings may cause incorrect transmission of data.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.10.3. DNS address configuration If Get DNS address from operator option is selected, the router will automatically attempt to get an IP address for the primary and secondary DNS servers from the network operator. 1.10.4. Check PPP connection configuration You may set the Check PPP connection flag to enable automatic test messages for the cellular network.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.10.6. Switch between SIM cards configuration You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards, if two SIM cards are inserted. The router can automatically switch between the SIM cards if the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.
B&B Electronics, Inc. SPECTRE Configuration Manual The following parameters define the amount of time that must elapse before the router will attempt to go back to the default SIM card or APN. Item Initial timeout Subsequent Timeout Additive constant Description The first attempt to switch back to the primary SIM card or APN shall be made after the time defined in the parameter Initial Timeout. The range of this parameter is from 1 to 10000 minutes.
B&B Electronics, Inc. SPECTRE Configuration Manual You must click “Apply” to apply changes. Fig. 18: Cellular WAN configuration 29 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual A configuration example for checking the PPP connection is shown in Figure 19. The router will monitor the traffic over the PPP connection. When the router is using SIM card 1, it will ping address 8.8.8.8 if there is no receive traffic on the PPP connection for 60s. If the router is using the secondary SIM card, it will ping www.google.com after 80 seconds of inactivity on the PPP link. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.11. PPPoE configuration The SPECTRE 3G router does not support the PPPoE configuration option. PPPoE (Point-to-Point over Ethernet) is a network protocol where PPP frames are encapsulated in Ethernet frames. The PPPoE feature in the SPECTRE RT industrial router operates in client mode. The router will connect to a PPPoE server or a PPPoE bridge device such as an ADSL modem. To enter the PPPoE configuration, select the PPPoE menu item.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.12. Firewall configuration The router firewall can be configured to only allow certain hosts to access the router and internal LAN network or it can only allow traffic on a certain IP port to pass through to the internal network. Up to 8 filters can be defined when the Allow remote access only from specified hosts option is selected. The following parameters can be defined for each filter: Source, Source IP Address, Protocol and Target Port.
B&B Electronics, Inc. SPECTRE Configuration Manual Example firewall configuration: The router has allowed the following access: from host address 171.92.5.45 using any protocol from host address 10.0.2.123 using TCP protocol on any ports from host address 142.2.26.54 using ICMP protocol TCP/1000 ALL 10.0.2.123 171.92.5.45 ICMP 142.2.26.54 Fig. 23: Network Topology of example firewall configuration Fig. 24: Example firewall configuration 33 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.13. NAT configuration NAT (Network address Translation / Port address Translation - PAT) is a method of sharing a single external IP address among many internal hosts. It also helps prevent unauthorized access to the internal network. To enter the Network Address Translation configuration, select the NAT menu item. Up to sixteen NAT rules may be defined.
B&B Electronics, Inc. SPECTRE Configuration Manual Example NAT configuration with one host connected to the router: 162.209.13.222 ppp0 10.0.0.1 eth0 192.168.1.1 IP 192.168.1.2 Default gateway 192.168.1.1 Fig. 25: Topology for NAT configuration example Fig. 26: Example NAT configuration 1 In this configuration, it is important to select Send all remaining incoming packets to default server. 35 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example NAT configuration with additional connected equipment: SWITCH 162.209.13.222 10.0.0.1:8 1 ppp0 10.0.0.1 10.0.0.1:8 2 192.168.1.2:80 10.0.0.1:8 3 192.168.1.3:80 192.168.1.4:80 Fig. 27: Topology of example NAT configuration Fig. 28: Example of NAT configuration 2 36 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.14. OpenVPN tunnel configuration Select the OpenVPN item in the menu to configure an OpenVPN tunnel. OpenVPN is a protocol which is used to create a secure connection between two LANs. Up to 2 OpenVPN tunnels may be created. Item Create Description Edit Description Enables the individual tunnels. Displays the name of the tunnel specified in the configuration of the tunnel. Select to configure an OpenVPN tunnel.
B&B Electronics, Inc. SPECTRE Configuration Manual Interval. Renegotiate Interval Parameter sets the renegotiation period (reauthorization) for the OpenVPN tunnel. After this time period, the router will reestablish the tunnel to ensure the continued security of the tunnel. Max Fragment Size Defines maximum packet size. Compression none – No compression is used. LZO – Lossless LZO compression. Compression has to be selected on both tunnel ends.
B&B Electronics, Inc. SPECTRE Configuration Manual Fig. 30: OpenVPN tunnel configuration 39 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the OpenVPN tunnel configuration: A B 192.168.1.2 192.168.2.2 Router B ppp0 10.0.0.2 192.168.2.0 tun 0 19.16.2.0 Router A ppp0 10.0.0.1 192.168.1.0 tun0 19.16.1.0 Switch Switch 192.168.1.3 192.168.2.3 192.168.1.4 192.168.2.4 Default Gateway 192.168.2.1 Default Gateway 192.168.1.1 Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.15. IPSec tunnel configuration Select the IPsec item in the menu to configure an IPsec tunnel. IPsec is a protocol which is used to create a secure connection between two LANs. Up to 4 IPsec tunnels may be created. Item Create Description Edit Description This item enables the individual tunnels. This item displays the name of the tunnel specified in the configuration of the tunnel. Select to configure an IPsec tunnel.
B&B Electronics, Inc. SPECTRE Configuration Manual but encryption will set permanently on 3DES-MD5. Authenticate Mode Pre-shared Key CA Certificate Remote Certificate Local Certificate Local Private Key Local Passphrase Extra Options Defines the authentication mode: Pre-shared key - shared key for both sides. X.509 Certificate Shared key for both sides of the tunnel This certificate is necessary for Authentication mode x.509. This certificate is necessary for Authentication mode x.509.
B&B Electronics, Inc. SPECTRE Configuration Manual Fig. 33: IPsec tunnel configuration 43 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of IPSec Tunnel configuration: A 192.168.1.2 B Router B ppp0 10.0.0.2 192.168.2.0 Router A ppp0 10.0.0.1 192.168.1.0 Switch 192.168.2.2 Switch 192.168.1.3 192.168.2.3 192.168.1.4 192.168.2.4 Default Gateway 192.168.1.1 Default Gateway 192.168.2.1 Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.16. GRE tunnels configuration Select the GRE item in the menu to configure a GRE tunnel. GRE is a protocol which is used to create a secure connection between two LANs. Up to 4 GRE tunnels may be created. Item Create Description Edit Description This item enables the individual tunnels. This item displays the name of the tunnel specified in the configuration of the tunnel. Configure the GRE tunnel. Table 32: Overview GRE tunnels Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the GRE Tunnel configuration: A B 192.168.1.2 192.168.2.2 Router B ppp0 10.0.0.2 eth0 192.168.2.1 Router A ppp0 10.0.0.1 eth0 192.168.1.1 Switch Switch 192.168.1.3 192.168.2.3 192.168.1.4 192.168.2.4 Default Gateway 192.168.2.1 Default Gateway 192.168.1.1 Fig. 37: Topology of GRE tunnel configuration GRE tunnel Configuration: Configuration Remote IP Address Remote Subnet Remote Subnet Mask A B 10.0.0.2 192.168.2.0 255.255.255.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.17. L2TP tunnel configuration Select the L2TP item in the menu to configure an L2TP tunnel. L2TP is a protocol which is used to create a secure connection between two LANs. Only one L2TP tunnel may be created.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the L2TP Tunnel configuration: A 192.168.1.2 B Router B ppp0 10.0.0.2 192.168.2.1 Router A ppp0 10.0.0.1 192.168.1.1 Switch 192.168.2.2 Switch 192.168.1.3 192.168.2.3 192.168.1.4 192.168.2.4 Default Gateway 192.168.1.1 Default Gateway 192.168.2.1 Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.18. PPTP tunnel configuration Select the PPTP item in the menu to configure a PPTP tunnel. PPTP is a protocol which is used to create a secure connection between two LANs. Only one PPTP tunnel may be created.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the PPTP Tunnel configuration: A 192.168.1.2 B Router B ppp0 10.0.0.2 192.168.2.1 Router A ppp0 10.0.0.1 192.168.1.1 Switch 192.168.2.2 Switch 192.168.1.3 192.168.2.3 192.168.1.4 192.168.2.4 Default Gateway 192.168.1.1 Default Gateway 192.168.2.1 Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.19. DynDNS client configuration The router supports DynamicDNS using a DNS server on www.dyndns.org. DynDNS client Configuration can be called up by selecting option DynDNS item in the menu. Item Hostname Username Password Server Description Third order domain registered on server www.dyndns.org Username for login to DynDNS server Password for login to DynDNS server If you want to use a different DynDNS service than www.dyndns.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.20. NTP client configuration NTP (Network Time Protocol) allows the router to set its internal clock using a network time server. The NTP client Configuration can be called up by selecting option NTP item in the menu. If option Enable local NTP service is selected, the router will function as an NTP server for other devices on the LAN.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.21. SNMP configuration SNMP (Simple Network Management Protocol) provides status information about network elements such as routers or end computers. The router supports SNMP agent Version 1. To enter the SNMP Configuration, select the SNMP item from the configuration menu. Item Community Contact Name Location Description Password for access to the SNMP agent. How to contact the person who manages the router. Designation of the router.
B&B Electronics, Inc. SPECTRE Configuration Manual Every monitor value is uniquely identified by a number identifier OID (Object Identifier). For the binary input and output the following range of OIDs is used: OID Description .1.3.6.1.4.1.30140.2.3.1.0 Binary input BIN0 (values 0,1) .1.3.6.1.4.1.30140.2.3.2.0 Binary output OUT0 (values 0,1) Table 43: Object identifier for binary input and output For the expansion port CNT, the following range of OID is used: OID .1.3.6.1.4.1.30140.2.1.1.0 .1.3.6.1.4.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of SNMP settings and readout: Fig. 44: Example of SNMP configuration Fig. 45: Example of the MIB browser It is important to set the IP address of the SNMP agent (router) in the field Remote SNMP agent. After entering the IP address, it is possible show object identifiers. The path to the objects is: iso->org->dod->internet->private->enterprises->conel->protocols.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.22. SMTP configuration The SMTP (Simple Mail Transfer Protocol) client is used to send emails. Item SMTP Server Address Username Password Own Email Address Description IP or domain address of the mail server. Name to email account. Password to email account. Address of the sender. Fig. 46: SMTP client configuration The mobile operator may block other SMTP servers. If this occurs, then you must use the SMTP server of the operator.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.23. SMS configuration Note: The SPECTRE RT industrial router does not support SMS messaging configuration. The SPECTRE 3G router can automatically send SMS messages to a cell phone or SMS message server when certain events occur. The SMS Configuration page allows the user to select which events will generate an SMS message.
B&B Electronics, Inc. SPECTRE Configuration Manual Note: If no phone number is filled in, the router will accept incoming messages from all phone numbers. If any phone numbers are entered into the list, the router will only accept SMS messages which originate from those numbers. Control SMS messages cannot change the router configuration. Any changes made to the router by an SMS message will only remain in effect until the router is restarted.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.23.1. Send SMS Standard AT commands are used to send and receive SMS messages over the serial ports or a TCP connection. They can be sent to the router using a terminal program such as Hyper Terminal. After establishing a connection with the router via the serial interface or Ethernet, AT commands are used to read and delete incoming messages and send outgoing messages. Table 52 lists the AT commands that are used for sending and receiving SMS messages.
B&B Electronics, Inc. SPECTRE Configuration Manual ALL – all SMS messages tel. number from which the SMS was received. date SMS message received,
B&B Electronics, Inc. SPECTRE Configuration Manual The format of the Router Power-On SMS message is as follows: Router (Unit ID) has been powered up. GSM signal strength –xx dBm. The format of the Router PPP connection SMS message is as follows: Router (Unit ID) has established PPP connection. IP address xxx.xxx.xxx.xxx After a PPP disconnect, the router will send an SMS message in the form: Router (Unit ID) has lost PPP connection. IP address xxx.xxx.xxx.xxx SMS Configuration Example: Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual Router configuration for sending SMS messages via the serial interface on PORT1: Fig. 49: Example of SMS configuration 2 62 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the router configuration for accepting SMS messages from every phone number: Fig. 50: Example of SMS configuration 3 63 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of the router configuration for accepting SMS messages from two phone numbers: Fig. 51: Example of SMS configuration 4 64 SPECTRE_Configuration_Manual_2912m www.bb-elec.com www.bb-europe.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.24. Expansion port configuration You may send and receive data from a serial port on Auxiliary Port 1 or 2 using UDP or TCP protocol on the Ethernet network. Item Baud rate Data Bits Parity Stop Bits Split Timeout Protocol Mode Server Address TCP Port Description Communication speed. Number of data bits. Control parity bit none even odd Number of stop bits. Inter-character Timeout.
B&B Electronics, Inc. SPECTRE Configuration Manual Select Use DTR as control of TCP connection to use DTR to control when TCP connections are allowed. (CD on the router). DTR Active Nonactive Description server Description client The router will accept a TCP connection. Router creates a TCP connection. The router does not accept incoming Router ends the TCP connection. TCP connections. Table 55: DTR signal description Press the Apply button to apply changes. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of external port configuration: PC PLC ppp0 10.0.0.2 ETH ppp0 10.0.0.1 192.168.1.1 RS232 192.168.1.100 Settings in application on PC: TCP connection on 10.0.0.2:2000 Settings in the router Mode: TCP server Server Address: TCP Port: 2000 Default Gateway 192.168.1.1 Fig. 53: Example of expansion port configuration 1 PLC PC ppp0 10.0.0.2 RS-232 RS232 ppp0 10.0.0.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.25. USB port configuration Select the USB Port item in the configuration menu to bring up the USB configuration page. A USB to RS-232 converter can be used to send data out of the serial port from the Ethernet network. Item Baud rate Data Bits Parity Stop Bits Split Timeout Protocol Mode Server Address TCP Port Description Applied communication speed. Number of data bits. Control parity bit none even odd Number of stop bit.
B&B Electronics, Inc. SPECTRE Configuration Manual Select Use DTR as control of TCP connection to use DTR to control when TCP connections are allowed. (CD on the router). DTR Active Nonactive Description server Description client The router will accept a TCP connection. Router creates a TCP connection. The router does not accept incoming Router ends the TCP connection. TCP connections.
B&B Electronics, Inc. SPECTRE Configuration Manual Example of USB port configuration: Equipment PC ppp0 10.0.0.2 ppp0 10.0.0.1 192.168.1.1 ETH USB/RS-232 192.168.1.100 Settings in application on PC: TCP connection on 10.0.0.2:2000 Settings in the router Mode: TCP server Server Address: TCP Port: 2000 Default Gateway 192.168.1.1 Fig. 56: Example of USB port configuration 1 Equipment PC ppp0 10.0.0.2 USB/RS-232 ETH ppp0 10.0.0.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.26. Startup script Use the Startup Script window to create your own scripts which will be executed after all of the initialization scripts are run. Fig. 58: Startup script Any changes to the startup scripts will take effect the next time the router is power cycled or rebooted. Example of Startup script: When the router starts up, stop syslogd program and start syslogd with remote logging on address 192.168.2.115 and limited to 100 entries. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.27. Up/Down script Use the Up/Down Script window to create scripts which will run when the PPP connection is started or goes down. Any scripts entered into the Up script window will run after a PPP/WAN connection is established. Script commands entered into the Down Script window will run when the PPP/WAN connection is lost. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.28. Automatic update configuration The SPECTRE router can be configured to automatically check for firmware updates from an FTP site or a web server and update its firmware or configuration information. Use the Automatic update menu to configure the automatic update settings. It is also possible to update the configuration and firmware through the USB host connector of the router.
B&B Electronics, Inc. SPECTRE Configuration Manual The following examples check for new firmware or configurations each day at 1:00 a.m.. An example is given for the SPECTRE 3G router. Firmware: http://router.cz/spectre3g.bin Configuration file: http://router.cz/temelin.cfg Fig. 62: Example of automatic update 1 The following examples check for new firmware or configurations each day at 1:00 a.m. An example is given for the SPECTRE 3G router with MAC address 00:11:22:33:44:55. Firmware: http://router.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.30. Change profile Up to three alternate router configurations or profiles can be stored in router nonvolatile memory. You can save the current configuration to a router profile through the Change Profile menu item. Select the alternate profile to store the settings to and ensure that the Copy settings from current profile to selected profile box is checked. The current settings will be stored in the alternate profile after the Apply button is pressed.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.32. Set real time clock You may update the router‟s internal clock at any time using a NTP server by selecting the Set Real Time Clock menu item. Enter the IP address or domain name of the NTP Server and click Apply to set the clock. Fig. 67: Set real time clock 1.33. Set SMS service center address The SPECTRE RT industrial router does not support the Set SMS service center address option.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.35. Send SMS The SPECTRE RT industrial router does not support the Send SMS option. You can send an SMS message from the router to test the cellular network. To send an SMS message, select Send SMS from the configuration menu. Enter the phone number and text of the message into the text boxes and click the Send button. It may take a few seconds to send the message. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 1.38. Update firmware Select the Update Firmware menu item to view the current router firmware version and load new firmware into the router. To load new firmware, browse to the new firmware file and press the Update button to begin the update. Do not turn off the router during the firmware update. Fig.
B&B Electronics, Inc. SPECTRE Configuration Manual 2. Attention! The SPECTRE 3G router cannot operate unless there is a SIM card installed or the carrier has been provisioned. The account must be provisioned for data communication. Monitoring of status, configuration and administration of the router can be performed by means of the Telnet interface. The default IP address of the modem is 192.168.1.1. Configuration may be performed only by the user "root" with initial password "root".