Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:lorawan-server [2024/08/09 22:32] – [ETC] darrontools:lorawan-server [2024/08/10 14:40] (current) – [Resources] darron
Line 1: Line 1:
-====LoRaWAN Server====+====lorawan-server====
  
 <wrap right> <wrap right>
Line 5: Line 5:
 </wrap> </wrap>
  
-This server is compatible with the obsolete [[:boards:lrwan2|P-NUCLEO-LRWAN2]] LoRaWAN +This server is compatible with the obsolete [[:boards:lrwan2|P-NUCLEO-LRWAN2]] LoRaWAN kit 
-demo pack.+which utilises the [[:interfaces:risinghf|RisingHF LRWAN GS HF1]] LoRaWAN gateway daughterboard.
  
-A [[https://community.st.com/t5/stm32-mcus/how-to-create-a-lorawan-server-on-local-pc-1-2/ta-p/49286|guide]] on the ST forum which details 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.+A [[https://community.st.com/t5/stm32-mcus/how-to-create-a-lorawan-server-on-local-pc-1-2/ta-p/49286|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 [[:tools:KVM|KVM]], and then follow the web configuration in the guide.
  
-First create the [[:tools:kvm|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.+NB. Running the server on Debian Bookworm was attempted but failedNo other versions of Debian were tested other than Bookworm and Buster, and Buster was documented to work by the author.
  
-Follow the [[https://github.com/gotthardp/lorawan-server/blob/master/doc/Installation.md|install guide]] for the server on github and refer to this page.+===O/S===
  
 +Create the [[:tools:kvm|KVM]] using `debian-10.13.0-amd64-DVD-1.iso'.
  
-==Install Erland/OTP 22==+In my case the VM is named vm5 and has the IP address 192.168.0.115.
  
-<code> +==Run==
-sudo apt-get update                                                       +
-sudo 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 +
-</code>+
  
-<code> +Follow the [[https://github.com/gotthardp/lorawan-server/blob/master/doc/Installation.md|guide]] to install and run the server.
-$ 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) +==Configure==
-1> +
-BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded +
-       (v)ersion (k)ill (D)b-tables (d)istribution +
-+
-</code>+
  
-==Run the server== +GOTO http://admin:admin@192.168.0.115:8080/ and follow the [[https://community.st.com/t5/stm32-mcus/how-to-create-a-lorawan-server-on-local-pc-1-2/ta-p/49286|guide]] to configure the server.
- +
-<code> +
-$ ./bin/lorawan-server +
-</code> +
- +
-==Configure the server== +
- +
-Visit http://192.168.0.115:8080/ +
- +
-The login is admin/admin+
  
 +===Resources===
  
 +[[https://community.st.com/t5/stm32-mcus/how-to-create-a-lorawan-server-on-local-pc-1-2/ta-p/49286|How to create a LoRaWAN server on local PC]]
  
 +[[https://gotthardp.github.io/lorawan-server/|lorawan-server homepage]]
  
 +[[https://www.st.com/en/evaluation-tools/p-nucleo-lrwan2.html|P-NUCLEO-LRWAN2]]