EasyManua.ls Logo

Tripp Lite B092-016 - SMS Server Tools; Multicast

Tripp Lite B092-016
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
235
Chapter 15: Advanced Configuration
To run the CGI script on the Console Server:
• LogintotheB092-016
• Run:mount -o remount,rw /dev/hda1 /
• Copythescriptto/home/httpd/cgi-bin/
• Run: mount -o remount,ro /dev/hda1 /
• Browseto:http://192.168.0.1/cgi-bin/yourscript.cgiwhere192.168.0.1istheIPaddressoftheConsoleServerand
yourscript.cgi is the name of the script
ThereisausefultutorialoncreatingabashscriptCGIathttp://www.yolinux.com/TUTORIALS/LinuxTutorialCgiShellScript.html
Similarly the Master maintains a view of the status of the Slaves:
• SelectStatus:SupportReport
• ScrolldowntoProcesses
• Lookfor:/bin/ssh-MN-oControlPath=/var/run/cascade/%hSlavename.ThesearetheSlavesthatareconnected
Note:TheendoftheSlaves'nameswillbetruncated,sotherst5charactersmustbeunique
Alternatively,youcanwriteacustomCGIscriptasdescribedabove.ThecurrentlyconnectedSlavescanbedeterminedby
running: ls /var/run/cascade and the configured Slaves can be displayed by running: config -g config.cascade.Slaves
15.12 SMS Server Tools
Console Servers include the SMS Server Tools software which provides an SMS Gateway which can send and receive short
messages through GSM modems and mobile phones.
You can send short messages by simply storing text files into a special spool directory. The program monitors this directory
and sends new files automatically. It also stores received short messages into another directory as text files. Binary messages
(includingUnicodetext)arealsosupported,forexampleringtonemessages.It'salsopossibletosendaWAPPushmessage
to the WAP / MMS capable mobile phone.
The program can be run as a SMS daemon which can be started automatically when the operating system starts. High
availabilitycanbeensuredbyusingmultipleGSMdevices(currentlyupto64,thislimitiseasilychangeable).
Theprogramcanrunotherexternalprogramsorscriptsaftereventslikereceptionofanewmessage,successfulsendingand
also when the program detects a problem. These programs can inspect the related text files and perform automatic actions
TheSMSServerToolssoftwareneedsaGSMmodem(ormobilephone)withSMScommandsetaccordingtotheEuropean
specicationsGSM07.05(=ETSITS300585)andGSM03.38(=ETSITS100900).ATcommandsetissupported.Devices
canbeconnectedwithserialport,infraredorUSB.
Formoreinformation,refertohttp://smstools3.kekekasvi.com
15.13 Multicast
Bydefault,ConsoleServershaveMulticastingenabled.Multicastingprovidesproductswiththeabilitytosimultaneously
transmit information from a single device to a select group of hosts.
Multicastingcanbedisabledandre-enabledfromthecommandline.Todisablemulticastingtype:
ifconfig eth0 –multicast
Tore-enablemulticastingfromthecommandlinetype:
ifconfig eth0 multicast
IPv6 may need to be restarted when toggling between multicast states.

Table of Contents