Ankündigung

Einklappen
Keine Ankündigung bisher.

[mmh] Konfiguration Squeezebox - xPL

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    [mmh] Konfiguration Squeezebox - xPL

    Hallo Zusammen,

    nach dem Kurs bei Mike bin ich nun dabei das gelernte umzusetzen.

    Bei der Squeezerbox Anbindung komme ich aber nicht weiter, was m.E. aber nicht wirklich etwas mit mmh zu tun hat, sondern mit der Squeezerbox.

    Die Squeezerbox läuft bei mir auf einem Linuxsystem. Das Ding hat 4 Netzwerkkarten. eth0 ist die 192.168.157.1

    Mein internes LAN läuft auf eth2 192.168.9.11

    Es scheint nun so zu sein, dass die Squeezerbox die xPL Infos an die eth0 schiebt. Damit bekommt der mmh Dienst nichts davon mit.

    Habt Ihr eine Idee wie dies ggf.. umgestellt werden kann.

    Das hustet der Squeezerboxserver raus:

    hbeat.app
    {
    interval=5
    port=50000
    remote-ip=192.168.157.1
    schema=audio.slimserv
    status=stopped
    }
    ]
    [09-10-13 11:46:50.5262] Slim::Plugin::xPL::Plugin::sendxplmsg (408) Sending [xpl-stat
    {
    hop=1
    source=slimdev-slimserv.Bad
    target=*
    }
    hbeat.app
    {
    interval=5
    port=50000
    remote-ip=192.168.157.1
    schema=audio.slimserv
    status=stopped
    }
    ]
    [09-10-13 11:46:50.5267] Slim::Plugin::xPL::Plugin::sendxplmsg (408) Sending [xpl-stat
    {
    hop=1
    source=slimdev-slimserv.SqueezePlay
    target=*
    }
    hbeat.app
    {
    interval=5
    port=50000
    remote-ip=192.168.157.1
    schema=audio.slimserv
    status=stopped
    }
    ]

    Gruß Hartwig
    Gruß Hartwig

    #2
    Hallo Hartwig,

    mir ist leider keine Methode bekannt, mit der man dem xPL-Plugin mitteilen könnte, welches Interface es benutzen soll.

    Ich vermute, Du hast bisher keinen xPL-Hub auf dem Linux-System installiert, richtig?

    In diesem Falle würde ich Dir einen Besuch bei xPL4Linux - Tools and frameworks for Linux empfehlen. Dort kannst Du Dir entweder einen fertig kompilierten xPL-Hub oder die Sourcen der xPLLib (in der ebenfalls ein Hub steckt) herunterladen.
    Dem Hub sagst Du dann mit dem Argument '-interface eth2', daß er eth2 benutzen soll und dann sollte eigentlich alles funktionieren.
    Gruß

    Sascha

    Kommentar


      #3
      Hallo Sascha,

      den xPLHub hatte ich bereits installiert, allerdings nicht mit der option -interface eth2 gestartet.

      Dies habe ich nun gemacht, allerdings nach wie vor ohne Erfolg!

      ich habe nun auch noch mal den Debug aktiviert. Theoretisch sollte das Ding nun auf der richtigen Adresse sein.

      Wenn ich aber am mmh-client eine xPL Kommando absetze passiert nach wie vor nichts. Auch der Debug des Hubs zeigt nichts an.

      hier mal die Logs:
      mah-fs1:/usr/local/bin # xPL_Hub -debug -xpldebug -nodaemon -interface eth2
      09/10/13 18:05:42 DEBUG: Debuging mode enabled
      09/10/13 18:05:42 INFO: Running on console
      09/10/13 18:05:42 xPL_DEBUG: Auto-assigning IP address of 192.168.9.11
      09/10/13 18:05:42 xPL_DEBUG: Assigned xPL Broadcast address of 192.168.9.255, port 3865
      09/10/13 18:05:42 xPL_DEBUG: Attemping standalone xPL
      09/10/13 18:05:42 xPL_DEBUG: Initial receive socket buffer size is 122880 bytes
      09/10/13 18:05:42 xPL_DEBUG: Actual receive socket buffer size is 262142 bytes
      09/10/13 18:05:42 xPL_DEBUG: xPL Started in standalone mode
      09/10/13 18:05:42 xPL_DEBUG: Added managed IO device, now 1 devices
      09/10/13 18:05:42 xPL_DEBUG: xPLLib started
      09/10/13 18:05:42 xPL_DEBUG: There are 35090 local network addresses on this system
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99a8 (LEN=9)
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [127.0.0.1] (9 bytes)
      09/10/13 18:05:42 xPL_DEBUG: Found 127.0.0.1
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99b8 (LEN=9)
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [127.0.0.2] (9 bytes)
      09/10/13 18:05:42 xPL_DEBUG: Found 127.0.0.2
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99c8 (LEN=12)
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [192.168.9.11] (12 bytes)
      09/10/13 18:05:42 xPL_DEBUG: Found 192.168.9.11
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99e0 (LEN=13)
      09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [192.168.157.1] (13 bytes)
      09/10/13 18:05:42 xPL_DEBUG: Found 192.168.157.1
      09/10/13 18:05:42 INFO: xPL Hub now running
      09/10/13 18:06:42 xPL_DEBUG: Checking for client timeouts...
      09/10/13 18:07:42 xPL_DEBUG: Checking for client timeouts...



      mmh
      18:06:51.456 - xPL:command: ´COMMAND=STOP´(audio.slimserv) [slimdev-slimserv.Arbeitszimmer]

      TCPdump beim starten/stoppen via Logitech Controller

      mah-fs1:/usr/local/bin # tcpdump -i eth2|grep slim |grep 192.168.9.11
      tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
      listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
      18:12:56.466550 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 2900949112:2900949173(61) ack 545729943 win 3000
      18:12:56.466594 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 61 win 6432
      18:12:57.147235 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 2963195885:2963195886(1) ack 542981259 win 3000
      18:12:57.147259 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 1 win 5840
      18:12:57.226031 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 370181544:370181545(1) ack 1287202986 win 3000
      18:12:57.226055 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 1 win 5840
      18:12:57.466464 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 61:122(61) ack 1 win 3000
      18:12:57.466487 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 122 win 6432
      18:12:58.466447 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 122:183(61) ack 1 win 3000
      18:12:58.466470 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 183 win 6432
      18:12:59.213937 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 0:1(1) ack 1 win 3000
      18:12:59.213961 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 1 win 5840
      18:12:59.234027 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 0:1(1) ack 1 win 3000
      18:12:59.234047 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 1 win 5840
      18:12:59.466470 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 183:244(61) ack 1 win 3000
      18:12:59.466498 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 244 win 6432
      18:13:00.004042 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 1:31(30) ack 244 win 6432
      18:13:00.004118 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: P 1:31(30) ack 1 win 5840
      18:13:00.004179 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: P 1:31(30) ack 1 win 5840
      18:13:00.004243 IP 192.168.9.11.slim-devices > 192.168.9.145.42683: P 589998773:589998803(30) ack 991592292 win 108 <nop,nop,timestamp 262119412 5040736>
      18:13:00.004682 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 244:305(61) ack 31 win 3000
      18:13:00.004713 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 305 win 6432
      18:13:00.005115 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 305:366(61) ack 31 win 3000
      18:13:00.005143 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 366 win 6432
      18:13:00.013401 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 1:62(61) ack 31 win 3000
      18:13:00.013442 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 62 win 5840
      18:13:00.016792 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 62:123(61) ack 31 win 3000
      18:13:00.016812 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 123 win 5840
      18:13:00.017330 IP 192.168.9.145.42683 > 192.168.9.11.slim-devices: . ack 30 win 2920 <nop,nop,timestamp 5041698 262119412>
      18:13:00.064836 IP 192.168.9.145.42683 > 192.168.9.11.slim-devices: P 1:60(59) ack 30 win 2920 <nop,nop,timestamp 5041707 262119412>
      18:13:00.064859 IP 192.168.9.11.slim-devices > 192.168.9.145.42683: . ack 60 win 108 <nop,nop,timestamp 262119427 5041707>
      18:13:00.074829 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 1:62(61) ack 31 win 3000
      18:13:00.074858 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 62 win 5840
      18:13:00.077991 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 62:123(61) ack 31 win 3000
      18:13:00.078020 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 123 win 5840
      18:13:00.466461 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 366:427(61) ack 31 win 3000
      18:13:00.466492 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 427 win 6432
      18:13:01.371276 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 31:59(28) ack 427 win 6432
      18:13:01.371963 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 427:488(61) ack 59 win 3000
      18:13:01.372007 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 488 win 6432
      18:13:01.424085 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 59:87(28) ack 488 win 6432
      18:13:01.424739 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 488:549(61) ack 87 win 3000
      18:13:01.424768 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 549 win 6432
      18:13:01.466433 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 549:610(61) ack 87 win 3000
      18:13:01.466460 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 610 win 6432
      18:13:01.476093 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 87:115(28) ack 610 win 6432
      18:13:01.476776 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 610:671(61) ack 115 win 3000
      18:13:01.515871 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 671 win 6432
      18:13:01.528014 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 115:143(28) ack 671 win 6432
      18:13:01.528655 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 671:732(61) ack 143 win 3000
      18:13:01.534712 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 732 win 6432
      18:13:01.580088 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 143:171(28) ack 732 win 6432
      18:13:01.580881 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 732:793(61) ack 171 win 3000
      18:13:01.581137 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 793 win 6432
      18:13:01.632076 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 171:199(28) ack 793 win 6432
      18:13:01.632764 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 793:854(61) ack 199 win 3000
      18:13:01.633031 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 854 win 6432
      18:13:01.687490 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 199:227(28) ack 854 win 6432
      18:13:01.687623 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 227:243(16) ack 854 win 6432
      18:13:01.687717 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 243:273(30) ack 854 win 6432
      18:13:01.688253 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 854:915(61) ack 227 win 3000
      18:13:01.688607 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 915 win 6432
      18:13:01.689547 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 915:976(61) ack 273 win 3000
      18:13:01.689802 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 976 win 6432
      18:13:01.689967 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 976:1037(61) ack 273 win 3000
      18:13:01.690451 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1037 win 6432
      18:13:02.033029 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 122:123(1) ack 31 win 3000
      18:13:02.033051 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 123 win 5840
      18:13:02.145714 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 122:123(1) ack 31 win 3000
      18:13:02.145736 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 123 win 5840
      18:13:03.690084 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1036:1037(1) ack 273 win 3000
      18:13:03.690106 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1037 win 6432
      18:13:04.033018 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 122:123(1) ack 31 win 3000
      18:13:04.033045 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 123 win 5840
      18:13:04.214277 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 122:123(1) ack 31 win 3000
      18:13:04.214312 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 123 win 5840
      18:13:05.004241 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 273:303(30) ack 1037 win 6432
      18:13:05.004355 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: P 31:61(30) ack 123 win 5840
      18:13:05.004437 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: P 31:61(30) ack 123 win 5840
      18:13:05.004520 IP 192.168.9.11.slim-devices > 192.168.9.145.42683: P 30:60(30) ack 60 win 108 <nop,nop,timestamp 262120662 5041707>
      18:13:05.004843 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1037:1098(61) ack 303 win 3000
      18:13:05.004872 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1098 win 6432
      18:13:05.005242 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1098:1159(61) ack 303 win 3000
      18:13:05.005270 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1159 win 6432
      18:13:05.006375 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 123:184(61) ack 61 win 3000
      18:13:05.006413 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 184 win 5840
      18:13:05.006868 IP 192.168.9.143.44429 > 192.168.9.11.slim-devices: P 184:245(61) ack 61 win 3000
      18:13:05.006900 IP 192.168.9.11.slim-devices > 192.168.9.143.44429: . ack 245 win 5840
      18:13:05.010674 IP 192.168.9.145.42683 > 192.168.9.11.slim-devices: . ack 60 win 2920 <nop,nop,timestamp 5042697 262120662>
      18:13:05.059035 IP 192.168.9.145.42683 > 192.168.9.11.slim-devices: P 60:119(59) ack 60 win 2920 <nop,nop,timestamp 5042706 262120662>
      18:13:05.059060 IP 192.168.9.11.slim-devices > 192.168.9.145.42683: . ack 119 win 108 <nop,nop,timestamp 262120675 5042706>
      18:13:05.075069 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 123:184(61) ack 61 win 3000
      18:13:05.075093 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 184 win 5840
      18:13:05.078030 IP 192.168.30.148.43628 > 192.168.9.11.slim-devices: P 184:245(61) ack 61 win 3000
      18:13:05.078062 IP 192.168.9.11.slim-devices > 192.168.30.148.43628: . ack 245 win 5840
      18:13:05.647355 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 303:331(28) ack 1159 win 6432
      18:13:05.647465 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 331:347(16) ack 1159 win 6432
      18:13:05.647555 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 347:377(30) ack 1159 win 6432
      18:13:05.648001 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1159:1220(61) ack 331 win 3000
      18:13:05.648043 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 377:405(28) ack 1220 win 6432
      18:13:05.649173 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1220:1281(61) ack 377 win 3000
      18:13:05.649568 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1281:1342(61) ack 377 win 3000
      18:13:05.650213 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1342:1403(61) ack 405 win 3000
      18:13:05.654287 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1403 win 6432
      18:13:05.700077 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 405:433(28) ack 1403 win 6432
      18:13:05.700834 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1403:1464(61) ack 433 win 3000
      18:13:05.739865 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1464 win 6432
      18:13:05.752082 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 433:461(28) ack 1464 win 6432
      18:13:05.752762 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1464:1525(61) ack 461 win 3000
      18:13:05.752790 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1525 win 6432
      18:13:05.804105 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 461:489(28) ack 1525 win 6432
      18:13:05.804760 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1525:1586(61) ack 489 win 3000
      18:13:05.805016 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1586 win 6432
      18:13:05.856057 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 489:517(28) ack 1586 win 6432
      18:13:05.856740 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1586:1647(61) ack 517 win 3000
      18:13:05.857002 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1647 win 6432
      18:13:05.908043 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 517:545(28) ack 1647 win 6432
      18:13:05.908688 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1647:1708(61) ack 545 win 3000
      18:13:05.908940 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1708 win 6432
      18:13:05.960094 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 545:573(28) ack 1708 win 6432
      18:13:05.960778 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1708:1769(61) ack 573 win 3000
      18:13:05.968823 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1769 win 6432
      18:13:06.012072 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: P 573:601(28) ack 1769 win 6432
      18:13:06.012716 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1769:1830(61) ack 601 win 3000
      18:13:06.012957 IP 192.168.9.11.slim-devices > 192.168.9.141.18166: . ack 1830 win 6432
      18:13:06.466423 IP 192.168.9.141.18166 > 192.168.9.11.slim-devices: P 1830:1891(61) ack 601 win 3000
      ^C828 packets captured
      831 packets received by filter
      0 packets dropped by kernel


      Der Dump auf die Adresse 192.168.9.83 (macmyhome) bringt beim senden an das Device keinen Eintrag

      leidiglich der folgenden Eintrag schlägt zyklisch auf:
      mah-fs1:/usr/local/bin # tcpdump -i eth2|grep slim|grep 192.168.9.83
      tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
      listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
      18:15:30.735830 IP 192.168.9.83.slim-devices > 255.255.255.255.slim-devices: UDP, length 16
      18:16:30.735887 IP 192.168.9.83.slim-devices > 255.255.255.255.slim-devices: UDP, length 16




      Ich hoffe, Du kannst damit das Problem erkennen.

      Gruß Hartwig
      Gruß Hartwig

      Kommentar


        #4
        Hallo Hartwig,

        so ganz steige ich durch die Logs nicht durch...
        Zitat von hartwigm Beitrag anzeigen
        mah-fs1:/usr/local/bin # xPL_Hub -debug -xpldebug -nodaemon -interface eth2
        09/10/13 18:05:42 DEBUG: Debuging mode enabled
        09/10/13 18:05:42 INFO: Running on console
        09/10/13 18:05:42 xPL_DEBUG: Auto-assigning IP address of 192.168.9.11
        09/10/13 18:05:42 xPL_DEBUG: Assigned xPL Broadcast address of 192.168.9.255, port 3865
        09/10/13 18:05:42 xPL_DEBUG: Attemping standalone xPL
        09/10/13 18:05:42 xPL_DEBUG: Initial receive socket buffer size is 122880 bytes
        09/10/13 18:05:42 xPL_DEBUG: Actual receive socket buffer size is 262142 bytes
        09/10/13 18:05:42 xPL_DEBUG: xPL Started in standalone mode
        09/10/13 18:05:42 xPL_DEBUG: Added managed IO device, now 1 devices
        09/10/13 18:05:42 xPL_DEBUG: xPLLib started
        09/10/13 18:05:42 xPL_DEBUG: There are 35090 local network addresses on this system
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99a8 (LEN=9)
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [127.0.0.1] (9 bytes)
        09/10/13 18:05:42 xPL_DEBUG: Found 127.0.0.1
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99b8 (LEN=9)
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [127.0.0.2] (9 bytes)
        09/10/13 18:05:42 xPL_DEBUG: Found 127.0.0.2
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99c8 (LEN=12)
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [192.168.9.11] (12 bytes)
        09/10/13 18:05:42 xPL_DEBUG: Found 192.168.9.11
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Cache Empty, Allocating entirely new string @ 0x80c99e0 (LEN=13)
        09/10/13 18:05:42 xPL_DEBUG: STORE:: Duped string [192.168.157.1] (13 bytes)
        09/10/13 18:05:42 xPL_DEBUG: Found 192.168.157.1
        09/10/13 18:05:42 INFO: xPL Hub now running
        09/10/13 18:06:42 xPL_DEBUG: Checking for client timeouts...
        09/10/13 18:07:42 xPL_DEBUG: Checking for client timeouts...
        Tauchen denn in diesem Log irgendwann die Squeezeboxen auf? Wenn Slimserver und xPLHub auf der selben Maschine laufen, müsstest Du hier irgendwann die Status-Änderungen der einzelnen Player sehen. Falls nicht, liegt hier schon irgendwas im Argen.


        Der Dump auf die Adresse 192.168.9.83 (macmyhome) bringt beim senden an das Device keinen Eintrag
        Was sendest Du denn da von wo nach wo?

        leidiglich der folgenden Eintrag schlägt zyklisch auf:
        mah-fs1:/usr/local/bin # tcpdump -i eth2|grep slim|grep 192.168.9.83
        tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
        listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
        18:15:30.735830 IP 192.168.9.83.slim-devices > 255.255.255.255.slim-devices: UDP, length 16
        18:16:30.735887 IP 192.168.9.83.slim-devices > 255.255.255.255.slim-devices: UDP, length 16
        Das könnte der Heartbeat von mmh sein. Auch dieser müsste bei korrekter Vernetzung im obigen Debug-Log vom xPLHub auftauchen.
        Gruß

        Sascha

        Kommentar


          #5
          ein bischen weiter

          Hallo Sascha,

          Dein Hinweis dass im Hub die Boxen sich melden sollten, hat mir auf die Sprünge geholfen.

          In meiner SuSeFirewall hatte ich den Eintrag

          FW_Protect_FROM_INT = "yes" und die notwendigen Ports freigegeben.

          Dort hatte ich 3865 und 3483 tcp /udp freigegeben.

          Offensichtlich reicht das nicht aus, aber das ist an der Stelle mal zweitrangig.

          Ich habe den Parameter nun auf NO gesetzt und meine xPL Debug füllt sich nun. Allerdings laufen die xPL Kommandos noch vom Client immer noch nicht zum SqueezerServer

          <ARBEITSZIMMER><STOP></ARBEITSZIMMER>

          schlägt am XPL Hub mit einen wilden Menge von Daten auf. SqueezeCenter bzw. die Squeezerbox bleibt aber unbeeindruckt.

          Noch einen Tipp?

          Gruß Hartwig



          hier aktuelles LOG
          Anmerkung: 192.168.9.84 ist der zweite MAC, auf welchem auch mmh läuft, aber der XpL abgeschaltet ist!
          Die .83 auf welchem der xPL läuft schägt hier nicht auf!


          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9df0 to cache -- [hbeat.app] (LEN=9, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: Now dispatching valid message
          09/10/13 20:06:00 xPL_DEBUG: Releasing message, TYPE=2, RECEIVED=1
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9be0 to cache -- [ibs] (LEN=3, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9bd0 to cache -- [mmh] (LEN=3, CNT=1)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9bf0 to cache -- [W89043Z6250] (LEN=11, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: Releasing received messages SOURCE parameters
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9e00 to cache -- [hbeat] (LEN=5, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9ad0 to cache -- [app] (LEN=3, CNT=2)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b68 to cache -- [interval] (LEN=8, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9ae0 to cache -- [5] (LEN=1, CNT=1)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9b30 back to cache pool
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9da8 to cache -- [port] (LEN=4, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9db8 to cache -- [49161] (LEN=5, CNT=1)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9af0 back to cache pool
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9dc8 to cache -- [remote-ip] (LEN=9, CNT=1)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing string @ 0x80c9dd8 to cache -- [192.168.9.84] (LEN=12, CNT=0)
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9ab8 back to cache pool
          09/10/13 20:06:00 xPL_DEBUG: STORE:: Relesing xPL_Message @ 0x80c9a40 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: Just read 114 bytes as packet [xpl-stat
          {
          hop=1
          source=ibs-mmh.W89043Z6250
          target=*
          }
          hbeat.app
          {
          interval=5
          port=49161
          remote-ip=192.168.9.84
          }
          ]
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused xPL_Message @ 0x80c9a40 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9ab8 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9ad0 (LEN=3)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [hop] (3 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9ae0 (LEN=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [1] (1 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9af0 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b08 (LEN=6)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [source] (6 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b18 (LEN=19)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [ibs-mmh.W89043Z6250] (19 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9b30 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b48 (LEN=6)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [target] (6 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b58 (LEN=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [*] (1 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b68 (LEN=8)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [xpl-stat] (8 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b68 to cache -- [xpl-stat] (LEN=8, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9bd0 (LEN=3)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [ibs] (3 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9be0 (LEN=3)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [mmh] (3 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9bf0 (LEN=11)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [W89043Z6250] (11 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9ad0 to cache -- [hop] (LEN=3, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9ae0 to cache -- [1] (LEN=1, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9ab8 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b08 to cache -- [source] (LEN=6, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b18 to cache -- [ibs-mmh.W89043Z6250] (LEN=19, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9af0 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b48 to cache -- [target] (LEN=6, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b58 to cache -- [*] (LEN=1, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9b30 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9b30 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b68 (LEN=8)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [interval] (8 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9b58 (LEN=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [5] (1 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9af0 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9da8 (LEN=4)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [port] (4 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9db8 (LEN=5)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [49161] (5 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reused NameValuePair @ 0x80c9ab8 from cache
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9dc8 (LEN=9)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [remote-ip] (9 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9dd8 (LEN=12)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [192.168.9.84] (12 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9df0 (LEN=9)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [hbeat.app] (9 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9e00 (LEN=5)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [hbeat] (5 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Reusing cache entry for String @ 0x80c9ad0 (LEN=3)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Duped string [app] (3 bytes)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9df0 to cache -- [hbeat.app] (LEN=9, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: Now dispatching valid message
          09/10/13 20:06:03 xPL_DEBUG: Releasing message, TYPE=2, RECEIVED=1
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9bd0 to cache -- [ibs] (LEN=3, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9be0 to cache -- [mmh] (LEN=3, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9bf0 to cache -- [W89043Z6250] (LEN=11, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: Releasing received messages SOURCE parameters
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9e00 to cache -- [hbeat] (LEN=5, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9ad0 to cache -- [app] (LEN=3, CNT=2)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b68 to cache -- [interval] (LEN=8, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9b58 to cache -- [5] (LEN=1, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9b30 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9da8 to cache -- [port] (LEN=4, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9db8 to cache -- [49161] (LEN=5, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9af0 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9dc8 to cache -- [remote-ip] (LEN=9, CNT=1)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing string @ 0x80c9dd8 to cache -- [192.168.9.84] (LEN=12, CNT=0)
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Releasing NameValuePair @ 0x80c9ab8 back to cache pool
          09/10/13 20:06:03 xPL_DEBUG: STORE:: Relesing xPL_Message @ 0x80c9a40 back to cache pool
          Gruß Hartwig

          Kommentar


            #6
            Hallo Hartwig,

            wir arbeiten uns vorwärts... :-)

            Zitat von hartwigm Beitrag anzeigen
            Ich habe den Parameter nun auf NO gesetzt und meine xPL Debug füllt sich nun. Allerdings laufen die xPL Kommandos noch vom Client immer noch nicht zum SqueezerServer

            <ARBEITSZIMMER><STOP></ARBEITSZIMMER>

            schlägt am XPL Hub mit einen wilden Menge von Daten auf. SqueezeCenter bzw. die Squeezerbox bleibt aber unbeeindruckt.
            Das ist doch schon mal ein gutes Zeichen. Kannst Du davon mal bitte ein Debug-Log posten? Wenn die xPL-Befehle von mmh am Linux-Hub ankommen, kann es ja nur noch an der Kommunikation vom Hub zum slimserver liegen.
            Den umgekehrten Weg hast Du bereits freigeschaltet, wie sieht es in die andere Richtung aus? Kann da noch eine weitere Firewallregel dazwischenfunken?

            Wenn das geklärt ist, kümmern wir uns um die Unterschiede zwischen den beiden Macs.
            Gruß

            Sascha

            Kommentar


              #7
              Hallo Sascha,

              anbei die gewünschte Log.

              eth0 mit welchem sich der Squeezerserver verbindet ist mein externes Interface. Auf dieses Interface sind einige Firewallregeln gesetzt.

              Ich kann dieses Interface nicht einfach freigeben. Welche Ports müssen für die kommunikation durch gehen`?

              Gruß Hartwig
              Angehängte Dateien
              Gruß Hartwig

              Kommentar


                #8
                Hallo Hartwig,

                lt. Deinem Log kommen die Kommandos von mmh schonmal korrekt auf dem xPL-Hub des Linux-Servers an - sehr schön.
                Eigentlich sollte der Slimserver per loopback-Interface mit dem xPL-Hub kommunizieren, d.h. eth0 ist an der Stelle eigentlich außen vor.
                Das Forwarding vom Slimserver zum Hub hast Du ja mit der Deaktivierung von PROTECT_FROM_INTERNAL schon ermöglicht, hast Du irgendeine Konfigurationsmöglichkeit, die die Gegenrichtung freischaltet?

                Ich weiß, die Suse-Firewalls machen manchmal nicht genau das, was sie eigentlich sollten, deshalb ist diese Option möglicherweise schwer zu finden.
                xPL-Hubs lauschen immer auf 3865/UDP, aber die Clients dürfen sich irgendeinen Source-Port aussuchen.
                Die Firewall muß also an "eth2" und "lo" alles rauslassen, was vom Sourceport 3865 kommt.
                Umgekehrt muß die Firewall an "lo" und "eth2" alles reinlassen, was zum Zielport 3865 geht. Das scheint ja bereits zu funktionieren.
                Gruß

                Sascha

                Kommentar


                  #9
                  es geht!!

                  Hallo Sascha,

                  zuerst vielen Dank für die Unterstützung.

                  Mit den folgenden Einstellungen läuft der Squeezeboxserver mit der SuSEFirewall2

                  FW_SERVICE_INT_UDP = 3865"


                  FW_ALLOW_FW_BROADCAST_EXT="3865"
                  FW_ALLOW_FW_BROADCAST_INT="3865"


                  Meine Firewall ist auch für die internen User sehr restriktiv konfiguriert, den Schalter FW_PROTECT_FROM_INT konnte ich nach den obigen Einstellungen wieder auf "yes" setzen

                  Gruß Hartwig
                  Gruß Hartwig

                  Kommentar


                    #10
                    Sehr schön!

                    Hallo Hartwig,

                    so gefällt mir das, gern geschehen!

                    Dann viel Spass mit der Squeezebox-Steuerung per mmh!
                    Gruß

                    Sascha

                    Kommentar


                      #11
                      Hallo Sascha,

                      der xPL Dienst läuft nun sauber, ich kann xPL einheiten steuern, was mir noch nicht gelingt, ist der Feedback. So kann ich den aktuellen Titel etc. nicht auslesen.


                      Alle angebundenen Ding sehe ich im Scripting Client im BC Monitor. Die XPL Daten sehe ich da aber nicht. Ist das korrekt so?

                      Gruß Hartwig
                      Gruß Hartwig

                      Kommentar


                        #12
                        Hallo Hartwig,

                        hast Du in der entsprechenden .csv für die jeweilige Squeezebox folgenden Abschnitt?
                        Code:
                        [WATCH=audio.basic];
                        status;STATE
                        ARTIST;ARTIST
                        ALBUM;ALBUM
                        TRACK;TITLE
                        POWER;POWER
                        Falls ja, scheint etwas mit dem "Rückkanal" vom Slimserver noch nicht zu stimmen. Der Linux-xPL-Hub muß natürlich auch mit einem anderen xPL-Hub kommunizieren dürfen (also: lokaler Port variabel, entfernter Port 3865), um das Feedback des Slimservers weiterleiten zu können. Vielleicht durchforstest Du Deine Firewall nochmal diesbezüglich.
                        Gruß

                        Sascha

                        Kommentar


                          #13
                          Hallo Sascha,

                          dieser Eintrag war drin!

                          Ich habe nun den SqueezerCenterserver auf meinem internen Windowsserver installiert um mal zu sehen, wie das laufen sollte.

                          Hier bin ich aber nun genausoweit wie mit dem Linux.

                          Ich kann aus dem Scripting Client die Musik Stoppen starten etc. aber ich bekomme einfach nichts zurück

                          Auf dem Slimserver habe ich debugging in für XPL eingestellt und sehe auch dass dort was rausgeht. Den XPLHUB habe ich auf dem Windows auch installiert.

                          Auf dem Windows Server ist die Firewall abgeschaltet!

                          Hast Du noch eine Idee, an was das hacken kann!

                          Gruß Hartwig
                          Gruß Hartwig

                          Kommentar


                            #14
                            und noch eine Ergänzung. Ich habe mal Wireshark installiert

                            Hier sehe ich dass der Squeezeserver die Info ins Lan pustet:
                            Angehängte Dateien
                            Gruß Hartwig

                            Kommentar


                              #15
                              Hallo Hartwig....

                              hab mich nun mal dem Problem angenommen... hast Du auf dem Mac Snow Leopard ??

                              LG

                              Kommentar

                              Lädt...
                              X