![]() |
|
[Tutorial] Installing MinimServer on FreeNAS or FreeBSD - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Digital Audio (/forumdisplay.php?fid=10) +--- Thread: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD (/showthread.php?tid=2891) |
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - imush - 31-01-2020 06:52 The player is wired... But there are mobile control point apps. And I am not sure that ethernet connection will help, it is the same router. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - imush - 05-02-2020 04:28 Somehow, after some network tweaking, it now works with eero router, although I cannot say why. If you have a similar problem, try eero customer support, they are very responsive and can do more tweaks than the user interface allows. It is a bit annoying that they have a backdoor that I cannot control, but I choose not to mind this for now and the wifi mesh works well. Anyway, for a small token of contribution, here is my rc script which can do start and stop and looks more compliant with the rc.conf standard: Code: #!/bin/shFinally, the minimserver/bin/stopall will not work if you have an instance started from rc.conf because it is not attached to terminal. Therefore, I added -x option to the ps command options PSOPT there: edit this line Code: PSOPT="-eo pid,user,vsz,stat,args"Code: PSOPT="-exo pid,user,vsz,stat,args"RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - airflow - 05-02-2020 10:30 (05-02-2020 04:28)imush Wrote: Somehow, after some network tweaking, it now works with eero router, although I cannot say why. If you have a similar problem, try eero customer support, they are very responsive and can do more tweaks than the user interface allows. It is a bit annoying that they have a backdoor that I cannot control, but I choose not to mind this for now and the wifi mesh works well. I'm happy it works for you now! Quote:Anyway, for a small token of contribution, here is my rc script which can do start and stop and looks more compliant with the rc.conf standard: Awesome! I will update my guide to include this improvement after testing. Same goes for the other suggestion of yours regarding PSOPT. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - airflow - 09-02-2020 13:48 Update: I'm in the progress of re-building my jails with your suggested changes to test it later. Just a question in between to @simoncn: Regarding the proposed change in the script "minimserver/bin/stopall" - wouldn't it make sense to include that specific change into the official version of minimserver? RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - simoncn - 09-02-2020 15:35 No, because the -x option of the ps command is specific to BSD and causes an error when running on Linux. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - imush - 09-02-2020 20:54 (09-02-2020 15:35)simoncn Wrote: No, because the -x option of the ps command is specific to BSD and causes an error when running on Linux. Are you sure? -x is called 'BSD syntax' in the man page but works on Linux systems I have seen and seems to be there on Debian at my work. You could check for $(uname) to be sure. And by the way Darwin / Mac OSX is also a BSD style system and most likely needs the -x. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - simoncn - 09-02-2020 22:16 I am sure that it does not work on my Linux system. It returns an error saying that -x is an invalid option. The stopall script is not part of the MinimServer installation on macOS, only on Linux. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - airflow - 09-02-2020 22:57 When testing your suggested improvements, I found that Code: . /usr/local/etc/gnome.subrdoes not work and seems to not be needed, so I removed it. Also, when I start the service now, I get the following error-message: Code: root@services-ext:~ # service minimserver startApart from this message, I cannot find any problem in the minimserver-log and it works fine. So I incorporated the improvements in the tutorial. RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - imush - 10-02-2020 19:24 (09-02-2020 22:57)airflow Wrote: When testing your suggested improvements, I found that Yes, sorry, gnome.subr was definitely my garbage I overlooked. I am not sure about the failed message. Are you sure that minimserver was not running? Does stop work? RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - simoncn - 10-02-2020 22:49 I think the "Failed" message could be produced incorrectly if MinimServer is a bit slow to start. I will think about how to improve the check for this. |