RTKBase: a GUI for your own Gnss Base Station

It’s an Orange Pi Zero, the image will works.

1 Like

New images available with more boards supported :

Armbian Image (Debian 12 Bookworm) with RTKBase 2.5.0 for :

  • Orange Pi Zero
  • Orange Pi Zero 2 (testing)
  • Orange Pi Zero 3 (testing)
3 Likes

Hello, has anyone experienced this issue. I lose rtk and then I turn off and then on the Main service and I get rtk again.

Could this be the usb cable from the orange pi to the f9p or something else. This happens randomly.

Hi,

I have had RTK_Base running for a while, but now I can’t access the web page.

I just get a 403 Forbidden. I’ve tried remove and install (with no errors), but still a 403.

Anyone tried this ? any solutions?

BR
Jens

Hi, I am attempting to do my first install with an Orange pi 3 but am running into trouble. I am trying to use the ready to flash installation method. Upon turning the device on I get the following screens.



Check the diagnostic view. Perhaps you could see what happened.

I can’t see the details, but everything seems fine. Now you should open a web browser on another device and connect to the orange pi zero, with http://basegnss.local or http://ip_address_of_your_opi

Could you open a terminal on the computer running RTKBase with ssh ? If yes, check the Web server status with sudo systemctl status rtkbase_web

Hi Stefal

This is what i get:
rtkbase_web.service - RTKBase Web Server
Loaded: loaded (/etc/systemd/system/rtkbase_web.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-03-28 09:47:21 CET; 4s ago
Main PID: 4365 (python)
Tasks: 1 (limit: 1595)
CPU: 3.897s
CGroup: /system.slice/rtkbase_web.service
└─4365 /home/pi/rtkbase/venv/bin/python /home/pi/rtkbase/web_app/server.py

Mar 28 09:47:25 raspberrypi python[4365]: File “/home/pi/rtkbase/venv/lib/python3.9/site-packages/flask_socketio/init.py”, line 684, in run
Mar 28 09:47:25 raspberrypi python[4365]: run_server()
Mar 28 09:47:25 raspberrypi python[4365]: File “/home/pi/rtkbase/venv/lib/python3.9/site-packages/flask_socketio/init.py”, line 661, in run_server
Mar 28 09:47:25 raspberrypi python[4365]: eventlet_socket = eventlet.listen(addresses[0][4],
Mar 28 09:47:25 raspberrypi python[4365]: File “/home/pi/rtkbase/venv/lib/python3.9/site-packages/eventlet/convenience.py”, line 78, in listen
Mar 28 09:47:25 raspberrypi python[4365]: sock.bind(addr)
Mar 28 09:47:25 raspberrypi python[4365]: OSError: [Errno 98] Address already in use
Mar 28 09:47:25 raspberrypi systemd[1]: rtkbase_web.service: Main process exited, code=exited, status=1/FAILURE
Mar 28 09:47:25 raspberrypi systemd[1]: rtkbase_web.service: Failed with result ‘exit-code’.
Mar 28 09:47:25 raspberrypi systemd[1]: rtkbase_web.service: Consumed 3.938s CPU time.

It looks like you have another web server running on this computer.
Kill this other server, or change the port used by RTKBase (in settings.conf) and you could access it with http://ip:port

● str2str_tcp.service - RTKBase Tcp
Loaded: loaded (/etc/systemd/system/str2str_tcp.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-03-27 19:42:21 UTC; 16h ago
Process: 24672 ExecStart=/home/basegnss/rtkbase/run_cast.sh in_serial out_tcp (code=exited, status=0/SUCCESS)
Main PID: 24679 (str2str)
Tasks: 2 (limit: 906)
Memory: 352.0K
CPU: 8min 49.467s
CGroup: /system.slice/str2str_tcp.service
└─24679 /usr/local/bin/str2str -in serial://ttyACM0:115200:8:n:1#ubx -out tcpsvr://:5015 -b 1 -t 0 -fl /home/basegnss/rtkbase/logs/str2str_tcp.log

Mar 28 12:01:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:01:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:01:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:02:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:02:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:02:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:03:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:03:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:03:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:04:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:04:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:04:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:05:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:05:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:05:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…

– Journal begins at Thu 2024-03-28 00:00:11 UTC, ends at Thu 2024-03-28 12:05:29 UTC. –
Mar 28 04:58:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 04:58:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 04:59:18 [CC—] 174324564 B 38016 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 04:59:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 04:59:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:00:18 [CC—] 174628864 B 43481 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:00:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:00:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:01:18 [CC—] 174930968 B 42049 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:01:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:01:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:02:18 [CC—] 175232432 B 42661 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:02:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:02:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:03:18 [CC—] 175530092 B 40590 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:03:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:03:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:04:18 [CC—] 175837052 B 40467 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:04:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:04:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:05:18 [CC—] 176147440 B 39612 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:05:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:05:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:06:18 [CC—] 176459752 B 39501 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:06:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:06:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:07:18 [CC—] 176771036 B 39445 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:07:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:07:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:08:18 [CC—] 177080360 B 39412 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:08:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:08:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:09:18 [CC—] 177389880 B 39130 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:09:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:09:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:10:18 [CC—] 177699216 B 39125 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:10:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:10:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:11:18 [CC—] 178008472 B 38374 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:11:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:11:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:12:18 [CC—] 178317460 B 38741 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:12:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:12:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:13:18 [CC—] 178625596 B 38780 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:13:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:13:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:14:18 [CC—] 178934220 B 39002 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 05:14:59 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 05:14:59 doroslovobazna run_cast.sh[24679]: 2024/03/28 05:15:18 [CC—] 179242332 B 38958 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Mar 28 11:50:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:50:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:50:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:51:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:51:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:51:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:52:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:52:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:52:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:53:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:53:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:53:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:54:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:54:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:54:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:55:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:55:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:55:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:56:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:56:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:56:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:57:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:57:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:57:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:58:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:58:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:58:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:59:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:59:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:59:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:00:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:00:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:00:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:01:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:01:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:01:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:02:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:02:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:02:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:03:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:03:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:03:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:04:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:04:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:04:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 12:05:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 12:05:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 12:05:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…

I don’t seem to be able to access the page. Get a refused to connect error on the browser. Both using http://basegnss.local or using the IP address of the orange pi. Have failed with both my iPhone and windows 11 desktop. I am able to ping the IP address successfully. It’s also shows with the basegnss hostname in an IP tracker

BIG Thank you!

When str2str_tcp is in waiting state, it means nothing is connected with it. So all other services are off.
You should look at the str2str_ntrip_A / B logs

Look at sudo systemctl status rtkbase_web

I understand that, when this happens I restart the main service from my phone using Tailscale to access the base from the field and then it works again for a few hours. Is it possible that the usb cable from the orange pi to f9p could be the problem?

Yes, because the because the amount of data received by str2str is no longer increasing. It’s stuck at 288451012 B

Mar 28 11:50:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:50:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:51:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:51:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:51:20 [CW—] 288451012 B 0 bps (0) /dev/ttyACM0 (1) waiting…
Mar 28 11:52:01 doroslovobazna systemd-journald[19566]: Suppressed 11 messages from str2str_tcp.service
Mar 28 11:52:01 doroslovobazna run_cast.sh[24679]: 2024/03/28 11:52:20 [CW—] 288451012 B 0 bps (0) 

This is the response from that command.

Thanks,
Now please enter this:

su - basegnss

enter the password (basegnss!), then

sudo ~/rtkbase/venv/bin/python ~/rtkbase/web_app/server.py

I need to see the errors output

Sorry for the slow responses. Been busy around here with calving.