Menu

Trouble starting linknx (tutorial maybe?)

Help
Bart Demol
2012-03-06
2012-12-14
  • Bart Demol

    Bart Demol - 2012-03-06

    Hi,

    I've completed my knx setup at home and everything is working adequate via room controllers.
    I would now like to setup a eibd/linknx/knxweb project on an old ubuntu machine.

    I have a schneider eib ip router which works great with ETS4 but I cannot get it to work with linknx
    I have followed the installation guides for linknx and eibd but linknx wont start

    I get a Failed to open knxConnection url.
    Does that url need to change to the ip of my eib router or at localhost?

    I started the eib deamon via this command eib -d -D -S -T -i ipt:192.168.1.6 but it seems to return immediately

    Is there a guide in some form available? I'm following a french one but I seem to be stuck

    Also, exporting group adresses via ETS4 does not give me the 1/3 option. There does not seem to be a 'middle'

     
  • Anthony

    Anthony - 2012-03-06

    Hi,

    > I started the eib deamon via this command eib -d -D -S -T -i ipt:192.168.1.6 but it seems to return immediately
    you forgot the "d" of "eibd" : eibd -d -D -S -T -i ipt:192.168.1.6
    it start eibd in dameon then "does not block the terminal"

    i suppose the ip : 192.168.1.6 is your eib ip router
    did you make a test with a groupswrite ?

    > Does that url need to change to the ip of my eib router or at localhost?
    in linknx.xml if linknx en eibd are on the same computer you must have :
    <config>
    <services>
    <knxconnection url="ip:127.0.0.1" />

    it's the ip of the computer where eibd is (here localhost = 127.0.0.1 if linknx and eibd on the same computer)

    Regards,
    Anthony.

     
  • Bart Demol

    Bart Demol - 2012-03-06

    my ubuntu machine has both eib and linknx installed (both latest version)

    i get "url not supported" when starting eibd
    i'm sensing i did something wrong when configuring bcusdk

     
  • Bart Demol

    Bart Demol - 2012-03-06

    some more info
    eibnetsearch 192.168.1.6
    Asking 192.168.1.6 at port 3671 from port 3672

    eibnetdescribe 192.168.1.6
    Asking 192.168.1.6 at port 3671 from port 3672
    Medium: 2
    State: 0
    Addr: 1.1.0
    InstallID: 0
    Serial: 00 C5 07 03 17 56
    Multicast-Addr: 224.0.23.12
    MAC: 00 24 6D 00 1C EE
    Name: ip-router
    Optional:
    Service 2 Version 1
    Service 3 Version 1
    Service 4 Version 1
    Service 5 Version 1

    it looks like the latest version of bcusk does not support ip?

     
  • Othmar

    Othmar - 2012-03-06

    it looks like the latest version of bcusk does not support ip?

    No, that's not the point for sure. The latest version is 0.0.5 and supports IP for sure. Well, it depends on how you compiled it. I use "-enable-onlyeibd -enable-eibnetip -enable-eibnetiptunnel -enable-eibnetipserver"

    You obviously have a problem with eibd and it's of no use to deal with linknx before eibd is up and running. Only eibd talks to the bus over the IP router and linknx just talks to the eibd daemon as explained by Anthony.
    I'm no expert regarding KNX devices but you try to build a tunnel connection over your IP router. Is that really supported by your device? It possibly should but then I cannot help. You may just try to use it using the multicast address by ip:224.0.23.12 in your command.

    Regards, Othmar

     
  • Bart Demol

    Bart Demol - 2012-03-08

    I started from 0 ant used the launchpad ppa and it was working fine.
    I could control lights from terminal and with linknx.

    Now I installed an apache server and wanted to start eibd and I get
    "Initilisation of the backend failed"

    When testing in ETS my ip router returns this
    "the tunneling server is available in general but does not accept more connections at time"

    I've already done a reboot of my router and cut the power to the knx ip router.
    Still the same

     
  • Bart Demol

    Bart Demol - 2012-03-08

    Apparently a bad eibd call can cause this.
    rebooted the server and it worked again

    got it all working now

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.