Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 18 FirstFirst 123412 ... LastLast
Results 11 to 20 of 171
  1. #11
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    Ok, give me a little time to test this out and I'll let you know.

    Did I mention thank you?

  2. #12
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    Do you do anything special when you create the musicip user on the Syno or do you just accept the default values?

  3. #13
    To be honest I created it on the command line, but thought it would be easier to create it on the GUI.
    I added this line to /etc/groups
    Code:
    musicip:x:1022:
    where 1022 was not used in the file before

    and to /etc/passwd I added this line:
    Code:
    musicip:x:1022:1022:MusicIP:/usr/local/MusicIP/:/bin/ash
    where the first 1022 stands for the user id number and the second 1022 for the group id number from /etc/groups

    I used vi as editor.
    Don't ask me how to use vi...
    http://www.washington.edu/computing/unix/vi.html

  4. #14
    But a standard user created on the GUI should also do it.

    Or you could use your own user
    just change user=musicip
    to user=youruser
    in the mmserver.sh file

  5. #15
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    Gotcha, thank you.

  6. #16
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    You also have the MIP headless server running on the Syno, right?

  7. #17
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    Ok I'm stuck here:

    cd /usr/local/etc/rc.d
    (now you need to copy the file mmserver.sh to this destination)
    cp /volume1/home/username/mmserver.sh .

    Where and how do I copy the mmserver.sh file from my laptop to the Syno?


  8. #18
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    Ok I got it but now I'm stuck at:

    if you do now a

    ./mmserver.sh start
    the MusicIP server should start without the need of a reboot.


    When I run this command I get:

    Synology> ./mmserver.sh start
    -ash: ./mmserver.sh: not found

    Even though I can do a "dir" command and see that the mmserver.sh file is right there.

  9. #19
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    One more thing. On my Synology (DS1511+), the path is /volume1/homes/username/mmserver.sh , whereas you posted yours as "home".

    Edit: Not sure if it makes a difference but I'm doing all this while logged in as "root". Just FYI.
    Last edited by Morbeas; 2012-07-15 at 17:36.

  10. #20
    Yes it's the Headless Server I have running.

    Seems that in the script the first line there is a space to much
    should be
    Code:
    #!/bin/sh
    and not
    Code:
    #! /bin/sh
    the file mmserver.sh
    needs to be in /usr/local/etc/rc.d

    so:
    Code:
    cd /usr/local/etc/rc.d
    cp /volume1/homes/username/mmserver.sh .
    chown root:root mmserver.sh
    chmod 755 mmserver.sh
    Last edited by Arvoreen; 2012-07-16 at 00:17.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •