Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:hw:025-gate:01-first-steps:regular-mode-hidden [2021/01/25 13:06]
avsetula created
en:hw:025-gate:01-first-steps:regular-mode-hidden [2023/07/24 07:34] (current)
avsetula
Line 1: Line 1:
 ====== Regular mode ====== ====== Regular mode ======
-The regular mode of the device'​s startup. Both the programming and user interfaces in Node-RED are available. The device enters this mode for several seconds after plugging in the power supply. The mode is physically indicated by PWR LED continuous emitting and ACT LED emitting with short flashes ([[en:​hw:​025-gate:​led-indication#​regular_mode|demonstration here]]). ​+The regular mode of the device'​s startup. Both the programming and user interfaces in Node-RED are available. The device enters this mode for several seconds after plugging in the power supply. The mode is physically indicated by PWR LED continuous emitting and ACT LED emitting with short flashes ([[en:​hw:​025-gate:​led-indication#​pwr_is_on_act_is_on_with_short_blinks|demonstration ​here]] / [[en:​hw:​025-gate:​led-indication#​regular_mode|startup simulator ​here]]). ​
  
-===== mDNS log ===== 
-The **mDNS** log  (multicast DNS) is published, serving for assignment of the device'​s name to an IP address. 
  
-Simply put, you do not need to know the device'​s IP address when connecting to it only its name is required. In case of Unipi Gate, the name consists of a combination of the model name and serial number divided by a hyphen, ie. **model-serialnumber**. Both can be found on the device'​s manufacturer sticker. ​+{{page>​mdns-hidden}}
  
-<​html><​span class="​kbBlueText">​Examples of use:</​span></​html>​ \\ 
-This "​raw"​ format is, among other applications,​ useful for SSH connection via [[en:​files:​software:​tools:​putty-hidden|the PuTTY program]]. 
- 
-<​code>​g100-sn1</​code>​ 
- 
-In order to connect to the Node-RED user interface (so-called dashboard) through a web browser, you need to complement this mDNS format by adding the **http** prefix, ie:  
- 
-<​code>​http://​g100-sn1</​code>​ 
  
 ===== First connection of the device ===== ===== First connection of the device =====
  
-Unipi Gate device can be powered by [[https://​www.unipi.technology/​power-supplies-c15|6-36VDC power supply]]. To access the Node-RED interface you need to connect to the device via a web browser, using a computer or tablet. ​+Unipi Gate device can be powered by [[https://​www.unipi.technology/​power-supplies-c15|9-30 V⎓ power supply]]. To access the Node-RED interface you need to connect to the device via a web browser, using a computer or tablet. ​
  
 <WRAP center round info 95%> <WRAP center round info 95%>
 **Note:** \\ **Note:** \\
-Unipi Gate feature interfaces ​marked as **eth0** (100Mbit) and **eth1** (1Gbit). By default, these interfaces act as a two-port ​network ​switch. As such, it does not matter which port is used to connect the controller ​to a local network. In the regular mode, MAC address is assigned for each port individually.+Unipi Gate has an interface ​marked as **eth0** (100Mbit) and **eth1** (1Gbit). By default, these interfaces ​are connected to the **br0** network bridge and act as a two-port switch. The MAC address for **br0** is taken from the **eth0** interface. As such, it does not matter which port is used to connect the device ​to a local network. In the regular mode, MAC address is assigned for each port individually.
 </​WRAP>​ </​WRAP>​
  
Line 33: Line 23:
 Despite its rather complicated name, this approach is simple and the most frequent connection method. All you need to do is to connect Unipi Gate to a computer network via ethernet cable, and then connect a computer or tablet to the same network (using either Ethernet or Wi-Fi). The network'​s DHCP server (router or Wi-Fi router) will then automatically provided both devices with an IP address from the available address range. ​ Despite its rather complicated name, this approach is simple and the most frequent connection method. All you need to do is to connect Unipi Gate to a computer network via ethernet cable, and then connect a computer or tablet to the same network (using either Ethernet or Wi-Fi). The network'​s DHCP server (router or Wi-Fi router) will then automatically provided both devices with an IP address from the available address range. ​
  
-Unipi Gate's IP address can be obtained either from the DHCP server, or by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_log|mDNS log]] will suffice.**+Unipi Gate's IP address can be obtained either from the DHCP server, or by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_record|mDNS record]] will suffice.**
 ;#; ;#;
 //The used IP addresses are samples.// //The used IP addresses are samples.//
Line 40: Line 30:
  
 ==== Direct connection ==== ==== Direct connection ====
-This method requires a physical link between the computer and the controller ​via Ethernet cable. As this solution does not include a DHCP server, both the computer and the controller ​are assigned with a random IP address from the range of 169.254.XXX.XXX.+This method requires a physical link between the computer and the Unipi Gate device ​via Ethernet cable. As this solution does not include a DHCP server, both the computer and the Unipi Gate are assigned with a random IP address from the range of 169.254.XXX.XXX.
  
-The Unipi Gate device'​s IP address can be obtained by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_log|mDNS log]] will suffice.**+The Unipi Gate device'​s IP address can be obtained by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_record|mDNS record]] will suffice.**
  
 ;#; ;#;
Line 54: Line 44:
 Start by connecting the Unipi Gate device into the router'​s free port via Ethernet cable. Use a second Ethernet cable to connect your computer to the second port on Unipi Gate. As both Unipi Gate's ports act as a network switch (or a patch cord), both devices are connected to the same network and will be assigned IP addresses automatically by a DHCP server, using the available IP address range. ​ Start by connecting the Unipi Gate device into the router'​s free port via Ethernet cable. Use a second Ethernet cable to connect your computer to the second port on Unipi Gate. As both Unipi Gate's ports act as a network switch (or a patch cord), both devices are connected to the same network and will be assigned IP addresses automatically by a DHCP server, using the available IP address range. ​
  
-The Unipi Gate device'​s IP address can be obtained by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_log|mDNS log]] will suffice.**+The Unipi Gate device'​s IP address can be obtained by using a suitable network scan program (such as [[en:​files:​software:​tools:​advanced-ip-scan-hidden|Advanced IP Scanner]]). **In most cases, however, the [[#mdns_record|mDNS record]] will suffice.**
  
 ;#; ;#;