Rtcp port addition, Starting rtcp, Finishing rtcp – Solvline PB2xxxUG User Manual
Page 49
2. RTCP Port Addition
1) Add a Portbase to etc/hosts file.
vi /etc/hosts
Type “203.240.173.130” for Portbase IP address and “Portbase” for name, respectively.
2) Modify the rtcp.conf environment file.
vi /etc/rtcp/rtcp.conf
#Host_name equipment_name socket_number
#-----------------------------------------------------------------------------------
Portbase /dev/ttys0 4001
Portbase /dev/ttys1 4002
……… …………… ……
Host_name : Portbase name registered in /etc/hosts file
Equipment_name : Device name to be accessed in the user program
Socket_number : Socket number to access the Portbase serial ports.
3. Starting RTCP
Run the rtcp execution file as the background.
./rtcp&
ttys0 means the Portbase no.1 serial port and ttys1, no. 2 serial port.
4. Finishing RTCP
Run the “ps -ef” command and obtain the process number of the previously executed rtcp, and then
“kill process number” to stop the rtcp.
49