Page 1 of 1

Help please... Wine in a jail

Posted: 17 Jun 2014 10:28
by goldhonda
Please forgive my ignorance I'm very new to nas4free and anything other than windows.

Don't know if this is possible but I would like to run a small windows program from within a jail, it would not need a desktop as all the controls and settings are remotely used, it has no gui even in windows.
Wine seemed the way to go but I have not been able to get it to run and can't seem to find any guides online that show me the way.
My nas4free box is a amd64 embeded (revision 972) Nvidea graphics (though won't ever need 3d). The program would need access to the local network and at least one harddrive.

Any advice, pointers to guides or comments would be welcome.

Thank you in advance

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 10:35
by crowi
I don't think it is possible to install wine on NAS4free.
What program do you want to run?

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 10:53
by raulfg3
It`s not possible, perhaps viewtopic.php?f=71&t=4785 is a option for you, but better if you say what need, perhaps others options can be suggested.

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 11:40
by goldhonda
Thanks for the quick replies.
The program is part of a set from Hikvision for cctv, iVMS-4200, wine hq list it as working (though not fully tested) the program I want running is the Nvr Stoage Server. All it does is store video on a harddrive from camera's and dvr's and indexs them. It does not use much in the way of processor power or memory which is why i'd like to use something like wine rather than having a full virtual machine running. As said all setup etc is done from a remote cumputer. So I don't know if its possible to run wine or trick wine into running without any desktop.
Sorry but a bit lost with freebsd but hopefully leaning everyday with a bit of help.
Hope that explaines it a bit more

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 11:48
by raulfg3
test if Zoneminder works for your needs: http://www.zoneminder.com/

http://www.zoneminder.com/forums/viewtopic.php?t=11965

This can be instaled on a jail.


And check if you can have Hikvision running on one Windows PC, and configure it to store CCTV stream on other machine like your NAS.

http://www.networkcameracritic.com/?p=1729

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 12:05
by goldhonda
Thanks for the surgestion, I can't use zoneminder though as the program needs to interact with several other systems in a way zoneminder could not manage.
I will keep looking as there are references to installing wine in a jail using google just hoping someone on here might know or be able to point me in the right direction.

Only two of the seven can save to a NAS drive, the idea of using the storage server is to be able to view all recordings from all from a single system.

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 12:36
by raulfg3
You can install wine from ports like is described here:

http://www.freshports.org/emulators/wine/

To create a Jail that have support of ports, I recommended "Thebrig", you can see how to install "Thebrig" here: viewtopic.php?f=79&t=3894

Because wine is dessinged for i386 CPU, you need to install i386 packages in BSD jail when you do initial fetch of tarball for jail: download/file.php?id=1815

https://forums.freebsd.org/viewtopic.php?&t=3891


PD: This road is for powerfull users, meditate if you can do other things more easy. ( install a emulator like wine inside a jail to run a windows app is not easy).

Re: Help please... Wine in a jail

Posted: 17 Jun 2014 13:40
by crowi
The program is part of a set from Hikvision for cctv, iVMS-4200, wine hq list it as working (though not fully tested) the program I want running is the Nvr Stoage Server.
In this case you need to set up a Windows or Linux (+Wine) Server to run the Hikvision Software

Re: Help please... Wine in a jail

Posted: 19 Jun 2014 09:19
by goldhonda
Thanks for the replies.I think I have made some progress


Image

Not sure if its of interest or will help anyone else, but willing to post updates if I get it to do what I want and how.