So my gateway is working again, this time using poly_pkt_fwd. Many thanks.
I can update the wiki to use poly_pkt_fwd instead. Gps_pkt_fwd worked fine for me but if I understand the various bits in the forum correctly, the gps_pkt_fwd is not reliable, whereas poly_pkt_fwd is more reliable. Is this correct?
While setting up the gateway I noticed the number of packets received successfully decreased over time when running gps_pkt_fwd. The number was constant while running basic_pkt_fwd. See the this thread for details on the subject. Feel free to verify my findings or even better disprove them.
As I wanted status updates for TTN I decided to compile poly_pkt_fwd. It has the added advantage of being able to connect to both TTN and iot.semtech.com, allowing to (successfully) test OTAA and sending packets to the node as well. (It would also allow connecting to the stack running on the MultiTech, however as I haven’t found sufficient documentation on how to use it I’ve disabled the connection to localhost for now.)
@kersing Thank you for writing the updated poly_pkt_fwd!
I am in the process of trying to get it to work without any luck so far. Before I start again from scratch I thought I would ask for help. My configuration is as follows:
I have installed your poly-packet-forwarder_2.1-r1_arm926ejste.ipk
It seems you are using an old IP address, please use 54.72.145.119 instead. See also this discussion. And it would be nice if @kersing can adjust the configuration on Github
Glad to have helped to get the first TTN gateway in the whole of North America online The TTN maps http://ttn.lpwan.uk/ and http://www.ttnmap.org/ are looking much better now
I’m not sure about the CRC errors, but saw the same effect in this discussion before. Maybe it is the node you are using. If the rate is always 33/67 the node software is probably the cause I guess.
Are all packets transmitted by your node received and forwarded? The settings are different so you might be picking up more noise.
With EU settings I’m picking up rather a lot of noise, with no nodes transmitting I’ll see at least one CRC error every status interval, however it has no negative impact on packet reception as every packet I know to have been transmitted is forwarded to TTN.
I have just uploaded a new installation package to github. This package contains the adapted frequencies for TTN in 868 region, the gateway specific parameters have been moved to the local_conf.json file (where they should have been from the start) and the IP address for TTN has been updated.
run opkg install poly-packet-forwarder_2.1-r2_arm926ejste.ipk, sample output:
Upgrading poly-packet-forwarder on root from 2.1-r1 to 2.1-r2…
Removing obsolete file /var/config/lora/global_conf.json.sample.
Configuring poly-packet-forwarder.
YOU NEED TO CONFIGURE YOUR GATEWAY BY EDITTING
/var/config/lora/local_conf.json
Collected errors:
file_md5sum_alloc: Failed to open file /var/config/lora/local_conf.json: No such file or directory.
resolve_conffiles: Existing conffile /var/config/lora/global_conf.json is different from the conffile in the new package. The new conffile will be placed at /var/config/lora/global_conf.json-opkg.
Go to /var/config/lora
Move old config: mv global_conf.json global_conf.old
Rename new config mv global_conf.json-opkg global_conf.json
Edit local_conf.json, data can be found in a copy of the old config called global_conf.json.save
The wiki page has been adapted for the new installer.
another 915MHz Multitech box online (Canada).
Its mLinux converted to AEP and then with poly packet forwarder for better usability
Great job Gents
Wojtek
Hi @kersing - I’ve just set up the new poly on a new conduit. I get the following error in var/log/lora-pkt-fwd:
ERROR: [main] failed to find any configuration file named /var/config/lora/1/global_conf.json, /var/config/lora/1/local_conf.json OR /var/config/lora/1/debug_conf.json
@markstanley Looks like there is an additional ‘/1’ at the end of your conf_dir variable. Do you have two cards in the gateway? If not, try removing the ‘/1’.
Just want to confirm that the same configuration works with 1.1.2 version of AES Conduit. After the update, you will however need to reinstall poly-packet-forwarder and modify your startup file the same way.
Cheers
Wojtek
root@mtcdt:/etc# /etc/init.d/lora-network-server restart
Stopping lora-network-server: OK
Found lora card MTAC-LORA-868
Starting lora-network-server: /etc/init.d/lora-network-server: line 62: start: command not found
OK
Anyone know what range a Multitech will have in real life? I have set it at 5 km on the community page, but it seems quite a lot to me…
Why is there a micro USB connector on the mDot Developer kit? Is this just for power or can one use it instead of the serial connection.
And also, how do you guys power the mDot developer kit? Using USB or the power jack?
I use the micro usb and the serial connection to the dev board, can’t remember why! Oh I think one is for programming it and one is for the console.
We have 4 Multitech gateways in Reading and get typical range of 1-1.5km in built up areas. My gateway can be reached by a guy who is 4km away on another hill - we’ve not quite got line of site but close enough!