GW-UNI-01
User Manual
© 2016 IQ HOME Kft.
www.iqhome.org
13 / 21
3
Daemon configuration
The unid operation is based on of the daemon configuration file at
/etc/unid/unid.conf.
To modify
the configuration file login to the gateway via SSH or serial console and open the daemon
configuration file with a text editor
.
$ sudo nano /etc/unid/unid.conf
3.1
System configuration [system]
# network interface
netiface = eth0
The network interface parameter is important to determine the main interface MAC address of the
gateway.
# netbios daemon
netbios = true
The NetBIOS name is created from the last 4 digits of Raspberry Pi B+ MAC address i.e.:
GW-UNI-01-CAFE
.
When IDE port is enabled NetBIOS service starts automatically!
# logfile path
# for use default log path leave it blank
# it is useful if you use read only file system
# or mounted external drives
logpath =
Caution!
The default log path is /tmp/unid.log for decrease SD card write cycles to avoid early damage in the
development phase. Set non-volatile log path in production is highly recommended!
# daemon log level
# 0: warn/error
# 1: info
# 2: debug
# 3: trace
loglevel = 0
The
loglevel
determines what kind of information should be logged. For the simpler development
you can run the daemon directly from command line. If
loglevel
set to debug or trace most of the
daemon processing information can be observed in real time.