You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UbxLogger_GL-iNet_Installation_Guide.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ The GL-iNet router has three main user interfaces
66
66
67
67
1. GL-iNet Web Admin Panel (http://192.168.8.1)
68
68
2. OpenWrt LuCI web user interface (http://192.168.8.1/cgi-bin/luci)
69
-
3. SSH to the router BusyBox ash shell ()`ssh root@192.168.8.1`)
69
+
3. SSH to the router BusyBox ash shell (`ssh root@192.168.8.1`)
70
70
71
71
The first is a Grafical User Interface (GUI) for standard settings
72
72
and firmware upgrades. The second is a GUI to do more advanced settings with `OpenWrt LuCI`. Many
@@ -77,6 +77,11 @@ which will be used for setting up regular Linux stuff and `UbxLogger`.
77
77
78
78
Plug-ins can be installed from the `GL-iNet Web Admin Panel -> Applications -> Plug-ins`,
79
79
or from `OpenWrt LuCI -> System -> Software`, or from the CLI using the `oplg` package manager.
80
+
At this time it is a good idea to update the package list and install `usbutils` (for the `lsusb`
81
+
command)
82
+
83
+
> opkg update\
84
+
> opkg install usbutils
80
85
81
86
A few plugins need to be installed to be able to use MicroSD card storage and to install some
82
87
prerequisites for `UbxLogger`.These are described in the next section
@@ -104,10 +109,9 @@ Next, in `OpenWrt LuCI -> System -> Mount points`, in the section on `Moint Poin
104
109
select the device, click on the `Edit` button, and enter as mount point `/mnt/sda1`,
105
110
and click on `Save`. Then click on `Save and Apply` to complete the process.
106
111
107
-
Now you should be able to see the mounted SD card under Mounted file systems and the
112
+
Now you should be able to see the mounted SD card under `Mounted file systems` and the
108
113
SD card is ready to be used.
109
114
110
-
111
115
## Download and install `UbxLogger` software
112
116
113
117
To install the `UbxLogger` software download the installation script, run and follow the instructions
@@ -117,7 +121,7 @@ To install the `UbxLogger` software download the installation script, run and fo
117
121
118
122
The script will guide you step by step through the installation process providing sensible defaults. When the script
119
123
finishes the software and executable are installed on the micro SD card, and the user is provided with some
120
-
guidance on how to preceed with the second part of the installation.
124
+
guidance on how to proceed with the second part of the installation.
121
125
122
126
The second part of the installation is done by a separate script that is installed along with
123
127
the software. To run the second part of the install
@@ -127,7 +131,7 @@ the software. To run the second part of the install
127
131
128
132
For other platforms replace *openwrt-mips* with one of the architectures provided in the `ubxdir/sys` folder.
129
133
130
-
Thi script will create symbolic links to the executable and scripts installed during the first step, install
134
+
This script will create symbolic links to the executable and scripts installed during the first step, install
131
135
necessary packages, enable crontab and add a service (`cronatreboot`) to resume logging after a reboot.
132
136
133
137
The script will provide you with the option to install RTKLIB's `str2str` using an OpenWrt package or
@@ -183,7 +187,7 @@ To configure `UbxLogger`
183
187
Replace `identifier` with the value(s) that you selected. If you don't plan on logging navigation data - something that we recommend not to do - then you need to enter also the
184
188
approximate coordinates of the station in the configuration file.
185
189
186
-
In this phase of the installation process the software is fully functional and can be started and stopped manually, as is decribed in the [software manual][2].
190
+
In this phase of the installation process the software is fully functional and can be started and stopped manually, as is described in the [software manual][2].
187
191
188
192
## Starting and stopping the software
189
193
@@ -207,7 +211,7 @@ Crontab on OpenWrt does not support the `@reboot` directive. This directive must
207
211
The `cronatreboot` service that is installed during the second part of the install will use the commented out
208
212
directive to start logging after a (re)boot.
209
213
210
-
Note that `crontab` works with local time. To have this synchronized with `UTC`make sure that you're local time is set to `UTC`.
214
+
Note that `crontab` works with local time. To have this synchronized with `UTC`set local time to `UTC` or account for the time difference in the crontab (which can be tricky with daylight saving time).
211
215
212
216
## Remote connections
213
217
@@ -218,7 +222,7 @@ To access the router remotely through the 4G LTE interface some additional setup
218
222
### GL-iNet GoodCloud
219
223
220
224
The easiest way to achieve remote connectivity over the 4G or WAN network is via GL-iNet's [GoodCloud](https://www.goodcloud.xyz/#/login)
221
-
Cloud Management Software. *GoodCloud* uses reverse `ssh` to set up a long lasting connection. The connection is initiated by the
225
+
Cloud Management Software. *GoodCloud* uses something similar to reverse `ssh` to set up a long lasting connection. The connection is initiated by the
222
226
router, so as long as the router can connect to the Internet your are okay. No hassle with firewalls, dynamic DNS, etc.
223
227
224
228
First, enable GoodLife in the admin Web interface on the router. Then, create an account on *GoodCloud*, and bind the device
@@ -230,18 +234,12 @@ GoodCloud is free software with unlimited number of devices. There is a paid ent
230
234
231
235
### Dynamic DNS (DDNS)
232
236
233
-
Dynamics DNS (DDNS) is not needed with GoodCloud. The ip number can be retrieved from the GoodCloud interface.
234
-
235
-
However, it is a good idea to setup a dynamic DNS as backup, so that you can use a webbrowser and ssh to access the
236
-
router remotely over the 4G network (except when CG-NAT is used by the telecom provider). If you do this, it is
237
-
a good idea to limit the ip-range with access by setting the appropriate firewall rules.
238
-
239
-
You also need to enable access from the WAN to ports 80 and 22 .
237
+
Dynamics DNS (DDNS) is not needed with GoodCloud. The ip number can be retrieved from the GoodCloud interface. However, if you want, setup dynamic DNS as backup, so that you can use a webbrowser and ssh to access the
238
+
router remotely over the 4G network (except when CG-NAT is used by the telecom provider). If you do this, you must set an ip-range with appropriate Firewall rules and enable access from the WAN to ports 80 and 22 .
240
239
241
240
### Firewall settings
242
241
243
242
No modifications in the firewall settings are needed when *GoodCLoud* is used.
244
-
245
243
In case Dynamic DNS (DDNS) is used, or, if the system has a public ip, and ssh and/or web access are enabled, then it will be definitely necessary to add firewall rules to limit access to certain ip-ranges.
246
244
247
245
### Reverse ssh and other cloud platforms
@@ -262,8 +260,8 @@ and stopping the `ubxlogd` deamon and automated conversion and file transfer.
262
260
[2]. H. van der Marel (2024), UbxLogger Software Manual, TU Delft, September 2024.
263
261
264
262
265
-
[1]: <UbxLogger_Hardware_manual.md>"H. van der Marel (2024), UbxLogger Hardware Manual, TU Delft, September 2024."
266
-
[2]: <UbxLogger_Software_manual.md>"H. van der Marel (2024), UbxLogger Software Manual, TU Delft, September 2024."
263
+
[1]: <UbxLogger_Hardware_Manual.md>"H. van der Marel (2024), UbxLogger Hardware Manual, TU Delft, September 2024."
264
+
[2]: <UbxLogger_Software_Manual.md>"H. van der Marel (2024), UbxLogger Software Manual, TU Delft, September 2024."
Copy file name to clipboardExpand all lines: docs/UbxLogger_Hardware_Manual.md
+14-25Lines changed: 14 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ must first be configured to send raw measurement data to the USB port. We use u-
45
45
the proper COM port.
46
46
2. Open `View->Messages View`, select `UBX-MON-VER` in the left pane, and check that the firmware version is `1.32` or higher. If not, upgrade
47
47
the firmware to version 1.32.
48
-
3. Open `View->Generation 9 Configuration View`, deselect `SBAS` and `QZSS`(unless you really want this data), and send configuration to
48
+
3. Open `View->Generation 9 Configuration View`, deselect `SBAS` and `QZSS`if not needed, and send configuration to
49
49
RAM+BBR+Flash
50
50
4. Open `View->Configuration View`
51
51
@@ -76,18 +76,18 @@ OpenWrt saves the raw receiver data to the router's MicroSD card, optionally con
76
76
optionally send it to an upstream server using the 4G connection.
77
77
78
78
<figure>
79
-
<img src="20240915_162004.jpg" width="800"
79
+
<img src="20240915_162004.jpg" width="600"
80
80
alt="GL-iNet basic GNSS logger">
81
-
<figcaption>GL-iNet basic GNSS logger with a single U-blox ZED-F9P.</figcaption>
81
+
<figcaption><em><small>GL-iNet basic GNSS logger with a single U-blox ZED-F9P.</small></em></figcaption>
82
82
</figure>
83
83
84
84
\
85
85
With an additional USB hub the router can log data from more than one receiver.
86
86
87
87
<figure>
88
-
<img src="20240915_161440.jpg" width="800"
88
+
<img src="20240915_161440.jpg" width="600"
89
89
alt="GL-iNet dual GNSS logger">
90
-
<figcaption>GL-iNet dual GNSS logger with two U-blox ZED-F9P's.</figcaption>
90
+
<figcaption><em><small>GL-iNet dual GNSS logger with two U-blox ZED-F9P's.</small></em></figcaption>
91
91
</figure>
92
92
93
93
\
@@ -115,10 +115,7 @@ installation manual.
115
115
116
116
## Raspberry Pi with Teltonika RUT240 4G router
117
117
118
-
This setup is now obsolete as the *GL-iNet X750* is our preferred platform because of the
119
-
lower power requirements and ease of installation and use. Some description may be added
120
-
at a later time for historical reasons. We use the hardware setup with Raspberry Pi also as
121
-
a reference benchmark for comparisons.
118
+
This setup on a Raspberry Pi is pretty standard and not further discussed (The *GL-iNet X750* is our preferred platform because of the lower power requirements).
122
119
123
120
## UbxLogger software
124
121
@@ -147,33 +144,25 @@ upstream server, desktop or laptop using the same scripts.
147
144
148
145
All data files follow the RINEX3 file naming convention
All elements are fixed length and are separated by an underscore “_” except
153
150
for the file type (`ubx`, `rnx` or `crx`) and optional compression field (`.gz`)
154
151
that use a period “.” as a separator.
155
152
156
-
The 9 character station name `SITExxST#` consists of a 4-character site name `SITE` (e.g.
157
-
'ZEGV', 'ROVN', ...), a fixed separator `xx`, and an instrument sub-identifier `ST#`.
158
-
Note that we cannot use `_` or `-`as separators or in the names, as `_` is reserved for
153
+
The 9 character station name `SITE9CHAR` consists usually follows the convention `SITEMRCCC` with a 4-character site name `SITE` (e.g.
154
+
'ZEGV', 'ROVN', ...), two decimals `MR` for the monument and receiver number, and the country code `CCC`.
155
+
However, you can use any naming convention as long as the total length does not exceed 9 characters, and you don't use `_` or `-` in the name, as `_` is reserved for
159
156
separating fields in the RINEX name, nor can we use `-` as this is very
160
-
awkward for shell scripting. The `xx` sets it also apart from the IGS naming convention.
161
-
162
-
The instrument identifier `ST#` can basically be anything as long as it is 3 characters, so
163
-
that the total length of the station name does not exceed 9 characters. A sensible
164
-
naming scheme could be the following: two characters `ST` (for stratum) identifying the
165
-
foundation depth followed by a number `#` to indicate the location at a site (to cover
166
-
situations when there are multiple instrument locations at a site). The stratum `ST` can either
167
-
be *TS* an instrument embeded in the top soil, *DF* for a deeply founded instrument, or *SA*,
168
-
*SB*, *SC*, etc., to indicate a specific stratum in the soil layers.
157
+
awkward for shell scripting.
169
158
170
159
The software is managed through the `ubxlogd` script. The syntax is
0 commit comments