Wiki source code of HP0D Full Hotspot for Helium

Version 74.8 by Xiaoling on 2022/05/14 15:14

Show last authors
1
2
3 (% style="text-align:center" %)
4 [[image:1651802206983-860.png||height="509" width="475"]]
5
6
7 (((
8 **HP0D Full Hotspot for Helium User Manual**
9 )))
10
11
12 **Contents:**
13
14 {{toc/}}
15
16
17 = 1. Introduction =
18
19 == 1.1 What is HP0D ==
20
21 (((
22 The HP0D is an outdoor LoRaWAN Gateway. It lets you bridge LoRa wireless network to an IP network via WiFi,Ethernet, optional 3G or 4G. The LoRa wireless allows users to send  data and reach extremely long ranges at low data rates.
23 )))
24
25 (((
26 HP0D has passed Helium Full Hotspot Approval. It supports the (% style="color:#037691" %)** miner feature from Helium** (% style="color:black" %) and has a built-in ATECC608 encryption chip. It can be used as a Helium Full Hotspot  for the project. It also supports Semtech packet forwarder and LoRaWAN Station connection, it is fully compatible with LoRaWAN protocol.HP0D supports two LoRaWAN servers at the same time, (% style="color:#037691" %)**users can use HP0D for helium mining and connects max 2 x LoRaWAN servers at the same time**.
27 )))
28
29 (((
30 (% style="color:#037691" %)**Dragino already paid HP0D $40 onboarding cost and $10 location cost for each HP0D**. (% style="color:black" %)It is ready to use for Helium, user only needs to input HNT wallet address and use QR Code to onboarding HP0D when it arrives.
31 )))
32
33 (((
34 HP0D has pre-configured standard LoRaWAN frequency bands to use for different countries. Users can also customize the frequency bands to use in their own LoRaWAN network.
35 )))
36
37 == 1.2 Specifications ==
38
39 **~ Hardware System:**
40 Linux Part:
41
42 * Raspberry Pi 4
43
44 **~ Interface:**
45
46 * 10M/100M RJ45 Ports x 1
47 * LoRaWAN Wireless
48 * Power Input: 12V 2A, DC
49
50 **~ Operating Condition:**
51
52 * Work Temperature: -20 ~~ 65°C
53 * Storage Temperature: -20 ~~ 65°C
54 * Power Input: 12V 2A, DC
55
56 == 1.3 Features ==
57
58 * Open-Source Linux system
59 * RPi4 with 2G /4G or 8G RAM
60 * Managed by Web GUI, SSH via Internet
61 * Support Semtech UDP packet forwarder
62 * Support LoRaWAN Station Connection
63 * Support Helium Miner
64 * External fiberglass antenna
65 * Firmware OTA
66 * 802.3af PoE
67 * Lighting Protection
68 * Remote Monitoring
69 * Support Helium LoRaWAN server and secondary LoRaWAN server
70 * Include prepaid $40 onboarding cost and $10 location cost.
71 * [[Remote.it remote management>>url:https://wiki.dragino.com/index.php?title=Reverse_SSH_Access#Use_Remote.it_service]].
72
73 == 1.4 Label info and login name ==
74
75 [[image:1651803959860-394.png||height="500" width="375"]]
76 **Label information:**
77 **Device host name:**    (% class="mark" %)dragino-xxxxxx
78 **Band**:  US915/AU915/AS923_1-AS923_4/KR920/EU868/IN865/RU864
79 **Miner animal name**: xxx-xxx-xxx
80 **Miner address**:       112xxxxxx
81 **Eth MAC address**: A8: 40: 41: EF: FE: CD
82 **Login**:  root/d59f2d5b (the root is the Login account for the Web-UI and SSH.(%%))
83 **SN**:  device serial number.
84
85 = 2. Quick Start & Onboarding =
86
87 The HP0D is configured as a Wi-Fi Access Point by factory default. You can access and configure the HPD after connecting to its Wi-Fi network, or via its WAN Ethernet port.
88
89 == 2.1  Connect HP0D Web UI ==
90
91 === 2.1.1 via HP0D’s Access Point ===
92
93 At the first boot of HP0D, it will auto generate a Wi-Fi network
94
95 [[image:1651804327535-321.png||height="325" width="199"]]
96
97 (% class="box infomessage" %)
98 called           : **//HPD-dragino-xxxxxx//**
99
100 (% class="box infomessage" %)
101 with password:  **//dragino+dragino//**
102 You can use a PC to connect to this Wi-Fi network. The PC will get an IP address 10.130.1.xxx and the HP0D has the default  IP 10.130.1.1
103
104 [[image:1651804397792-591.png||height="386" width="733"]]
105
106
107 === 2.1.2 Connect via HP0D hostname ===
108
109 Connect the HP0D Ethernet port to your router and HP0D will obtain an IP address. If your PC(Windows/Mac/Ubuntu) connect the same network with the HP0D, you can access the HP0D Web-UI via HP0D’s hostname.
110
111 Like: (% class="mark" %)__**//http:~/~/dragino-4ba54a//**__
112
113 [[image:1651804629009-699.png]]
114
115 === 2.1.3 Connect via Ethernet Port ===
116
117 Connect the HP0D Ethernet port to your router and HP0D will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the HP0D.
118 If you get the IP address form route, like~:// (% class="mark" %)**10.130.2.42**(%%),// you can use this IP address to connect the WEB UI or SSH access of HP0D.
119 [[image:1651804782523-623.png]]
120
121 == 2.2 Generate QR Code ==
122
123 (((
124 Go to **Miner** ~-~-> **QR Generate**, input your Helium Wallet Address, and click Generate.
125 )))
126
127 (((
128 Note: After onboarding, this wallet will become owner of this hotspot.
129 )))
130
131 [[image:image-20220506140312-1.png||height="435" width="438"]]
132
133
134 == 2.3 Onboarding Hotspot ==
135
136 (((
137 ~1. Download the Helium Hotspot APP from the Apple or Google Play store.
138 )))
139
140 (((
141 Note: the APP version need to be greater than 3.11.
142 )))
143
144 (((
145 2. To add a hotspot, select “Hotspot”. On this tab, click the ‘+ Add Hotspot’ in the mid where choose the ‘DRAGINO Miner HP0D’
146 )))
147
148 [[image:1651817186037-899.png||height="429" width="206"]] [[image:1651817194458-938.png||height="434" width="203"]]
149
150 3. Scan the QR Code you generated in the previous step.
151
152 [[image:1651828211026-220.png||height="405" width="191"]]
153
154 (((
155 4. Onboarding your device
156 )))
157
158 (((
159 Mobile APP will get info from onboarding server. If MAC address doesn’t appear, it means the network connection of mobile to onboarding server might have issue.  
160 )))
161
162 [[image:image-20220506141159-2.png||height="422" width="202"]] [[image:1651817529289-461.png||height="423" width="199"]]
163
164 [[image:1651828250802-391.png||height="421" width="197"]] [[image:1651828262668-768.png||height="416" width="196"]](% style="display:none" %)
165
166 5. Check onboarding status
167
168 You can check from mobile:
169
170 [[image:1651828391664-884.png||height="413" width="197"]] [[image:1651828401011-970.png||height="412" width="193"]](% style="display:none" %)
171
172 You can also see the hotspot status in below link:
173
174 https:~/~/explorer.helium.com/hotspots/**//<(% class="mark" %)YOUR_HOTSPORT_KEY(%%)>//**
175
176 Example:
177
178 Green Synced means hotspot works normal.
179
180 [[image:1651828427715-679.png||height="374" width="635"]]
181
182
183 == 2.4 Set the Port Forwarding ==
184
185 (((
186 Helium Hotspots may not work if the Hotspot is behind a firewall or uses an incompatible NAT type. Other times it may be because of a router configuration or the internet is offline. This article aims to help resolve any issues you may have.
187 )))
188
189 [[image:1651828514449-658.png]]
190
191 (((
192
193 )))
194
195 (((
196 Note: Please refer to more detailed Settings
197 )))
198
199 (((
200 [[https:~~/~~/docs.helium.com/troubleshooting/network-troubleshooting/>>url:https://docs.helium.com/troubleshooting/network-troubleshooting/]]
201 )))
202
203 (((
204 [[https:~~/~~/www.youtube.com/watch?v=GKusVC7ovrE>>url:https://www.youtube.com/watch?v=GKusVC7ovrE]]
205 )))
206
207 = 3. Check the configuration of HP0D =
208
209 == 3.1 LoRa frequency configuration ==
210
211 [[image:1651828687205-178.png||height="323" width="657"]]
212
213 == 3.2 Check the LoRaWAN serveraddress ==
214
215 [[image:1651828703680-156.png||height="349" width="672"]]
216
217 == 3.3 Check Miner configuration ==
218
219 [[image:image-20220506181408-1.png||height="451" width="513"]]
220
221 (((
222 **Note: Check the Region and Height, the default height is greater than 1, if it is 1 please Click the mid button of Update, and then wait 10mins to check here.**
223 )))
224
225 = 4. Installation of Antenna =
226
227 (((
228 HP0D use Fiber Glass Antenna.
229 )))
230
231 [[image:1651832158606-882.png]]
232
233 (((
234
235 )))
236
237 (((
238 User need to connect antenna cable’s SMA connector to the HP03 and connect N-Type connector to antenna and install as below:
239 )))
240
241 (((
242 [[image:1651832205608-998.png||height="349" width="198"]]
243 )))
244
245 = 5. SSH Access for Linux console =
246
247 (((
248 IP address:  IP address of HP0D or hostname of HP0D (Such as dragino-63920a)
249 )))
250
251 (((
252 Port:         22
253 )))
254
255 (((
256 User Name:      **root**
257 )))
258
259 (((
260 Password:         **Randomly generated ((% class="mark" %)found on device’s label(%%) )**
261 )))
262
263 (((
264 After logging in, you will be in the Linux console and can enter commands as shown below.
265 )))
266
267 [[image:1651832284160-991.png||height="171" width="729"]]
268
269 = **6. How to change the Wireless function of HP0D** =
270
271 The wireless function is configured as AP by default and the web page does not support configuration, if you want to configure it as client connection mode, you need to configure it manually in Linux CIL.
272
273 == **6.1 Access the Linux console.** ==
274
275 Follow the previous step of Step 5.
276
277 == 6.2 Install the package of network-manager ==
278
279 Run commands:
280
281 (% class="box infomessage" %)
282 (((
283 apt update
284 apt install network-manager
285 )))
286
287 [[image:image-20220507140730-1.png||height="402" width="728"]]
288
289 == 6.3 Reboot the device ==
290
291 Run command:
292
293 (% class="box infomessage" %)
294 (((
295 reboot
296 )))
297
298 [[image:image-20220507140814-2.png]]
299
300 == 6.4 Check the wireless type ==
301
302 Run command:
303
304 (% class="box infomessage" %)
305 (((
306 iw dev
307 )))
308
309 [[image:image-20220507140941-3.png]]
310
311 == 6.5 Connect the WiFi ==
312
313 Run command:
314
315 (% class="box infomessage" %)
316 (((
317 nmtui
318 )))
319
320 [[image:image-20220507140953-4.png]]
321
322 = 7. Trouble Shootings =
323
324 == 7.1 How to get a wallet address? ==
325
326 Download the helium Hotspots APP on the Apple or Google Play store to generate own wallet.
327
328 == 7.2 Onboarding ~-~- Unable to access Web-UI ~-~-> Miner ==
329
330 (((
331 User can login the HP0D, able to access other Web Pages except miner page.
332 )))
333
334 (((
335 If you first boot the device where you need to wait for 10 mins for initialization connection to Helium server.
336 )))
337
338 == 7.3 Onboarding ~-~- Some parameters in miner page show timeout ==
339
340 [[image:image-20220506182042-2.png||height="250" width="516"]]
341
342 [[image:1651832455372-647.png||height="224" width="520"]]
343
344 HP0D is establish connection to Helium server and not finished. And you might see above.
345
346 It might relate to the network where might up to 10mins.
347
348 == 7.4 Onboarding – Bad Gaterway ==
349
350 [[image:1651832583790-633.png]]
351
352 This is caused by the process leads too long which just need to refresh the page.
353
354 == 7.5 Onboarding ~-~- Why did QR Code generate is aways fail? ==
355
356 [[image:image-20220506182424-3.png]]
357
358 (((
359 This may be related to the current block height, if the device is synchronizing to the latest height or if the device block height is much lower than the current height as the above picture like '1 1', the QR code generation may fail.
360 )))
361
362 == 7.6 Onboarding ~-~- Why is the QR Code not quite the same as the manual? ==
363
364 [[image:1651832742262-209.png||height="297" width="365"]]
365
366 (((
367 Please ensure that you enter the correct wallet address and that your network is up and running, the user can click the button of ‘Clean’ to re-generate the QR Code.
368 )))
369
370 == 7.7 Onboarding – MAC address is ‘Unknown’ after scan QR Code ==
371
372 [[image:1651832811038-780.png||height="462" width="216"]]
373
374 (((
375 If you see the MAC Address shows the ‘Unknown’ where is due to the provision error,please contact us to help you solve.
376 )))
377
378 == 7.8 Onboarding – MAC address is being refreshed after scan QR Code ==
379
380 (((
381 After scan QR Code, Mobile APP will connect Helium onboarding server and provide the public key/ wallet address to onboarding server. Server will return the match MAC address for this hotspot.
382 )))
383
384 (((
385 If you don’t see MAC address, make sure your mobile has good internet connection.
386 )))
387
388 [[image:1651832880009-473.png]]
389
390 == 7.9 HP0D Web ~-~-> Miner ~-~-> Version shows ‘short’ ==
391
392 This is caused by the server connection delay, which does not affect the normal use.
393
394 [[image:1651832959907-357.png]]
395
396 == 7.10 Mobile APP crash after scan the QR Code? ==
397
398 * Make sure you have input the correct Wallet address to generate QR Code.
399 * Make sure your mobile app uses the same wallet address as the one to generate QR Code.
400 * Make sure your mobile app’s relevant permission are enabled.
401 * Known: The Android 11 version may cause this kind of issue.
402
403 == 7.11 Why the frequency/region is not the same what I purchased? ==
404
405 (((
406 Each HP0D is inspected and configured prior to shipping.
407 )))
408
409 (((
410 If your HP0D Web-UI – Miner region is not the same with the shell labels, please contact our support team that will solve this issue for you.
411 )))
412
413 == 7.12 Can use the frequency to a region where is not support? ==
414
415 (((
416 Please make sure that the region supports this frequency, you can confirm the appropriate frequency through this link:
417 )))
418
419 (((
420 [[https:~~/~~/docs.helium.com/lorawan-on-helium/frequency-plans>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans]]
421 )))
422
423 == 7.13 Can change the frequency of the HP0D Miner? ==
424
425 We do not recommend doing this, it may damage your device
426
427 = 8. Supports =
428
429 (((
430 If you are experiencing issues and can’t solve, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
431 )))
432
433 (((
434 With your question as detail as possible. We will reply and help you in the shortest.
435 )))
436
437 = 9. Order Info =
438
439 **HP0D-XXX**
440
441 **XXX**: Frequency Band
442
443 * 868: For Bands: EU868,IN865
444 * 915: For Bands: US915,AU915,AS923,KR920
445
446 = 10. Manufacturer Info =
447
448 (((
449 **Shenzhen Dragino Technology Development co. LTD**
450 )))
451
452 (((
453 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
454 )))
455
456 (((
457 LongCheng Street, LongGang District ; Shenzhen 518116,China
458 )))
459
460 = 11. FCC Warning =
461
462 (((
463 This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
464 )))
465
466 (((
467 ~-~- Reorient or relocate the receiving antenna.
468 )))
469
470 (((
471 ~-~- Increase the separation between the equipment and receiver.
472 )))
473
474 (((
475 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
476 )))
477
478 (((
479 ~-~- Consult the dealer or an experienced radio/TV technician for help.
480 )))
481
482 (((
483 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
484 )))
485
486 (((
487 The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
488 )))