Ok, give me a little time to test this out and I'll let you know.
Did I mention thank you?![]()
Results 11 to 20 of 171
Thread: MusicIP on x86 Synology
-
2012-07-15, 08:24 #11Senior Member
- Join Date
- Jan 2012
- Posts
- 530
-
2012-07-15, 10:25 #12Senior 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?
-
2012-07-15, 12:22 #13Member
- Join Date
- Jul 2012
- Posts
- 39
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
where 1022 was not used in the file beforeCode:musicip:x:1022:
and to /etc/passwd I added this line:
where the first 1022 stands for the user id number and the second 1022 for the group id number from /etc/groupsCode:musicip:x:1022:1022:MusicIP:/usr/local/MusicIP/:/bin/ash
I used vi as editor.
Don't ask me how to use vi...
http://www.washington.edu/computing/unix/vi.html
-
2012-07-15, 12:49 #14Member
- Join Date
- Jul 2012
- Posts
- 39
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
-
2012-07-15, 13:54 #15Senior Member
- Join Date
- Jan 2012
- Posts
- 530
Gotcha, thank you.
-
2012-07-15, 14:25 #16Senior Member
- Join Date
- Jan 2012
- Posts
- 530
You also have the MIP headless server running on the Syno, right?
-
2012-07-15, 17:00 #17Senior 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?
-
2012-07-15, 17:17 #18Senior 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.
-
2012-07-15, 17:25 #19Senior 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.
-
2012-07-15, 23:56 #20Member
- Join Date
- Jul 2012
- Posts
- 39
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
and notCode:#!/bin/sh
the file mmserver.shCode:#! /bin/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.

Reply With Quote
