Running the Server on FreeNAS?

5 years 11 months ago #3955 by bmentink
Hi,

A newbie question:

I was just wondering if the server component could be run in a FreeNAS jail instead of on a Raspberry PI, as I already have that server running on my network .. is it possible?

Cheers

Please Log in or Create an account to join the conversation.

5 years 11 months ago #3956 by EasyIoT
RPI version of EasyIoT server uses RPI specific HW driver (GPIO) and will not work on FreeNAS. You can try with windows version if you install MONO and sqlite driver first.

Please Log in or Create an account to join the conversation.

5 years 11 months ago - 5 years 11 months ago #3957 by bmentink
Thanks,
So you mean install MONO and sqlite in a FreeBSD jail, or in a Linux jail?
Also, is there a way to set a port other than port 80, as I allready have a webserver running on FreeNAS ..

Cheers

Please Log in or Create an account to join the conversation.

5 years 11 months ago #3958 by bmentink
Tried on FreeBSD & Linux and got:
Unhandled Exception:
System.DllNotFoundException: librf24-bcm
  at (wrapper managed-to-native) MySensorsDriver.RF24_wrap.new_RF24_2(byte,byte,uint)
  at MySensorsDriver.RF24..ctor () [0x00006] in <0cf219b907674393aa8aeac5174f4a12>:0 
  at MySensorsDriver.MySensors..ctor () [0x00000] in <0cf219b907674393aa8aeac5174f4a12>:0 
  at EasyIoT.EasyIoTService..ctor () [0x000f1] in <46604c11a7af4dc2bc00b86a01c9c6e2>:0 
  at EasyIoT.Program.Main (System.String[] args) [0x00060] in <46604c11a7af4dc2bc00b86a01c9c6e2>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: librf24-bcm
  at (wrapper managed-to-native) MySensorsDriver.RF24_wrap.new_RF24_2(byte,byte,uint)
  at MySensorsDriver.RF24..ctor () [0x00006] in <0cf219b907674393aa8aeac5174f4a12>:0 
  at MySensorsDriver.MySensors..ctor () [0x00000] in <0cf219b907674393aa8aeac5174f4a12>:0 
  at EasyIoT.EasyIoTService..ctor () [0x000f1] in <46604c11a7af4dc2bc00b86a01c9c6e2>:0 
  at EasyIoT.Program.Main (System.String[] args) [0x00060] in <46604c11a7af4dc2bc00b86a01c9c6e2>:0

Please Log in or Create an account to join the conversation.

5 years 11 months ago - 5 years 11 months ago #3959 by bmentink
Never mind, downloaded from the wrong link (RiPi instead of Windoze).
I installed the correct one and it works fine under mono in FreeBSD jail in FreeNAS ... yay ..

Now all I have to do is find a good example that shows me how to talk to the LUA board ....
I tried to compile the "smart irrigation" example but it comlains it can't find the symbol D3 ...
ANyone know what header should be included and why the example down not compile "out of the box" ..

Cheers

Please Log in or Create an account to join the conversation.

5 years 11 months ago #3963 by EasyIoT
You can change port. Open .xml file in config folder and search for port with value 80. Change this value and restart server.

Please Log in or Create an account to join the conversation.

Time to create page: 0.261 seconds

Forum latest

  • No posts to display.