Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - girlaldo

Pages: [1] 2
1
Users / Re: EIB/KNX configuration
« on: January 04, 2017, 05:51:20 pm »
here is what happens

aldo@dcerouter:~$ sudo /usr/bin/eibd --no-tunnel-client-queuing -D -T -R -S -i -u --eibaddr=0.0.1 --daemon=/var/log/eibd.log ipt:192.168.80.137
aldo@dcerouter:~$ ps -ax | grep eib -i
16822 ?        Ss     0:00 /usr/bin/SCREEN -d -m -S KNX_via_eibd36 /usr/pluto/bin/Spawn_Device.sh 36 localhost EIB
16830 pts/25   Ss+    0:00 /bin/bash /usr/pluto/bin/Spawn_Device.sh 36 localhost EIB
30050 pts/4    S+     0:00 grep --color=auto eib -i
aldo@dcerouter:~$ cat /var/log/syslog | grep eibd]
Jan  4 17:37:03 dcerouter kernel: [ 1295.081957] eibd[29901]: segfault at bf1c2ffc ip b770eac3 sp bf1c3000 error 6 in libpthsem.so.20.0.28[b770c000+11000]

I try to reinstall the entire vm again

2
Users / Re: EIB/KNX configuration
« on: January 04, 2017, 11:52:53 am »
Happy new year all,
I'm back again with my problems.
I do not know if after trying to configure my EIB/KNX interface of the new vm or after an autoremove, I got millions of log messages like those that I finally posted.
So I went back to the earlier lmce vbox vm that gave me the message segmentation fault when installing lmce-eib-eibd and without trying to add the 2195 profile I checked if eibd was running and I got this:

aldo@dcerouter:~$ ps ax | grep eib -i                                                                         
 5646 pts/25   Sl+    0:00 /usr/pluto/bin/EIB -d 36 -r localhost -l /var/log/pluto/36_EIB.log
 6091 pts/0    S+     0:00 grep --color=auto eib -i
19021 ?        Ss     0:00 /usr/bin/SCREEN -d -m -S KNX_via_eibd36 /usr/pluto/bin/Spawn_Device.sh 36 localhost EIB
19024 pts/25   Ss+    0:00 /bin/bash /usr/pluto/bin/Spawn_Device.sh 36 localhost EIB

looking at it my questions are:
is the eibd running ok?
If yes, how can I check it by the web admin interface?
And how can I test it switching one light on/of
And how can I configure lmce so that I can access my EIB/KNX from both lmce and ETS4 at the same time?
Thank you so much


3
Users / Re: EIB/KNX configuration
« on: December 30, 2016, 04:09:52 pm »
GOOD NEWS:
I did the installation again starting from LMCE-1404-20161119175532-i386.iso and I realized that probably I didn't fill in the right place the 2195 core profile. In fact it isn't immediately so clear where to put it (at least for a newbie).
So I finally I managed to get the eibd running.
But new problems are coming. here they are
What are they?
========== NEW LOG SECTION ==========
1   12/30/16 14:41:48   40 (spawning-device)   Starting... 24
1   12/30/16 14:41:48   40 (spawning-device)   Found /usr/pluto/bin/EIB
10   12/30/16 14:41:48.366      Device: 40 starting.  Connecting to: localhost <0xb7265700>
10   12/30/16 14:41:48.366      Getting Config and Connect <0xb7265700>
10   12/30/16 14:41:48.368      Setting timeout for socket 4 to 20 <0xb7265700>
10   12/30/16 14:41:48.444      EIB GetConfig done <0xb7265700>
10   12/30/16 14:41:48.444      EIB populating <0xb7265700>
10   12/30/16 14:41:48.444        EIB populating done <0xb7265700>
10   12/30/16 14:41:48.444      EIB threadspawning done <0xb7265700>
10   12/30/16 14:41:48.445        Config and Connect OK <0xb7265700>
10   12/30/16 14:41:48.445      Requesthandler 0x9f797c0 (device: 40) runThread now running <0xb6261b40>
21   12/30/16 14:41:48.445      lock(0x9f7990c) (>94) MessageQueue: Command_Impl.cpp:852  <0xb6a62b40>
21   12/30/16 14:41:48.445      acquired(0x9f7990c) #0 (>94) MessageQueue Command_Impl.cpp:852  <0xb6a62b40>
21   12/30/16 14:41:48.445      start cond wait Command_Impl.cpp:852 (0x9f7990c)  <0xb6a62b40>
10   12/30/16 14:41:48.445      starting listening thread <0xb7263b40>
10   12/30/16 14:41:48.445      regenerating the connection <0xb7263b40>
05   12/30/16 14:41:53.446        error while opening eibd port, error count: <0xb7263b40>
05   12/30/16 14:41:58.446        error while opening eibd port, error count: <0xb7263b40>
05   12/30/16 14:42:03.446        error while opening eibd port, error count: <0xb7263b40>
....

....

10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40>
10   12/30/16 15:08:55.741      regenerating the connection <0xb7291b40



4
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 11:54:18 pm »
I did the change of eibaddr to 0.0.1 but nothing changed as a result.
The eib address from ETS4 of my IP interface is 1.1.255 (if as eibaddr is meant the knx address of the IPS/S2.1 IP Interface,MDRC device that let me to connect to knx network with ETS4).
You have been so kind and you spent a lot of time trying helping me.
I'll buy you a coffee anyway and as last thing I 'd like you to do for me is to put a post reply when a new " lmce 14.04 i386 iso " file completed with eibd package will be ready and working.
Thank you so much

5
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 05:58:04 pm »
If I run it as root it doesn't reply nothing but the process does not run

aldo@dcerouter:~$ sudo /usr/bin/eibd --no-tunnel-client-queuing -D -T -R -S -i -u --eibaddr=1.1.255 --daemon=/var/log/eibd.log ipt:192.168.80.137
[sudo] password for aldo:
aldo@dcerouter:~$ ps -aux | grep eib
aldo     10347  0.0  0.0   4696  2040 pts/21   S+   17:52   0:00 grep --color=auto eib
aldo@dcerouter:~$ cat /var/log/eibd.log
cat: /var/log/eibd.log: No such file or directory
aldo@dcerouter:~$

anyway it is executable by anybody

aldo@dcerouter:~$ ls -al /usr/bin/eib*
-rwxr-xr-x 1 root root 397148 dic 11  2015 /usr/bin/eibd
-rwxr-xr-x 1 root root  38416 dic 11  2015 /usr/bin/eibnetdescribe
-rwxr-xr-x 1 root root  38420 dic 11  2015 /usr/bin/eibnetsearch


6
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 04:27:50 pm »
I can't understand why 224.0.23.12 should be searched inside my network.
Anyway I changed the routing table and I restarted eibd but the result was the same:
Segmentation fault

aldo@dcerouter:~$ sudo route delete 224.0.23.12 dev eth0
aldo@dcerouter:~$ sudo route add 224.0.23.12 dev eth1
aldo@dcerouter:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.0.2.2        0.0.0.0         UG    0      0        0 eth0
10.0.2.0        *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth1
192.168.80.0    *               255.255.255.0   U     0      0        0 eth1
224.0.23.12     *               255.255.255.255 UH    0      0        0 eth1
aldo@dcerouter:~$ /usr/bin/eibd --no-tunnel-client-queuing -D -T -R -S -i -u --eibaddr=1.1.255 --daemon=/var/log/eibd.log ipt:192.168.80.137
Segmentation fault

7
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 04:04:49 pm »
eth0 is connected to the external network where 224.0.23.12 is, while eth1 is connected to my internal network where the subnet 192.168.80.0 is.
I can't ping 224.0.23.12 but I think nobody can while I can ping google dns
aldo@dcerouter:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=63 time=115 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=63 time=56.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=63 time=55.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=63 time=53.3 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=63 time=54.3 ms

and I can ping my knx/ip device:
aldo@dcerouter:~$ ping 192.168.80.137
PING 192.168.80.137 (192.168.80.137) 56(84) bytes of data.
64 bytes from 192.168.80.137: icmp_seq=1 ttl=128 time=2.84 ms
64 bytes from 192.168.80.137: icmp_seq=2 ttl=128 time=1.75 ms
64 bytes from 192.168.80.137: icmp_seq=3 ttl=128 time=1.79 ms
64 bytes from 192.168.80.137: icmp_seq=4 ttl=128 time=1.70 ms
64 bytes from 192.168.80.137: icmp_seq=5 ttl=128 time=1.74 ms

here are the interfaces
aldo@dcerouter:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:9c:bb:97 
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:963527 errors:0 dropped:0 overruns:0 frame:0
          TX packets:530814 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:744585766 (744.5 MB)  TX bytes:80129911 (80.1 MB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:78:71:f1 
          inet addr:192.168.80.1  Bcast:192.168.80.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:522962 errors:0 dropped:0 overruns:0 frame:0
          TX packets:941368 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62990564 (62.9 MB)  TX bytes:1320045366 (1.3 GB

8
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 02:23:22 pm »
I always get Segmentation fault

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.0.2.2        0.0.0.0         UG    0      0        0 eth0
10.0.2.0        *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth1
192.168.80.0    *               255.255.255.0   U     0      0        0 eth1
224.0.23.12     *               255.255.255.255 UH    0      0        0 eth0
aldo@dcerouter:~$ /usr/bin/eibd -D -T -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.80.137
Segmentation fault
aldo@dcerouter:~$

9
Users / Re: EIB/KNX configuration
« on: December 29, 2016, 12:44:09 am »
ldo@dcerouter:~$ dpkg -l | grep eib
ii  eibd-client-sources                         0.0.5-1~lmce0~trusty1                                            all          Sources of the eibd client programs
ii  eibd-clients                                0.0.5-1~lmce0~trusty1                                            i386         eibd clients
ii  eibd-server                                 0.0.5-1~lmce0~trusty1                                            i386         eibd server
ii  libeibclient-dev                            0.0.5-1~lmce0~trusty1                                            i386         eibd client library
ii  libeibclient0                               0.0.5-1~lmce0~trusty1                                            i386         eibd client library
ii  lmce-eib-eibd                               2.0.0.47.15121131752                                             i386         <insert up to 60 chars description>

10
Users / Re: EIB/KNX configuration
« on: December 28, 2016, 03:18:45 pm »
lmce-eib-eibd                               2.0.0.47.15121131752                                             i386         <insert up to 60 chars description>

11
Users / Re: EIB/KNX configuration
« on: December 28, 2016, 01:27:52 pm »
If I remove lmce-eib-eibd even the postinst disappear
so I made the install without a previous remove with the postinst as follow
 
# start eibd daemon if not running, else restart
if pidof eibd > /dev/null; then
        service eibd restart ||:
else
        service eibd start ||:
fi

aldo@dcerouter:~$ sudo apt-get install lmce-eib-eibd                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lmce-eib-eibd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

after rebooting with rc.local as you wrote I checked

aldo@dcerouter:~$ ps -aux | grep eib
aldo      3221  0.0  0.0   4696  2028 pts/24   S+   13:01   0:00 grep --color=auto eib

then I gave the command as below and I got the the segmentation fault

aldo@dcerouter:~$ /usr/bin/eibd --no-tunnel-client-queuing -D -T -R -S -i -u --eibaddr=1.1.225 --daemon=/var/log/eibd.log ipt:192.168.80.137
Segmentation fault

thank you for your patientness

12
Users / Re: EIB/KNX configuration
« on: December 27, 2016, 04:38:37 pm »
I tried two installations: the one I am working on that was done on a vbox vm kubuntu 14.04 installed by the network process and another that I made as a vbox vm starting from scratch by LMCE-1404-20161119175532-i386.iso.
Both of them didn't have eibd pakages.
The network one didn't even had in the sources.list this record

http://deb.linuxmce.org/ubuntu/ trusty/unstable i386 Packages

By the way I managed, thanks to your help, in both cases to get this situation:

aldo@dcerouter:~$ sudo dpkg -l | grep eib
ii  eibd-client-sources                         0.0.5-1~lmce0~trusty1                                            all          Sources of the eibd client programs
ii  eibd-clients                                0.0.5-1~lmce0~trusty1                                            i386         eibd clients
ii  eibd-server                                 0.0.5-1~lmce0~trusty1                                            i386         eibd server
ii  libeibclient-dev                            0.0.5-1~lmce0~trusty1                                            i386         eibd client library
ii  libeibclient0                               0.0.5-1~lmce0~trusty1                                            i386         eibd client library

but installing lmce-eib-eibd
I always get the same error:

Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
Warning: The home dir /var/run/eib you specified already exists.
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libeibclient-dev (0.0.5-1~lmce0~trusty1) ...
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you show me your
etc/init/eibd.conf
if it exist. Do you think that I could try to edit it myself?
many thanks

PS I explained you my installation story because if I understand you can signal the situation to whom that prepare the iso files.
Do you?


 

13
Users / Re: EIB/KNX configuration
« on: December 27, 2016, 09:47:31 am »
Here is the paste after last installation:

aldo@dcerouter:~$ dpkg -l | grep eib
ii  libeibclient0                               0.0.5-1~lmce0~trusty1                                            i386         eibd client library
iF  lmce-eib-eibd                               2.0.0.47.15121131752                                             i386         <insert up to 60 chars description>

and nothing to paste after
sudo apt-get remove --purge libeibclient0
and
sudo apt-get autoremove

aldo@dcerouter:~$ dpkg -l | grep eib
aldo@dcerouter:~$

and since installation says

The system user `eib' already exists. Exiting.
eibd: unrecognized service

I also did

aldo@dcerouter:~$ sudo userdel eib
aldo@dcerouter:~$

and I made a new installation but still get:

Adding system user `eib' (UID 128) ...
Adding new user `eib' (UID 128) with group `nogroup' ...
Creating home directory `/var/run/eib' ...
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)

I thank you posde and I really appreciate very much your help





14
Users / Re: EIB/KNX configuration
« on: December 26, 2016, 06:50:48 pm »
Everything seems to be removed right?

aldo@dcerouter:~$ sudo apt-get remove --purge lmce-eib-eibd
[sudo] password for aldo:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libeibclient0 libmath-basecnv-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  lmce-eib-eibd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1.521 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198580 files and directories currently installed.)
Removing lmce-eib-eibd (2.0.0.47.15121131752) ...
aldo@dcerouter:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libeibclient0 libmath-basecnv-perl
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 155 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198575 files and directories currently installed.)
Removing libeibclient0 (0.0.5-1~lmce0~trusty1) ...
Removing libmath-basecnv-perl (1.8.B59BrZX-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1)

And that is what happen  when installing:

aldo@dcerouter:~$ sudo apt-get install lmce-eib-eibd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libeibclient0 libmath-basecnv-perl
The following NEW packages will be installed:
  libeibclient0 libmath-basecnv-perl lmce-eib-eibd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/404 kB of archives.
After this operation, 1.675 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  libeibclient0 lmce-eib-eibd
Authentication warning overridden.
Selecting previously unselected package libmath-basecnv-perl.
(Reading database ... 198567 files and directories currently installed.)
Preparing to unpack .../libmath-basecnv-perl_1.8.B59BrZX-1_all.deb ...
Unpacking libmath-basecnv-perl (1.8.B59BrZX-1) ...
Selecting previously unselected package libeibclient0.
Preparing to unpack .../libeibclient0_0.0.5-1~lmce0~trusty1_i386.deb ...
Unpacking libeibclient0 (0.0.5-1~lmce0~trusty1) ...
Selecting previously unselected package lmce-eib-eibd.
Preparing to unpack .../lmce-eib-eibd_2.0.0.47.15121131752_i386.deb ...
Leaving 'diversion of /usr/pluto/bin/EIB to /usr/pluto/bin/EIB.pluto-eib by lmce-eib-eibd'
Unpacking lmce-eib-eibd (2.0.0.47.15121131752) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libmath-basecnv-perl (1.8.B59BrZX-1) ...
Setting up libeibclient0 (0.0.5-1~lmce0~trusty1) ...
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
Warning: The home dir /var/run/eib you specified already exists.
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)

what is wrong with it?

15
Users / Re: EIB/KNX configuration
« on: December 26, 2016, 05:58:27 pm »
May be my /etc/apt/sources.list is not ready for the eibd package?
Here is the output of

aldo@dcerouter:~$ sudo apt-get install lmce-eib-eibd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libeibclient0 libmath-basecnv-perl
The following NEW packages will be installed:
  libeibclient0 libmath-basecnv-perl lmce-eib-eibd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/404 kB of archives.
After this operation, 1.675 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  libeibclient0 lmce-eib-eibd
Authentication warning overridden.
Selecting previously unselected package libmath-basecnv-perl.
(Reading database ... 198567 files and directories currently installed.)
Preparing to unpack .../libmath-basecnv-perl_1.8.B59BrZX-1_all.deb ...
Unpacking libmath-basecnv-perl (1.8.B59BrZX-1) ...
Selecting previously unselected package libeibclient0.
Preparing to unpack .../libeibclient0_0.0.5-1~lmce0~trusty1_i386.deb ...
Unpacking libeibclient0 (0.0.5-1~lmce0~trusty1) ...
Selecting previously unselected package lmce-eib-eibd.
Preparing to unpack .../lmce-eib-eibd_2.0.0.47.15121131752_i386.deb ...
Leaving 'diversion of /usr/pluto/bin/EIB to /usr/pluto/bin/EIB.pluto-eib by lmce-eib-eibd'
Unpacking lmce-eib-eibd (2.0.0.47.15121131752) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libmath-basecnv-perl (1.8.B59BrZX-1) ...
Setting up libeibclient0 (0.0.5-1~lmce0~trusty1) ...
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
Warning: The home dir /var/run/eib you specified already exists.
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1

what shall I do? please!
thanks


Pages: [1] 2