@@ -74,7 +74,49 @@ AEP model into a mLinux model. In both the AEP migrate and mLinux upgrade you
74
74
can use the ** Using Auto-Flash During Reboot** steps. ** Again, make sure to
75
75
use the ` mlinux-base*.jffs2 ` image!**
76
76
77
- ### mLinux: Setting up the packet-forwarder (MTAC-LORA-H)
77
+ ### Setting up the LoRa Gateway Bridge
78
+
79
+ 1 . Log in using SSH or use the USB to serial interface.
80
+
81
+ 2 . Download the latest ` lora-gateway-bridge ` ` .ipk ` package from:
82
+ [ https://dl.loraserver.io/multitech/conduit/ ] ( https://dl.loraserver.io/multitech/conduit/ ) .
83
+ Example (assuming you want to install ` lora-gateway-bridge_2.3.2-r1.0_arm926ejste.ipk ` ):
84
+ ``` text
85
+ admin@mtcdt:~# wget https://dl.loraserver.io/multitech/conduit/lora-gateway-bridge_2.3.2-r1.0_arm926ejste.ipk
86
+ ```
87
+
88
+ 3 . Now this ` .ipk ` package is stored on the Conduit, you can install it
89
+ using the ` opkg ` package-manager utility. Example (assuming the same
90
+ ` .ipk ` file):
91
+ ``` text
92
+ admin@mtcdt:~# opkg install lora-gateway-bridge_2.3.2-r1.0_arm926ejste.ipk
93
+ ```
94
+
95
+ 4 . Update the MQTT connection details so that LoRa Gateway Bridge is able to
96
+ connect to your MQTT broker. You will find the configuration file in the
97
+ ` /var/config/lora-gateway-bridge ` directory.
98
+
99
+ 5 . Start LoRa Gateway Bridge and ensure it will be started on boot.
100
+ Example:
101
+ ``` text
102
+ admin@mtcdt:~# /etc/init.d/lora-gateway-bridge start
103
+ admin@mtcdt:~# update-rc.d lora-gateway-bridge defaults
104
+ ```
105
+
106
+ 6 . Be sure to add the gateway to the lora-app-server.
107
+ See [ Gateways] ( /lora-app-server/use/gateways/ ) .
108
+
109
+ ### Setting up the packet-forwarder
110
+
111
+ The packages installed with the commands below will by default choose the US
112
+ or EU band configuration, based on the used hardware. Please refer to the
113
+ [ Multitech documentation] ( http://www.multitech.net/developer/software/lora/aep-lora-packet-forwarder/ )
114
+ for alternative configurations.
115
+
116
+ #### mLinux with MTAC-LORA-H-915 or MTAC-LORA-H-868
117
+
118
+ ** Important:** Follow these steps only when you have a ` MTAC-LORA-H ` (v1.5)
119
+ card which uses the SPI interface.
78
120
79
121
1 . Log in using SSH or use the USB to serial interface.
80
122
@@ -114,39 +156,45 @@ use the `mlinux-base*.jffs2` image!**
114
156
The build recipe of the ` .ipk ` package can be found at:
115
157
[ https://github.com/brocaar/loraserver-yocto ] ( https://github.com/brocaar/loraserver-yocto ) .
116
158
117
- ### mLinux / AEP: Setting up the LoRa Gateway Bridge
159
+ #### mLinux with MTAC-LORA-915 or MTAC-LORA-868
160
+
161
+ ** Important:** Follow these steps only when you have a ` MTAC-LORA ` (v1.0)
162
+ card which uses the FTDI interface.
118
163
119
164
1 . Log in using SSH or use the USB to serial interface.
120
165
121
- 2 . Download the latest ` lora-gateway-bridge ` ` .ipk ` package from:
122
- [ https://dl.loraserver.io/multitech/conduit/ ] ( https://dl.loraserver.io/multitech/conduit/ ) .
123
- Example (assuming you want to install ` lora-gateway-bridge_2.2.0-r2.0_arm926ejste.ipk ` ) :
166
+ 2 . Download the latest ` lora-packet-forwarder-usb ` ` * .ipk` package
167
+ from [ https://dl.loraserver.io/multitech/conduit/ ] ( https://dl.loraserver.io/multitech/conduit/ ) .
168
+ Example:
124
169
``` text
125
- admin @mtcdt:~# wget https://dl.loraserver.io/multitech/conduit/lora-gateway-bridge_2.2.0 -r2.0_arm926ejste.ipk
170
+ root @mtcdt:~# wget https://dl.loraserver.io/multitech/conduit/lora-packet-forwarder-usb_1.4.1 -r2.0_arm926ejste.ipk
126
171
```
127
172
128
173
3 . Now this ` .ipk ` package is stored on the Conduit, you can install it
129
174
using the ` opkg ` package-manager utility. Example (assuming the same
130
175
` .ipk ` file):
131
176
``` text
132
- admin @mtcdt:~# opkg install lora-gateway-bridge_2.2.0 -r2.0_arm926ejste.ipk
177
+ root @mtcdt:~# opkg install lora-packet-forwarder-usb_1.4.1 -r2.0_arm926ejste.ipk
133
178
```
134
179
135
- 4 . Update the MQTT connection details so that LoRa Gateway Bridge is able to
136
- connect to your MQTT broker. You will find the configuration file in the
137
- ` /var/config/lora-gateway-bridge ` directory.
138
-
139
- 5 . Start LoRa Gateway Bridge and ensure it will be started on boot.
180
+ 4 . Start the packet-forwarder and enable it to start on boot.
140
181
Example:
141
182
``` text
142
- uadmin @mtcdt:~# /etc/init.d/lora-gateway-bridge start
143
- uadmin @mtcdt:~# update-rc.d lora-gateway-bridge defaults
183
+ root @mtcdt:~# /etc/init.d/lora-packet-forwarder-usb start
184
+ root @mtcdt:~# / update-rc.d lora-packet-forwarder-usb defaults
144
185
```
145
186
146
- 6 . Be sure to add the gateway to the lora-app-server.
147
- See [ Gateways] ( /lora-app-server/use/gateways/ ) .
187
+ ** Note:** on the first start of the packet-forwarder it will detect for you
188
+ the version of your ` MTAC-LORA ` cards (868 or 915). It will then automatically
189
+ generate the correct configuration for you.
190
+
191
+ Configuration is stored in ` /var/config/lora-packet-forwarder-usb ` directory
192
+ and can be modified after the first start.
193
+
194
+ The build recipe of the ` .ipk ` package can be found at:
195
+ [ https://github.com/brocaar/loraserver-yocto ] ( https://github.com/brocaar/loraserver-yocto ) .
148
196
149
- ### AEP: Setting up the packet-forwarder
197
+ #### AEP: Setting up the packet-forwarder
150
198
151
199
Use the web interface to set up the Conduit's packet forwarder. By default,
152
200
the connection will not be “secure” over https because the device uses a self-
0 commit comments