Connecting Without a Router - QuanergySystems/quanergy_client GitHub Wiki

Appendix 1: Connecting Without a Router

If you prefer to connect your sensor directly to the computer, instead of through a router, make sure you assign a static IP address to the sensor first (Figure 50), as explained in the “Managing the Sensor” section’s “Edit Network” instructions in the M8 Sensor User Guide, https://quanergy.desk.com/customer/portal/articles/2687038.

 Figure 50. Static IP Pop-Up Window with Good Sample Values

NOTE: It is possible to configure a DHCP server so that the sensor doesn’t need to have a static assignment, but that is not explained in this user guide.

You must then set up the computer’s network port as follows, referring to Figure 51:

  1. Connect the sensor to the computer’s network port.

  2. In your Windows host machine, open the Control Panel item, and select the Network and Internet item, then the Network Connection item.

  3. In the Network Connections window, select the Local Area Connection tab.

  4. In the Local Area Connection Properties dialog box, select the Networking tab, and click the Configure button.

  5. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, fill in the values as follows, and refer to the good sample values shown in Figure 50 and Figure 51 to make sure the sensor and the Windows host computer share the same local area network gateway, such as 10.0.0:

  • Select the Use the following IP address radio button.

  • In the IP address field, type a static address for the computer, with the shared gateway (e.g., 10.0.0) and a host address that is any number from 2-254 that is available, that is, does not conflict.

  • In the Subnet mask field, type the subnet that both computer and sensor are on.

  • In the Default gateway field, after the shared gateway (e.g., 10.0.0), the last field is typically 1.

  • Select the OK button to apply the changes and close the dialog box.

  1. In the Local Area Connection Properties dialog box, select the OK button to close the box.

 Figure 51. Setting Subnet Mask and Gateway with Good Sample Values

  1. Open a command line interface, then execute the following command to confirm that there is communication between the host computer and the sensor.

    ping <sensor ip address>

A successful result is shown in Figure 46.