Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Примеры
Примеры
Examples

Display information about the wireless links state using the "mint rf5.0 map detail" command:

Code Block
languagetext
themeEmacs
mint rf5.0 map detail

==============================================================================
Interface rf5.0
Node  00043523FA96  "Slave", Id 60758, Nid 0, (Slave)
Freq 5550, Band 40, Sid 10101010, autoBitrate 300000 (min 30000), Noise -88 

 ------- ---------------------------- ------------ -----  ------- ----- -------
   Id         Name                        Node      SNR   Bitrate Retry Options
 ------------------------------------ ------------ rx/tx   rx/tx  rx/tx -------
   13659 LINAR                        00043514C93B 46/45  300/300  0/0  /M/F
	 load 5/2, pps 3/0, cost 51
	  pwr 10/10, thr 23/23 dist 2,
	  H08v1.90.46, up 18:20, IP=192.168.103.82
 ------- ---------------------------- ------------ -----  ------- ----- -------
 1 active neighbors
 Total load: 5/2 (rx/tx), 7 (sum) Kbps
 Total nodes in area: 2

Indicators in the "Options" column can have the following values:

  • "S" - device is in the Slave mode;
  • "M" - device is in the Master mode;
  • "L" - the device throughput is limited by license;
  • "P" - the polling mode is enabled on the device;
  • "F" - the software version is older than on the local device.

A "?" mark in front of the remote device name indicates that there is no password set on this device.

Pay attention to the "*" symbol, which can mean the following:

  • At the "pwr" column - hardware device failure.

Nodes А and B use the same key and can connect to each other in "public" mode.

Node А:

Code Block
languagetext
themeEmacs
mint rf5.0 –key SECRETKEY
mint rf5.0 –authmode public

Node B:

Code Block
languagetext
themeEmacs
mint rf5.0 –key SECRETKEY
mint rf5.0 –authmode public

Nodes А and B use different access keys, but can connect to each other in "public" mode using local databases.

Node А:

Code Block
languagetext
themeEmacs
mint rf5.0 –key SECRETKEY
mint rf5.0 –authmode public
mint rf5.0 addnode -mac B:B:B:B:B:B -key KEY2

Node B:

Code Block
languagetext
themeEmacs
mint rf5.0 –key KEY2
mint rf5.0 –authmode public
mint rf5.0 addnode -mac A:A:A:A:A:A -key SECRETKEY

In this case, each node can additionally establish links with other nodes operating in the "public" mode, if their keys match the node's own key.

Node A uses a local database and acts as an authentication gateway. Node B does not have its own database and uses authentication gateway services in "remote" mode.

Node А:

Code Block
languagetext
themeEmacs
mint rf5.0 –key KEY1
mint rf5.0 –authmode static
mint rf5.0 –authrelay
mint rf5.0 addnode -mac B:B:B:B:B:B -key KEY2
mint rf5.0 addnode -mac С:С:С:С:С:С -key KEY3

Node B:

Code Block
languagetext
themeEmacs
mint rf5.0 –key KEY2
mint rf5.0 –authmode remote

Node B will receive neighbor information through the authentication gateway (node A).

In order to simplify the base station sector configuration in the static description of the subscribers, the command "mint addnode" will add with two parameters "-defgw X.X.X.X" and "-defmask X.X.X.X".

Code Block
languagetext
themeEmacs
mint rf5.0 addnode –mac 000028BAF234 –lip 1.1.1.1 –tip 1.1.1.2 –mask 255.255.255.252 –lcost 120

If the description of the particular subscriber does not specify the exact gateway address or network mask, the default values set in these parameters will be used. Thus, for each subscriber it is enough to specify only dynamically assigned IP address and access key.

Code Block
languagetext
themeEmacs
mint rf5.0 addnode -mac 000435567322 -tip 10.1.1.1 -key SecretKey1

If no access key is specified, it is assumed that it matches the base station key. If no IP address is specified, no action is taken on the addresses.

Warning
titleCAUTION

Information about the default gateway (which is defined by the "addnode-tgw / addnode –defgw" commands) is not passed to the host unless it has specified an address and a network mask.

The command removes the network node with the MAC address "00:00:28:BA:F2:34" from the local database.

Code Block
languagetext
themeEmacs
mint rf5.0 delnode –mac 000028BAF234
The command sends remote commands to all devices on the MINT network: display device configuration (in the first case), upload command file from ftp (in the second case).
Code Block
languagetext
themeEmacs
mint rf5.0 rcmd -n all -cmd "co sh"
mint rf5.0 rcmd -n all -file ftp_name:ftp_pswd@192.168.100.21/1.txt

Enable polling.

Code Block
languagetext
themeEmacs
mint rf5.0 poll start

Display polling statistic by using "stat" parameter.

Code Block
languagetext
themeEmacs
mint rf5.0 poll stat
MI=9, MP=60, MT=120, started
md=143234, ma=123212, mt=36
pd=312762, pa=22343, pt=11

В выводе отображаются значения следующих параметров:

  • "md" - the number of markers in response to which the data packet was received.
  • "ma" - the number of markers in response to which the answer "no data" was received.
  • "mt" - the number of markers in response to which no data was received (time-out).
  • "pd" - the number of packets in response to which the data packet was received.
  • "pa" -the number of packets in response to which the answer "no data" was received.
  • "pt" -the number of packets in response to which no data was received (time-out).

The command displays data for monitoring signal levels.

Code Block
languagetext
themeEmacs
mint rf5.0 monitor

The input/output signal levels are displayed relative to the minimum rate for receiving/transmitting.

Center
Gliffy Diagram
namemint monitor

The device is in active mode, sending out announcements about its firmware version. If other active devices with a newer firmware version are found on the network, the update request will be sent no earlier than 7 hours of continuous operation of the announcement source.

Code Block
languagetext
themeEmacs
mint rf5.0 –airupdate active normal

The device passively listens to the network, collects information about announcements and waits for the moment when the source with the new firmware version will work with it for at least a day.

Code Block
languagetext
themeEmacs
mint rf5.0 –airupdate passive slow

The operator decides to replace the firmware on the network with a new, obviously proven one.

Code Block
languagetext
themeEmacs
mint rf5.0 –airupdate force

This device does not participate in the automatic update system, does not generate and does not listen to announcements.

Code Block
languagetext
themeEmacs
mint rf5.0 –airupdate disable

The operator specifies the path to the ftp server from where the device will download updates.

Code Block
languagetext
themeEmacs
mint rf5.0 -f ftp://user:pass@host/path/file

Let's make a link reservation. To do this, create a pseudo-radio interface on each device via Ethernet (or vlan). In this case, both devices will communicate with each other via "prf" interfaces using the main link.

Code Block
languagetext
themeEmacs
ifconfig prf0 up
prf 0 parent eth0
mint prf0 start

On both devices join the "rf5.0" and "prf0" interfaces with the "join" parameter.

Code Block
languagetext
themeEmacs
mint join rf5.0 prf0

Both devices must have at least one switching group between ETH and RF interfaces, which will provide L2 traffic transmission for the time of the main link absence.

Code Block
languagetext
themeEmacs
switch group 1 add eth0 rf5.0
switch group 1 start
switch start
Warning
titleCAUTION

In case the InfiNet Wireless devices are used for the redundant link, it is recommended to use own switching group on each link.

In case it is necessary to use one switching group, "rf5.0" and "prf0" interfaces can not be joined with the "join" parameter. Also, it is necessary to explicitly specify the MAC address of the remote device, since the "auto" option will not work.

The "failover" function is enabled on the Master radio interface.

Code Block
languagetext
themeEmacs
mint rf5.0 -failover auto

As soon as the Master detects that the monitored MAC address is accessible via the "prf0" interface, it will immediately turn off its radio transmitter and put the radio interface into the DOWN state, simultaneously stopping the traffic switching. Having lost synchronization on the radio with the Master, Slave will stop transmitting and go into a standby mode.

If the connection to the MAC address being monitored is lost, for example, if the main link fails, the Master will turn on its transmitter and put the radio interface into the UP state. The Slave detects the presence of a signal from the Master and go into a mode of communication. The client traffic will start to be transmitted over the radio again.

...