Only perform this configuration in case regular WiFI-configuration does not suit your network.
You can assign a static IP address to a bridge by following the below. For this you need:
- PC or Laptop
- Sensorfact Bridges
- A USB flash drive (FAT32 formatted); preferably blank
- IP-addresses
Configuration steps
Step 1: Create a new file on the USB flash drive (for WiFi, named 'wifi-ip-XXXX.txt'), (for ethernet, named 'ethernet-ip-XXXX.txt').
The XXXX are the 4 characters of the bridge ID and thus differ for each bridge. An example is: 'wifi-ip-82DF.txt'. You can find the bridge ID on the sticker on the bridge. Our platform uses the IP range 10.3.x.x. So it is not possible to assign static (local) addresses in this range.
Step 2: In this .txt file, add the needed information:
- Static IP address and netmask (unique to each bridge).
- The format is: IP/NETMASK.
- Gateway IP address.
- DNS IP address(es)’ (Optional).
If you want to add multiple IP addresses, separate the different addresses with a space.
NOTE: Do not add extra spaces in other parts of the .txt file.
Example of a correct configuration:
ip_address=192.168.0.10/24
gateway=192.168.0.1
dns=192.168.0.2 192.168.0.3
In case multiple bridges need a static IP address, repeat step 1 and 2.
Step 3. Check the configuration
1. Check files on the USB flash drive on a computer
If the configuration went well, you will see a new file named 'mac-addresses-XXXX.txt'. The XXXX are the 4 characters of the bridge ID and thus vary from bridge to bridge. An example is: 'mac-addresses-82DF.txt'.’ If needed, these MAC-addresses can be used to register the bridges to your network.
In case you don’t see this .txt file, initiate step 2 again. Ensure the USB flash drive is inserted substantially longer than 30 seconds.
2. Check if the bridge can connect to the Sensorfact Platform, following these instructions.