•
Entering more parameters in both units
cli_cnf_set -t b RADIO_TX_CHAN=17128000 PEER_RADIO_RX_CHAN=17128000
•
Put parameters containing space in quotation marks:
cli_time_set -t b -T '2012-11-27 10:55:00'
Set time in both units
7.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 RAy 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 RAy unit
CLI(admin):/rrusrhomes/admin$ cli_user_authkey -c a -k /tmp/usr_ssh_key.pub
•
Test of access to RAy unit using SSH key
[user@laptop ~]$ ssh -i usr_ssh_key [email protected]
7.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
RAy Microwave Link – © RACOM s.r.o.
102
Command Line Interface
Содержание RAy11
Страница 2: ......
Страница 167: ...Appendix B Rain Zone Map 167 RACOM s r o RAy Microwave Link Rain Zone Map...