•
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 [email protected]:/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 [email protected]
8.2.2. Scripts
•
Script example with access using key
[user@laptop ~]$ ssh -i usr_ssh_key [email protected]
"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 settings
source /etc/profile;
query for link status
cli_info_link;
reading return value
echo \$?;
query for radio power
cli_cnf_show | grep TX_PWR;
reading return value
echo \$?
return value
cli_info_link: Link status:up
OK command
0
power +4 dBm
RADIO_TX_PWR=4
OK command
0
RAy2 Microwave Link – © RACOM s.r.o.
146
Command Line Interface
Summary of Contents for Ray2
Page 2: ......
Page 6: ...6...
Page 64: ...7 3 Status Fig 7 6 Menu Status RAy2 Microwave Link RACOM s r o 64 Configuration...
Page 219: ...Appendix B Rain zone map 219 RACOM s r o RAy2 Microwave Link Rain zone map...
Page 234: ...234...