OK-DMR / Hytera_Homebrew_Bridge

[BETA] protocol translator between Hytera repeaters 8.x and 9.x and MMDVM / Homebrew servers (hblink3, freedmr, ...)
GNU Affero General Public License v3.0
27 stars 24 forks source link

Hytera RD625 Firmware 9.02 does not connect master BM. #11

Closed Dmedia3412 closed 2 years ago

Dmedia3412 commented 2 years ago

Hytera RD625 Firmware 9.02 DMRGateway-20200421

does not connect master BM.

NFO - 2021-11-09 00:55:06,915 - MMDVMProtocol - -------- MMDVM CONFIGURATION PACKET -------- DEBUG - 2021-11-09 00:55:06,915 - MMDVMProtocol - MFQ Unsupported common_log_format for data TypeRepeaterConfigurationOrClosing INFO - 2021-11-09 00:55:06,922 - MMDVMProtocol - Master accepted our configuration DEBUG - 2021-11-09 00:55:08,801 - MMDVMProtocol - Sending PING DEBUG - 2021-11-09 00:55:08,803 - MMDVMProtocol - MFQ Unsupported common_log_format for data TypeRepeaterPing DEBUG - 2021-11-09 00:55:08,813 - MMDVMProtocol - Master PONG received DEBUG - 2021-11-09 00:55:12,187 - HyteraMmdvmTranslator - HYTERA->MMDVM Received IPSC Heartbeat, not translating DEBUG - 2021-11-09 00:55:13,804 - MMDVMProtocol - Sending PING DEBUG - 2021-11-09 00:55:13,805 - MMDVMProtocol - MFQ Unsupported common_log_format for data TypeRepeaterPing DEBUG - 2021-11-09 00:55:13,815 - MMDVMProtocol - Master PONG received DEBUG - 2021-11-09 00:55:18,810 - MMDVMProtocol - Sending PING DEBUG - 2021-11-09 00:55:18,811 - MMDVMProtocol - MFQ Unsupported common_log_format for data TypeRepeaterPing DEBUG - 2021-11-09 00:55:18,812 - MMDVMProtocol - Master PONG received DEBUG - 2021-11-09 00:55:19,150 - HyteraMmdvmTranslator - HYTERA->MMDVM Received IPSC Heartbeat, not translating

DMRGateway log

M: 2021-11-08 19:46:30.883 DMRGateway-20200421 is running D: 2021-11-08 19:46:40.926 BM, Sending authorisation D: 2021-11-08 19:46:40.968 BM, Sending configuration E: 2021-11-08 19:46:41.011 BM, Login to the master has failed, retrying network ... M: 2021-11-08 19:46:41.011 BM, Closing DMR Network M: 2021-11-08 19:46:41.011 BM, Opening DMR Network D: 2021-11-08 19:46:51.062 BM, Sending authorisation D: 2021-11-08 19:46:51.104 BM, Sending configuration E: 2021-11-08 19:46:51.147 BM, Login to the master has failed, retrying network ... M: 2021-11-08 19:46:51.147 BM, Closing DMR Network M: 2021-11-08 19:46:51.147 BM, Opening DMR Network D: 2021-11-08 19:47:01.183 BM, Sending authorisation D: 2021-11-08 19:47:01.216 BM, Sending configuration E: 2021-11-08 19:47:01.258 BM, Login to the master has failed, retrying network ... M: 2021-11-08 19:47:01.258 BM, Closing DMR Network M: 2021-11-08 19:47:01.259 BM, Opening DMR Network D: 2021-11-08 19:47:11.301 BM, Sending authorisation D: 2021-11-08 19:47:11.334 BM, Sending configuration E: 2021-11-08 19:47:11.366 BM, Login to the master has failed, retrying network ... M: 2021-11-08 19:47:11.366 BM, Closing DMR Network

Please tell me if you tested on firmware 9.02 ?

smarek commented 2 years ago

Short answer: No, this is not tested with firmware 9.x, but it should work, if you replace RDAC with SNMP and static configuration (RDAC is used only for getting name, frequency, radio mode, etc...)

Long answer:

  1. I don't see any logs, that say HHB is the faulting component here
  2. Logs are truncated I need complete logs from HHBridge and DMRGateway to be able to tell you more, and if you don't want to put the public, you can send them to me by email
  3. DMRGateway says "Try to login ; Login failed ; Try to login ; Login failed ; ..." which looks more like BM/SelfCare account issue, why do you think it's HHB issue?
Dmedia3412 commented 2 years ago

package_id = MMDVM_Hytera_Homebrew_Bridge

this solved my connection problem

now the hardware line displays "Hytera_Homebrew_Bridge (MMDVM)"

smarek commented 2 years ago

What? What do you mean by "hardware line" ? Is this solution something required by BM?

Dmedia3412 commented 2 years ago

This corrected line "package_id = MMDVM_Hytera_Homebrew_Bridge" in settings.ini file let me successfully connect to BM master.

Hytera_Homebrew_Bridge (MMDVM)

this is displayed on the repeater information page in BM

smarek commented 2 years ago

I understand the solution, but not the reason why it fixes anything. Does BM require you to use specific software identifier for it to let you connect?

Dmedia3412 commented 2 years ago

I don't know what BM requires. As it seems to me, this MMDVM_ entry allows you to go through the whitelist of applications that are allowed by the BM. This is what helped me connect successfully.

smarek commented 2 years ago

Thanks for clarification

smarek commented 2 years ago

So I've just tested with R9.0 and R9.2 firmwares, both successfull

For other visitors of this issue, your issue might be solved by using package_id = MMDVM_Hytera_Homebrew_Bridge in settings.ini file