User's Manual

Table Of Contents
Entering more parameters in both units
cli_cnf_set -t b RADIO_TX_CHAN=17128000 PEER_RADIO_RX_CHAN=17128000
Put parameters containing spaces in quotation marks:
cli_time_set -t b -T '2012-11-27 10:55:00'
Set time in both units
8.2.1. SSH keys
Generation using ssh-keygen
[user@laptop ~]$ ssh-keygen -t dsa -f usr_ssh_key
Uses working directory to save private usr_ssh_key and public part of the key usr_ssh_key.pub
Copying the key into the RAy2 unit
[user@laptop ~]$ scp usr_ssh_key.pub admin@192.168.141.202:/tmp
The public part of the key is written to the folder /tmp
Installation of key in RAy2 unit
CLI(admin):/rrusrhomes/admin$ cli_user_authkey -c a -k /tmp/usr_ssh_key.pub
Testing access to RAy2 unit using SSH key
[user@laptop ~]$ ssh -i usr_ssh_key admin@192.168.141.202
8.2.2. Scripts
Script example with access using key
[user@laptop ~]$ ssh -i usr_ssh_key admin@192.168.141.202
"source /etc/profile;cli_info_link;echo \$?;cli_cnf_show | grep TX_PWR;echo $?"
Warning: Permanently added '192.168.141.202' (DSA) to the list of known hosts.
cli_info_link: Link status: up
0
RADIO_TX_PWR=4
0
[user@laptop ~]$
The script contains:
environment settingssource /etc/profile;
query for link statuscli_info_link;
reading return valueecho \$?;
query for radio powercli_cnf_show | grep TX_PWR;
reading return valueecho \$?
return valuecli_info_link: Link status:up
OK command0
power +4 dBmRADIO_TX_PWR=4
OK command0
167© RACOM s.r.o. RAy2 Microwave Link
Command Line Interface