beautypg.com

2 program execution under linux – Dialogic DSI SPCI Network Interface Boards User Manual

Page 33

background image

Dialogic

®

DSI SPCI Network Interface Boards Programmer's Manual Issue 5

33

5.2

Program Execution under Linux

Ensure the device driver has been installed and the system configuration file

(system.txt) has been modified according to the system requirements to

select the correct protocols etc.

Ensure the code file has been copied to the directory containing the SS7

binaries.

If using s7_mgt, ensure the protocol configuration file config.txt has been

edited to provide protocol configuration.

To start the software running, change to the directory containing the binaries

and run gctload optionally specify the system configuration file.

To run the system in the foreground, enter:

gctload -csystem.txt

To run it in the background enter:

gctload -csystem.txt &

The gctload program initializes the system environment and starts up other

processes. The s7_mgt process configures all the protocol modules. A

banner confirms that the system is running.

The example utility mtpsl may be used to activate and deactivate signaling

links as follows:

mtpsl { act | deact }

mtpsl act 0 0

mtpsl deact 0 0

To shutdown the host software, run gctload using the "–x" parameter

gctload –x

Any modules that have been started by gctload are terminated
automatically.