NTP server test and equipment connected to the network through the computer

1. NTP server test     

        In my work recently, I encountered the need to use the function of ntp time calibration, because before the test, I need to know whether the specified ntp server can be used, search for information on the Internet, and use the command to test under the window. The test command is as follows:

w32tm /stripchart /computer:ntp server

Open the cmd window, enter commands in the window, and test. The ntp server of the first command cannot get the time normally, but the second command can get the server time normally. The test results are as follows:

3ae241d488a0971fe13d437740bdba3e.png

2. How to connect the device to the network through the computer

        Sometimes there is no available network interface around the device, and we only need to perform some simple networking operations, what should we do at this time?

        Get a laptop with internet access.

        Steps:

        1. Connect the device and the laptop through a network cable;

        2. Set the network of the notebook, open the control panel, and select the network connection;

57c94ba827f975f96fd1e2aa890f2034.png

        3. Set the wlan wireless connection configuration, just confirm it directly, the settings are as follows:

d945f328b9a2a0f5e8acf85437d4d824.png

        4. To view the local ip, enter ipconfig

de893de4ae70c26c2b013a156b7444e3.png

        5. Set the ip and other parameters of the device, and check;

ifconfig e0 192.168.137.40 192.168.137.1 255.255.255.0  //设置ip等参数

46f5d6250c197ed3e095c880de2c95d1.png

        6. Device Internet communication test, directly test the ntp server, the test results are as follows:

4e130a348235bae7710e8dd37e1e9c1f.png

You can see that the device can access the Internet normally at this time.

Guess you like

Origin blog.csdn.net/weixin_46158019/article/details/130878347