1、确定方式用
监控设备里启用:使用ISUP协议,填写服务端的网关IP,端口(这里比较坑,默认是7660,实际是7661,导致设备一直没法注册成功。)
服务器端:安装海康的Gateway网关
2、服务端Linux系统里安装海康的Gateway网关(官网下载)
./install.sh --port=81
Checking ports completed. Port 81 will be used.
hpr tls index{0}
schina GetAdapterInfo_Inter_Posix link: 1 iterface: eth0
schina GetAdapterInfo_Inter_Posix link: 1 iterface: lo
recvfrom end. len [1348]
mac[0:0:0:0:0:0] index[1]
mac[0:16:3e:26:f4:aa] index[2]
recvfrom end. len [20]
recvfrom end. len [144]
ipv6[00::00:00:00:00] index[1]
ipv6[fe80::00:00:00:216] index[2]
recvfrom end. len [20]
loop[2] find 2 mac and 2 ip
schina get ipv6[0000] index[1]
schina get ipv6[fe80] index[2]
/proc/16163/cmdline
./DeviceGatewayService-install
please wait, install DeviceGatewayService service may take a few minutes...
0+1 records in
0+1 records out
14 bytes (14 B) copied, 5.9667e-05 s, 235 kB/s
setenforce: SELinux is disabled
install DeviceGatewayService service successfully.
Port rules are added to firewalld by default.
FirewallD is not running
2、设备注册成功后,按开发文档调试
标签:index,00,end,NVR,recvfrom,len,海康,ipv6,php From: https://www.cnblogs.com/showker/p/17793542.html