Article for advanced users

Information on this page is intended for users with advanced technical knowledge.

Configuring the Treon Gateway

Dec 1, 2022 · 3 minutes to read

Treon Gateway

Starting the configuration process

  1. Press the configuration button (F) until the status light (A) starts blinking. The Gateway becomes a Wi-Fi access point.
  2. Using your phone, computer, or tablet, connect to the access point: select treongw1-serialnumber, where serialnumber is the serial number of your Gateway.
  3. Enter your password. It has been provided separately with the Gateway. Windows 10 may ask for a pin code as a primary access point password. Please use the “password” option instead. Remember to change the password later.
  4. Open the browser on your phone or computer and go to address 192.168.0.1.
  5. Make the needed configurations. You can, for example, change the gateway access point password, check the error log, and set up a Wi-Fi connection.
  6. To exit the configuration mode, select Quit, or press and hold the configuration button (F) until the status light stops blinking.

Connecting to the Gateway

The easiest way to connect to the Gateway is to use the configuration mode. Connect your computer to the Gateway’s Wi-Fi access point network using the Wi-Fi access point password. Other method is to connect the Gateway to the same LAN with your computer using an ethernet cable or a Wi-Fi connection.

In most cases the SSH works with the name of the Gateway. Open your command prompt and type:

ssh gwadmin@treongw1-serialnumber.local

Replace the serialnumber with your Gateway’s ID. If the connection works, the system will ask for a password. Type in the provided gwadmin password.

Type

sudo -i

on the command prompt to gain root privileges. Then you will be able to modify the configuration files. Only use the root privileges when necessary and do not modify or delete any configuration files except the ones stated in this guide.

You are now successfully logged in using SSH. You can log out with the command ‘exit’.

If the above does not work, you have to obtain the Gateway’s IP address. When you use a computer, you will need an utility program to listen to the mDNS broadcasts on a network. In Windows 10 you can use dns-sd from Apple print services (Bonjour).

Open your command prompt and type

dns-sd -B _ssh._tcp

This command lists all available devices that support SSH in this network. Look for the correct device from the list. Use Ctrl + C buttons to return if needed.

Type in

dns-sd -G4 v4 treongw1-serialnumber.local

and replace the serialnumber with your Gateway’s ID. This command returns the Gateway’s IP address. Use Ctrl + C buttons to return if needed.

Type in

ssh gwadmin@ip

and replace ‘ip’ with your Gateway’s IP address obtained above.

If the connection works, the system will ask for a password. Type in the provided gwadmin password.

Type

sudo -i

on the command prompt to gain root privileges. Then you will be able to modify configuration files. Only use the root privileges when necessary and do not modify or delete any configuration files except the ones stated in this guide.

You are now successfully logged in using SSH. You can log out with the command ‘exit’.

After a successful login you can move to the next phase.

   


Was this article helpful? Let us know.
Next
Previous