Gembird sis-pms Steckerleiste per webinterface steuern !

  • hi......ich versuche eine usb-steckerleiste Gembird sis-pms mit meiner qnap ts-119 übers internet zu steuern !


    Hat das schon mal einer hinbekommen ?!


    der einzige ansatz, den ich gefunden habe ist hier:


    http://sispmctl.sourceforge.net/


    allerdings gehts schon los, dass ich die optware nichtmal installiert bekomme !


    für tips oder lösungsansätzen wäre ich dankbar !


    danke


    gruss


    jens

    Einmal editiert, zuletzt von Terz () aus folgendem Grund: Thema verschoben

  • Zitat von "jensemann"

    allerdings gehts schon los, dass ich die optware nichtmal installiert bekomme !


    Gibt es eine Fehlermeldung im Systemlog?
    Hast du mal versucht, das qpkg von der Konsole aus zu installieren?

  • Systemlog muss ich mal schauen....wo finde ich das!?
    über putty hab ich es schon probiert die optware zu installieren....ging auch nicht!!

  • Zitat von "jensemann"

    ....wo finde ich das!?

    Im Admin-GUI deiner TS.

    Zitat

    über putty hab ich es schon probiert die optware zu installieren....ging auch nicht!!

    Gab es da eine Fehlermeldung, wenn ja welche?

  • ok...also danke erstmal frosch, wegen deinem schnellen "support" ...smile !!!


    so...thema protokoll optware....->


    2011-05-03
    2094 00:17:13 System 127.0.0.1 localhost Optware 0.99.163 installation failed. /share/HDA_DATA/optware existed. Please remove it first.

  • ok....nehmen wir mal an ich bekomm das optware nach der anleitung installiert.......... !!!!


    dann muss ich doch die folgende anleitung befolgen:


    Download & Installation:
    In short: Download latest sispm_ctl-XX.tar.gz (~156kB) from the sourceforge.net pages, unpack & follow the README file or see the release notes.


    You need libusb-0.15 or newer installed on your system (if you have an older version of libusb it MIGHT work, you'll have to tweak configure.in though and call scripts/bootstrap. Nevermind if this is just glibberish for you :-)).

    sis_pmctl is only available as sourcecode distribution. To install on your system run:


    tar xzvf sispm_ctl-2.1.tar.gz
    cd sispm_ctl-2.1
    ./configure
    make
    make install


    Note: The compiled application is named sispmctl since 2.0 without the underscore!


    This installs the applicationsis pmctl in /usr/local/bin. If you want to install the application to a different directory,
    call ./configure --prefix=/your/preferred/dir.
    The web-interface skins are installed under $prefix/httpd/sispm_ctl/skin?; the default skin is pre-selected with the doc symbolic link in the $prefix/httpd/sispm_ctl directory.



    ...jetzt meine frage, dieses libusb....sind doch die treiber für den usb anschluss ?! oder wie.....boar...windows ich verfluche dich...was hast du mich verdummen lassen...smile ;)


    und wenn ich dann das ganze zeug installiert habe, wie bekomme ich dann zugriff auf das webinterface ?! port?!

  • Joah, nachdem Du optware-devel installiert hast (ipkg install optware-devel)


    Code
    ipkg install libusb


    cd /opt

    Code
    mkdir compile


    Code
    wget http://switch.dl.sourceforge.net/project/sispmctl/sispmctl/sispmctl-3.0/sispmctl-3.0.tar.gz


    Code
    tar xzvf sispmctl-3.0.tar.gz


    Code
    cd sispm*


    Code
    ./configure --prefix=/opt


    Code
    make


    Code
    make install


    Sollte so funken.


    Zitat

    und wenn ich dann das ganze zeug installiert habe, wie bekomme ich dann zugriff auf das webinterface ?! port?!


    Steht doch da. .;)

    Zitat

    The web-interface skins are installed under $prefix/httpd/sispm_ctl/skin?; the default skin is pre-selected with the doc symbolic link in the $prefix/httpd/sispm_ctl directory.


    Wenn $prefix= /opt ist ;)


    Grüsse, David

  • Joah, nachdem Du optware-devel installiert hast (ipkg install optware-devel)


    Code
    ipkg install libusb


    cd /opt

    Code
    mkdir compile


    Code
    wget http://switch.dl.sourceforge.net/project/sispmctl/sispmctl/sispmctl-3.0/sispmctl-3.0.tar.gz


    Code
    tar xzvf sispmctl-3.0.tar.gz


    Code
    cd sispm*


    Code
    ./configure --prefix=/opt


    Code
    make


    Code
    make install


    Sollte so funken.


    Zitat

    und wenn ich dann das ganze zeug installiert habe, wie bekomme ich dann zugriff auf das webinterface ?! port?!


    Steht doch da. .;)

    Zitat

    The web-interface skins are installed under $prefix/httpd/sispm_ctl/skin?; the default skin is pre-selected with the doc symbolic link in the $prefix/httpd/sispm_ctl directory.


    Wenn $prefix= /opt ist ;)


    Grüsse, David

  • coole sache @terz...wenn das geht, bist du heute mein "Tagesheld" ;)


    aber nochmal zum webinterface.........


    was heisst


    Wenn $prefix= /opt ist ?!?!?


    wenn ich von aussen komme, welchen port soll ich ansprechen ?! ;)

  • ok, das passiert...........


    2 Mal editiert, zuletzt von Terz () aus folgendem Grund: Volltext zitat entfernt, Code Block hinzugefügt

  • Code
    ipkg install optware-devel


    Hast du vorher vergessen ;)


    Zitat

    Joah, nachdem Du optware-devel installiert hast (ipkg install optware-devel)


    Grüsse, David

  • das ist das ergebnis !!!!!




    im syslog steht nix !!!!...zur info !! ;)

    Einmal editiert, zuletzt von Terz () aus folgendem Grund: CODE Block hinzugefügt

  • Das iss ein sed Problemchen.
    Einfach mal den im /bin umbennennen (dann wird sed aus der optware genommen)


    Müsste ein:

    Code
    mv /bin/sed /bin/_sed


    sein.


    Ist spätestens nach einem Neustart eh wieder "normal". Du brauchst es so aber mal zum kompilieren ;)



    Grüsse, David

  • ok...ich mache es gleich..... ;)


    ...ok fehlerfrei durchgelaufen.....sauber erstmal ;)


    und wie kann ich jetzt auf das webinterface zugreifen ?! smile

  • Zitat

    $ sispmctl -d 1 -l


    You can connect to it from the same machine by pointing to http://localhost:2638 with your webbrowser


    Steht da.... Als beispiel...


    und auch noch:

    Zitat


    -d Choose not the first but the named one in the sequence of detected devices (see scan option)


    Probiere es erst mal so:

    Code
    sispmctl -d 1 -l


    Dann solltest Du es via:
    http://NASIP:2638
    aufrufen können.


    Wenn es nicht funktioniert, dann mal mit -s ausführen, und dann -d 1 durch das was der Scan ausgespuckt hat ersetzen (-d 2 oder whatever)


    Anonsten... Wenn es funktioniert noch in die autorun.sh (damit es nach einem neustart automatisch startet).


    Grüsse, David

  • ...in die autorun.........alter schwede.........das ist alles höhere politik für mich..... ;)


    wie kommt das denn in de autorun....?! ;)


    gruss


    jens


    EDIT:
    ergebnis !!!!!


  • Also


    Code
    [~] # sispmctl -sGembird #0USB information:  bus 001, device 003device type:      4-socket SiS-PMserial number:    01:01:4c:e4:0f


    Sieht für mich nach 0 aus....


    Guck ma, hattest Du auch mal eingegeben:


    Code
    sispmctl -d 0


    Da kam kein Fehler zurück.
    Das -l (kleines L wie Ludwig)
    hat nur gefehlt.


    Also:

    Code
    sispmctl -d 0 -l


    Wenn Du das eingegeben hast einfach mal im Browser:
    http://IPNAS:2638
    aufrufen ;)


    Über die autorun.sh gibt es wenn das so funkt echt gaaaanz viel Zeug in den Anleitungen und dessen Subkategorie Script's & Snippets.


    Grüsse, David

  • so gehts !!!!


    aber leider zeigt der i-explorer fehler 402-bad defaults an !!!!!


    [~] # sispmctl -d 0 -l
    Server goes to listen mode now.
    Listening for local provider on port 2638...
    Provider connected.


    Requested is (GET / HTTP/1.1
    Host: 192.168.77.100:2638
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Cookie: nas_lang=GER; nas_save_u=1; nas_u=YWRtaW4=; nas_address=192.168.77.100; nas_save_p=1; nas_a=UVdSeWFXRnVZVEU1TnpRag==; nas_p=YWRtaW5BZHJpYW5hMTk3NCUyMw==; nas_tree_x=240; nas_tree_y=370


    )