Difference between revisions of "QuickStart"

From IPLOG
Jump to: navigation, search
Line 12: Line 12:
  
  
// Show parameters of /etc/network/interfaces //
+
root@buildroot:~# ifconfig
 +
eth0      Link encap:Ethernet  HWaddr 00:23:36:44:00:06
 +
          inet addr:192.168.6.48  Bcast:192.168.6.255  Mask:255.255.255.0
 +
          inet6 addr: fe80::223:36ff:fe44:6/64 Scope:Link
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          RX packets:1089 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:1000
 +
          RX bytes:125207 (122.2 KiB)  TX bytes:63222 (61.7 KiB)
 +
          Interrupt:45 Base address:0xc000
 +
 
 +
eth0:0    Link encap:Ethernet  HWaddr 00:23:36:44:00:06
 +
          inet addr:10.68.0.6  Bcast:10.255.255.255  Mask:255.0.0.0
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          Interrupt:45 Base address:0xc000
 +
 
 +
lo        Link encap:Local Loopback
 +
          inet addr:127.0.0.1  Mask:255.0.0.0
 +
          inet6 addr: ::1/128 Scope:Host
 +
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
 +
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +
          collisions:0 txqueuelen:1
 +
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +
 
  
  

Revision as of 10:34, 25 April 2018

This document explains how to start using IPLOG-GAMA.

TCP connection

DHCP (Dynamic Host Configuration Protocol)

During the system booting or ethernet cable connections, IPLOG sends DHCP request to the server, if DHCP server dynamically assigned an IP address and other network configuration parameters then IPLOG is available on the TCP parameters of your network.

Static IP address

In the case, DHCP is not available the unit interface is set to TCP parameters of the case (IP address 10.x.x.x, mask 255.0.0.0).

  • DHCP and Static IP address services are available at the same time.


root@buildroot:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:23:36:44:00:06

         inet addr:192.168.6.48  Bcast:192.168.6.255  Mask:255.255.255.0
         inet6 addr: fe80::223:36ff:fe44:6/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1089 errors:0 dropped:0 overruns:0 frame:0
         TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:125207 (122.2 KiB)  TX bytes:63222 (61.7 KiB)
         Interrupt:45 Base address:0xc000

eth0:0 Link encap:Ethernet HWaddr 00:23:36:44:00:06

         inet addr:10.68.0.6  Bcast:10.255.255.255  Mask:255.0.0.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         Interrupt:45 Base address:0xc000

lo Link encap:Local Loopback

         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Recommendation 1. Connect an ethernet cable to the ethernet port on the unit 2. Connect power (10-60VDC) 3. Wait 15 seconds (TBC) 4. Set your computer to the same IP range as IPLOG is (assigned by DHCP server or please check the static address on the case of the IPLOG). For communication via static IP address, for example, set your computer interface as 10.0.0.10/255.0.0.0


Communication

SSH

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network

  • Download some program supported SSH, for example, PuTTY
  • Run PuTTY and enter username "root" (password is not needed)

BASH

  • configure LAN interfaces (IP, DNS...) and other IOs (for example ranges at alarm loops, output ranges at analogue outputs 0-10V )
  • monitoring of LAN interfaces and other IOs
  • writing of scripts
  • download and install Linux packages (thanks to Linux, we have the first working application sending emails via Gmail)


METEL IEC 61161-3 IDE (Programming)

Is an advanced tool for automation/control tasks:

- programming of automatic action (EM) - advanced control and automation tasks - debug configured automation / EM tasks