Upload
emely-ainsley
View
217
Download
4
Tags:
Embed Size (px)
Citation preview
www.sena.comwww.sena.com
SENA
Dec, 2004
HelloDevice Super seriesSS100/110/400/800
One-Stop Solution in Device Networking
2
www.sena.comwww.sena.com
Contents Overview Configuration Ways
Text-based Interface Web-based Interface
Features Operation Modes TCP/UDP Multiple Remote Hosts Security PC Card Support Data Logging Event Handling SNMP Dynamic Domain Name Customization Support
Case Studies Door Access Application (Customized) Medical Application (Customized) Bridge Monitoring System
3
www.sena.comwww.sena.com
Overview (1)• Linux-based Open platform (kernel 2.4.2)• Supports 1/4/8 serial port (RS232/422/485)• 1 PCMCIA slot
– ATA flash memory, LAN/WLAN, PSTN/CDMA Modem• Flexible host mode mode
– TCP/UDP single/multi-session support– Primary/Secondary host support
• Powerful Security– Industry-standard encryption support
• SSL v3, and TLS v1– Encryption algorithm support
• 3DES, and RC4• Flexible customization
– Linux CLI with development environment– Source file add/modify/compile/link in 1MB user space– Web customization
4
www.sena.comwww.sena.com
Overview (2)
Remote Host Host (SS) Device
• LAN
• Wireless (802.11b)
• PSTN
• Mobile (CDMA)
• RS-232
• RS-422
• RS-485
Any device with serial interface
Connections
www.sena.comwww.sena.com
Configuration Ways
1. Text-based Interface2. Web-based Interface
6
www.sena.comwww.sena.com
1. System Console2. Telnet (port 23) or3. SSH (port 22)
Text-based Interface
Privileges
• Admin user can access and edit configuration parameters.
• Root user can have full control on SS via CLI, in addition to access and configuration rights.
7
www.sena.comwww.sena.com
Web-based interface using web browsers such as IE, Netscape and Opera
Web-based Interface
www.sena.comwww.sena.com
Features
1. Operation Modes2. TCP/UDP Multiple Remote Hosts3. Security4. PC Card Support5. Data Logging and Event Handling6. SNMP7. Dynamic Domain Name8. Customization Support
9
www.sena.comwww.sena.com
Operation modesVarious operation modes
•TCP/UDP
device
Remote host
•modem emulation
modem
DTE
TCP/UDP socket
Remote host
TCP socket
DTEmodem
Remote host
TCP socket
•Dial-in/out mode
www.sena.comwww.sena.com
TCP/UDP Multicasting
1. Overview2. Configuration3. Connection4. Application Diagram5. Application Areas
11
www.sena.comwww.sena.com
Overview• SS supports an enhancement transmission method "TCP/UDP
multicasting", which transmits serial device data to multiple hosts simultaneously.
• Max. 32 hosts (incoming+outgoing) per one port allowed.
• Max. 16 outgoing connections (registered remote hosts) per one port allowed
• Each registered TCP host can have a backup host
• UDP host mode does not support backup host since there is no way to check status of primary remote host.
• Multicasting feature is very useful in application areas where user needs to transmit a message to several display signboard devices simultaneously.
12
www.sena.comwww.sena.com
Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Remote host configuration
13
www.sena.comwww.sena.com
Connection
14
www.sena.comwww.sena.com
Application Diagram
15
www.sena.comwww.sena.com
Application AreasApplications which require Multiple data transmission include:
• LED Signboard,• Electronic Metering,• Any customer requiring Multiple data transmission.
www.sena.comwww.sena.com
Security
1. SSL Encryption: Overview2. SSL Encryption: Configuration3. SSL Encryption: Connection4. Other Security Features5. Application Areas
17
www.sena.comwww.sena.com
SSL Encryption: Overview
• SSL creates a secure connection between a client and a server, over which any amount of data can be sent securely.
• By setting the cryptography method as one of SSLv2, SSLv3, SSLv3 rollback to v2 or TLSv1, the Super Series can communicate with other device supporting SSL/TLS cryptography method in encrypted sessions.
• SSL configuration settings are available only when the host mode is set to TCP or Modem Emulation mode.
• SSL works by using a private key to encrypt data that's transferred over the SSL connection.
18
www.sena.comwww.sena.com
SSL Encryption: Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Host mode configuration
– Choose Serial port --> Configuration --> Port # --> Cryptography configuration
19
www.sena.comwww.sena.com
SSL Encryption: Connection
• Run SSL or TLS client application– openssl s_client –connect 192.168.0.2:6001 –ssl3
20
www.sena.comwww.sena.com
Other Security Features Serial data encryption
3DES, RC4
Static Key encryption
Secured Web interface
HTTPS
IP filtering
serial port based IP filtering
box based IP filtering
Secured file uploading
SCP
21
www.sena.comwww.sena.com
Application AreasApplications which require more secure communications include:
• Financial,• Retail/POS,• Government,• Medical, and• Any customer requiring enhanced security to protect sensitive
information.
www.sena.comwww.sena.com
PC Card Support
1. Overview2. CF Memory card configuration3. Modem card configuration4. LAN card configuration5. WLAN card configuration
23
www.sena.comwww.sena.com
Overview
• PC card types that can be added to the SS include a serial modem, compact-flash card, wireless LAN card, and a network LAN card.
24
www.sena.comwww.sena.com
CF Memory card configuration• Access the SS web interface
– Choose PC Card --> Configuration
25
www.sena.comwww.sena.com
Modem card configuration• Access the SS web interface
– Choose PC Card --> Configuration
26
www.sena.comwww.sena.com
LAN card configuration• Access the SS web interface
– Choose PC Card --> Configuration
27
www.sena.comwww.sena.com
WLAN card configuration• Access the SS web interface
– Choose PC Card --> Configuration
www.sena.comwww.sena.com
Data Logging and Event Handling
1. Overview2. Data Logging Configuration3. Data Event Handling Configuration4. Data Event Handling Test
29
www.sena.comwww.sena.com
Overview
• The SS can capture all system and port data, and save it into a log file. This buffer can be viewed from the web, saved to memory, or saved to a Flash Card, syslog server or NFS server.
• System logs track events such as logins, authentication failures, system configuration changes, and more.
• Port logs document the data flow through the SS serial ports.
• In addition, the SS can be configured for system alerts and notifications. It can send email messages when an alarm message is detected in the serial port data.
• The SS uses SMTP for sending email notifications and SNMP for trap alerts.
30
www.sena.comwww.sena.com
Data Logging Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Port logging
31
www.sena.comwww.sena.com
Data Event Handling Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Port logging
32
www.sena.comwww.sena.com
Data Event Handling Test• Event Handling via SNMP browser and SMTP email
www.sena.comwww.sena.com
SNMP
1. Overview2. Configuration3. Connection
34
www.sena.comwww.sena.com
Overview
• SS supports SNMP that provides status and performance of connected serial devices through their Ethernet connections.
• Applications such as NMS or an SNMP browser can exchange information with the SS.
• The SS supports SNMP authentication, Login, and Link up traps.
• The SS supports both versions 1 and 2 of the SNMP protocol and delivers the System and Port alerts as traps.
35
www.sena.comwww.sena.com
Configuration• Access the SS web interface
– Choose Network --> SNMP configuration
36
www.sena.comwww.sena.com
Connection• Authentication, Login, and Link up traps in Kiwi SNMP browser
www.sena.comwww.sena.com
Dynamic Domain Name
1. Overview2. Configuration and Connection
38
www.sena.comwww.sena.com
Overview
• Dynamic DNS Protocol enables users to access the SS via a domain name for floating IP environments such as DSL line and DHCP.
• To use this service, users must set-up an account in Dynamic DNS Network Services and add domain name, user name and password on the SS DDNS configuration page.
• Whenever user reboots the SS in floating IP environments, it sends updated IP address to Dynamic DNS Network Services.
39
www.sena.comwww.sena.com
Configuration and Connection• Access the SS web interface
– Choose Network --> Dynamic DNS configuration
• Access the SS web interface and use domain name• For e.g., ismdemo.dyndns.biz
www.sena.comwww.sena.com
Customization Support
1. Overview2. User Web Customization - HTML pages3. User Web Customization – CGI & Java pages4. Serial Filter Application
41
www.sena.comwww.sena.com
Overview• Web customization options
– Plain HTML files– CGI written in C
• User application implementation– Filter applications in C– Other applications in C or shell scripts
• To quickly develop custom applications that run on the HelloDevice Super Series, SDK (Software Development Kit) is needed.
• SS SDK is a 256MB CF card composed of executable binaries (including gcc), header files, and library files.– Executable binaries run on SS (MPC855T Linux)– Header files and Library files are compatible with SS platform
• With SS SDK, users can compile their own C/C++ source code to run on SS without installing cross-compile utilities on their PC.
42
www.sena.comwww.sena.com
• If you are using Windows, using SCP (secure copy protocol) client tools for Windows will be handy for file transfer from/to SS
• Winscp (GUI)– Download @ http://winscp.sourceforge.net/eng/– Install as other applications
• Pscp (command line interface)– Download pscp.exe @
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
– Copy pscp.exe into C:\Windows directory
Preparation
User Web Customization - HTML pages (1/3)
43
www.sena.comwww.sena.com
• Prepare index.html file and other related files (e.g. index.html and webtest.swf)
• Just copy the files to SS, /usr2/usrweb directory using SCP tools (e.g. winscp) and it will work!
Running User HTML file
User Web Customization - HTML pages (2/3)
44
www.sena.comwww.sena.com
User Web Customization - HTML pages (3/3)
Browsing SS User Web Pages
45
www.sena.comwww.sena.com
[email protected]:~# editconf
------------------------------------------------------------------------------ Welcome to SS-110 configuration page … IP mode: DHCP IP address: 192.168.0.15------------------------------------------------------------------------------ Select menu: 1. Network configuration … <Enter> Refresh---> 3------------------------------------------------------------------------------ PC Card configuration------------------------------------------------------------------------------ Currently configured PC card: (none)
Select menu: 1. Change card configuration 2. Stop the card service to disable or remove card
3. Probe a new card <ESC> Back, <Enter> Refresh---> 3 Do you want to probe a new pc card? (y/n): y
A new PC card is discovered.
------------------------------------------------------------------------------ PC Card configuration------------------------------------------------------------------------------ Currently configured PC card: ATA/IDE fixed disk card Model: SanDisk SDP 5/3 0.6 Size: 257 MB File system: ext2 …--->------------------------------------------------------------------------------ Welcome to SS-110 configuration page …------------------------------------------------------------------------------ Select menu: 1. Network configuration … 6. Exit without saving
7. Exit and apply changes 8. Exit and reboot <Enter> Refresh---> 7Are you sure to save changes? (y/n): ySaving..Configuration is saved successfullyAre you sure to apply changes? (y/n): yApplying........Configuration is applied successfully
• After recognition, SDK is mounted on /mnt/flash/ directory
User Web Customization – CGI & Java pages (1/3)
Preparation: Recognizing SDK Card
46
www.sena.comwww.sena.com
• Make working directory such as /mnt/flash/work
• Copy cgi source file (e.g. ex.c) into the working directory
• Compile *.c file with the option of “–L/mnt/flash/lib” (Library path)
• Copy *.cgi binary file to /usr2/cgi-bin/ directory
• Copy index.html that has CGI link in it to /usr2/usrweb/ directory
User Web Customization – CGI & Java pages (2/3)
Compiling and Copying files
47
www.sena.comwww.sena.com
[email protected]:/mnt/flash/work# cat ex.c#include <stdio.h>#include <stdlib.h>#include <string.h>
main(int argc, int *argv[]){ printf("Content-type: text/html\n\n"); printf("<html>"); printf("<body bgcolor=\"#0000C0\">"); printf("<b><font color=\"#FF0000\">This is a sample CGI page</font></b>\n"); printf("</body>"); printf("</html>\n"); fflush(stdout);}[email protected]:/mnt/flash/work# gcc -o ex.cgi ex.c -L/mnt/flash/[email protected]:/mnt/flash/work# cp ex.cgi /usr2/cgi-bin/[email protected]:/mnt/flash/work#
User Web Customization – CGI & Java pages (3/3)
Sample CGI Source file and Output
48
www.sena.comwww.sena.com
Serial Filter Application (1/4)
• Users just need to write filter application only to customize serial port application rather than writing whole source code
• Typical situation for serial application customization:– Add/remove protocol
header– Periodically check serial
device
SS Serial Filter Structure
49
www.sena.comwww.sena.com
• Location = /mnt/flash/sample/filter
• periodic_filter.c– Periodic query of the serial device application might
start from here
• empty_filter.c– Do nothing. Adding/removing header application
might start from here
Sample file
Serial Filter Application (2/4)
50
www.sena.comwww.sena.com
• Log into the SS (Telnet or SSH)
• Copy sample file from SDK to working directory (e.g. /mnt/flash/work)
• Compile source file (Be careful with compile options)gcc -o myfilter myfilter.c -L/mnt/flash/lib –lpthread
• Copy compiled binary to /usr2 directory
• Specify filter application and arguments using configuration web or menu configuration
How to
Serial Filter Application (3/4)
51
www.sena.comwww.sena.com
[email protected]:/mnt/flash/work# cp /mnt/flash/sample/filter/periodic_filter.c ./[email protected]:/mnt/flash/work# gcc -o myfilter myfilter.c -L/mnt/flash/lib [email protected]:/mnt/flash/work# cp myfilter /[email protected]:/mnt/flash/work# editconf…------------------------------------------------------------------------------ Serial port configuration - Port #1 --> Filter application------------------------------------------------------------------------------ Select menu: 1. Filter application path name: /bin/ss.filter 2. Filter application arguments: <ESC> Back, <Enter> Refresh---> 1 Enter a filter application full path name(ex: /bin/filter)---> /usr2/myfilter------------------------------------------------------------------------------ … 1. Filter application path name: /usr2/myfilter 2. Filter application arguments: <ESC> Back, <Enter> Refresh---> 2 Enter filter application arguments---> 'You will see this msg every 1 sec' 1
Sample Filter and Output
Serial Filter Application (4/4)
www.sena.comwww.sena.com
Case Studies
1. Door Access Application (Customized)2. Medical Application (Customized)3. Bridge Monitoring System
53
www.sena.comwww.sena.com
Door Access Application (Customized)
54
www.sena.comwww.sena.com
Door Access Application (Customized)
• Target Device : RF-ID Card Reader
• Application Details:– Customer has added a user customized filtering
program that transmits only needed serial-based RF's to the management station through the SS110.
– As a result, the time that is required to process visitor’s door access requests has been dramatically minimized.
– Why SS instead of the PS?• Fast response required Local protocol parser
application is required on the SS to reduce the network traffic
55
www.sena.comwww.sena.com
Bridge Monitoring System
SS110
System Architecture
56
www.sena.comwww.sena.com
Bridge Monitoring System
• Target Device : Gage length deformation sensors on a Railway Bridge
• Application Details:– Long gage length deformation sensors (GPS) that are
installed throughout a railway bridge to gain actionable information from the bridge
– Why SS110? • Powerful logging capability (Syslog server)• Wireless LAN thru PCMCIA slot
57
www.sena.comwww.sena.com
Medical Application
• Target Device: Medical Monitoring Device
• Application Details:– Serial based medical devices are connected to
Ethernet using the SS400/800– Medical devices are reset remotely by sending
“serial-break” signal thru the SS– “Serial-break” feature is implemented using the SS
customization feature
58
www.sena.comwww.sena.com
Contact SENA
SENA Technologies, Inc.
[email protected]:+82-2-529-7025Fax: +82-2-573-7710Web Address: http://www.sena.com210 Yangjae-dong Seocho-guSeoul 137-130, South Korea