This is an old revision of the document!
Table of Contents
lorawan-server
This server is compatible with the obsolete P-NUCLEO-LRWAN2 LoRaWAN demo pack.
A guide on the ST forum explains how to setup and configure this on Windows, however, it's preferable in my opinion, to setup up the server on Debian Buster 10.13 in a KWM, and then follow the configuration guide in the article.
NB. Running the server on Debian Bookworm was attempted but failed. No other versions of Debian were tested other than Bookworm and Buster, and Buster was documented to work by the author.
First create the KVM using `debian-10.13.0-amd64-DVD-1.iso'. In my case the VM is named vm5 and has the IP address 192.168.0.115.
Follow the install guide for the server on github and refer to this page.
Install Erland/OTP 22
apt-get install erlang-base erlang-crypto erlang-syntax-tools erlang-inets erlang-mnesia erlang-runtime-tools erlang-ssl erlang-public-key erlang-asn1 erlang-os-mon erlang-snmp erlang-xmerl
$ erl Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] Eshell V10.6.4 (abort with ^G) 1> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded (v)ersion (k)ill (D)b-tables (d)istribution a
Run the server
./bin/lorawan-server
Configure the server
Visit http://192.168.0.115:8080/
The login is admin/admin