[Terminal equipment] How does the RTSP protocol streaming media server EaysNVR video platform solve the problem that dhcp cannot allocate IP?

DHCP is a dynamic host configuration protocol. It is usually used in large local area network environments. Its main function is to centrally manage and assign IP addresses, so that hosts in the network environment can dynamically obtain information such as IP addresses, Gateway addresses, and DNS server addresses. Can improve the utilization rate of the address.

EasyNVR cloud terminal is the hardware version of EasyNVR. Sometimes, due to user network environment and other problems, EasyNVR cloud terminal cannot perform dhcp allocation of IP, and cannot communicate with the server, and the device cannot be used. how to solve this problem? This article discusses with you.

EasyNVR Cloud Terminal.png

Cause Analysis

Because the network environment makes it impossible to allocate DHCP, we can modify the user's ip to a fixed ip.

Solution

We connect the EasyNVR cloud terminal normally, and log in after the network is powered on.

After logging in, first check if it is not assigned by DHCP: ip add; after checking the network card information, if it is the same as the picture below, we have to enter: sudo su (the password will appear at this time, just like the password).

396.png

After entering the administrator authority, we enter the following command: cd /etc/network
This command is to enter /etc/network

Next we need to modify the interfaces and modify the data inside to the following format:

auto enp3s0
iface enp3s0 inet static
address 192.168.2.201
netmask 255.255.255.0
gateway 192.168.2.1
dns-nameservers 127.0.1.1

The meaning is explained as follows:
address is the ip address
netmask is the subnet mask
geteway is the gateway
Other parameters should not be changed

397.png

After the configuration is complete, we refresh the network card: /etc/init.d/network-manager restart

398.png

After the green OK appears, we restart the EasyNVR cloud terminal, log in and execute ip add to see the network card information, and then we can communicate with the server.

399.png

EasyNVR cloud terminal

956eed4.png

EasyNVR cloud terminal software and hardware integration, cloud operation and maintenance; small size, easy to place and deploy; 7x24 hours of uninterrupted operation, low power consumption; saves the high cost of self-built video server; exclusive video service, eliminating the interaction with other hardware Impact; it can run successfully after powering on and connecting to the Internet, and the deployment operation is simple. For more information about video platform solutions, please visit TSINGSEE Qingxi Video for details.

Guess you like

Origin blog.csdn.net/EasyNVR/article/details/108603886