Install Syncthing 2.x for continuous file synchronisation on Debian or Ubuntu or Raspberry Pi OS

edafe.de/syncthing

Syncthing is an open source tool that synchronises files continuously across multiple devices. It transfers data between two or more of your computers, without uploading any information to the cloud.

The Syncthing 2.0 release has recently been described as ‘A Giant Leap Forward in Decentralized File Synchronization‘.

Synchronisation for every platform

Syncthing binary packages are available for Android, Windows, macOS and Linux (including Synology DSM). In addition, Synctrain enables iOS devices to “securely synchronise files with other devices that have Syncthing installed”.

The usefulness of the Syncthing Project cannot be overstated.

Running the Syncthing stable-v2 channel

These instructions are targeting the latest release of the Syncthing stable channel.

Step 1

Add the necessary release key for validation of downloaded Syncthing packages.

$ sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

Step 2

Add the Syncthing repository as a new source.

$ echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee /etc/apt/sources.list.d/syncthing.list

Step 3

Install Syncthing on your local system.

$ sudo -- bash -c 'apt update && apt install --yes syncthing apt-transport-https'

Step 4

Enable Syncthing for the current user.

$ sudo -- bash -c 'systemctl enable syncthing@$USER.service && systemctl start syncthing@$USER.service && systemctl status syncthing@$USER.service'

Step 5

You may want to edit your firewall settings to open ports for incoming and outgoing traffic.

If you are using ufw as a host-based firewall

Configure ufw to allow connections to Syncthing.

$ sudo ufw limit syncthing

If you are using firewalld as a host-based firewall

Configure firewalld to allow connections to Syncthing.

$ sudo -- bash -c 'firewall-cmd --zone=public --add-service=syncthing --permanent && firewall-cmd --reload && firewall-cmd --info-zone=public'

Step 6

Use your browser to access the Syncthing configuration page on your local system by navigating to the following address:

http://localhost:8384
Image

Step 7

Complete your setup by referring to the Syncthing documentation.

Upgrading from the v1 channel

If you have previously installed from apt.syncthing.net and are currently running Syncthing 1.x, upgrading to the stable-v2 channel is straightforward.

Remove the old APT sources configuration file.

$ sudo rm /etc/apt/sources.list.d/syncthing.list

Add the new repository for the stable-v2 channel together with its release key.

$ sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg && echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee /etc/apt/sources.list.d/syncthing.list

Upgrade to the latest stable version of Syncthing.

$ sudo -- bash -c 'apt update && apt upgrade --yes'

Darth Android

“Tech bosses are fundamentally at war with the idea that our digital devices contain general purpose computers. The general-purposeness of computers – the fact that they are all Turing-complete, universal von Neumann machines – has created tech bosses’ fortunes, but now that these fortunes have been attained, the tech sector would like to abolish that general-purposeness; specifically, they would like to make it impossible to run programs that erode their profits or frustrate their attempts at rent-seeking.” Cory Doctorow identifies the court of law as the true battleground in the War on General-Purpose Computing.

pluralistic.net

Install Syncthing for continuous file synchronisation on Debian or Ubuntu

Syncthing is an open source tool that synchronises files continuously across multiple devices. It transfers data between two or more of your computers, without uploading any information to the cloud.

Syncthing packages are available for Android, Windows, macOS and Linux (including Synology DSM). In addition, Synctrain enables iOS devices to “securely synchronise files with other devices that have Syncthing installed”.

The usefulness of the Syncthing Project cannot be overstated.

Running the Syncthing stable-v2 channel

Syncthing is included in the Debian and Ubuntu repositories, respectively. If you would rather use the most up-to-date version, you need to add the Syncthing repository to your list of APT sources.

These instructions are targeting the latest release of the Syncthing stable channel. In the following example, syncthinguser is the local username.

Step 1

Add the Syncthing release key for validation of packages downloaded from the Syncthing repository.

$ sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

Step 2

Add the Syncthing repository.

$ echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee /etc/apt/sources.list.d/syncthing.list

Step 3

Install Syncthing on your system.

$ sudo -- bash -c 'apt update && apt install --yes syncthing apt-transport-https'

Step 4

Enable Syncthing for the local user syncthinguser. Don’t forget to replace syncthinguser with your username before running the command.

$ sudo -- bash -c 'systemctl enable syncthing@syncthinguser.service && systemctl start syncthing@syncthinguser.service && systemctl status syncthing@syncthinguser.service'

Step 5

You may need to edit your firewall settings to open ports for incoming and outgoing traffic.

If you are using ufw as a host-based firewall

Configure ufw to allow connections to Syncthing.

$ sudo ufw limit syncthing

If you are using firewalld as a host-based firewall

Configure firewalld to allow connections to Syncthing.

$ sudo -- bash -c 'firewall-cmd --zone=public --add-service=syncthing --permanent && firewall-cmd --reload && firewall-cmd --info-zone=public'

Step 6

Access the Syncthing configuration page by using your browser to navigate to the following address:

http://localhost:8384

Step 7

Complete your setup by referring to the Syncthing documentation.

Upgrading from the stable-v1 channel

If you have previously installed from apt.syncthing.net and are currently running Syncthing 1.x, upgrading to the stable-v2 channel is straightforward.

Remove the old APT sources configuration file.

$ sudo rm /etc/apt/sources.list.d/syncthing.list

Add the new repository for the stable-v2 channel together with its release key.

$ sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg && echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee /etc/apt/sources.list.d/syncthing.list

Upgrade to the latest stable version of Syncthing.

$ sudo -- bash -c 'apt update && apt upgrade --yes'

revWhiteShadow recently described the Syncthing 2.0 release as ‘A Giant Leap Forward in Decentralized File Synchronization‘.

Hammerhead Karoo 2 has landed

I pre-ordered the Hammerhead Karoo 2 during the last quarter of 2020, fully aware that I might be getting a device that would still require a significant amount of “continuous enhancements”. In other words, I bought into the promise of Hammerhead delivering “the world’s finest cycling computer” through software updates. Eventually.

In many ways, the Karoo 2 already is a good bike computer. In other ways, however, the Karoo 2 is far behind its competition and most definitely a work in progress. I never considered returning the device. Instead, I look forward to seeing the improvements that Hammerhead will be introducing over time. My other cycling computer is a Wahoo Elemnt Roam.

hammerhead.io

Limited battery capacity and USB-C cable

After about 3 hours of riding, I would expect the battery of my Karoo 2 to be half-empty. On at least two occasions, however, the Karoo 2 died on me with an empty battery after just over 4 hours of use. Unless you turn off the very features which, in all likelihood, made you buy the device in the first place, charging becomes an absolute necessity on longer rides. This is easier said than done, because charging the Karoo 2 while in its mount is impossible with the cable supplied in the box. There just isn’t enough space between the base of the unit and the handlebar for a conventional USB-C plug to fit into. I use a UGREEN Right Angle USB-C to -A Cable and connect the Karoo 2 to a Zendure SuperMini 5K power bank during rides.

Despite its IP67 rating, charging the Karoo 2 in wet conditions may yet damage your device.

Since the release of the Karoo 2, a number of reviews similar to this one have been published on the Internet:

“Usually on rides I’ve found it lasts around 10–11 hours with all my power meter and heart rate sensors connected up, a route loaded, and flicking between screens. Riding without a route loaded (but still with sensors) massively increases the life per charge, to around 13 hours.”
Anna Marie Hughes

After about 10 months of using the Karoo 2, I have come to the conclusion that something must be off with either my Karoo 2 or the running times reported elsewhere

I am going to leave it there.

Komoot limited to 50 planned tours, use Ride with GPS

The Hammerhead Dashboard is supposed to facilitate the integration of the Karoo 2 with services such as Strava, Ride with GPS, Komoot and others. Unfortunately, synchronisation of available routes with any of these services does not take place automatically and requires the use of either a computer or a smart phone.

With Komoot, there is an added limitation in that it is only possible to “sync your 50 most recent planned tours”. Having used other bike computers in the past, I am stunned that this should even be an issue. Komoot users with more than 50 routes to choose from end up in a loop of having to continuously mess about just to get individual routes to show up on the Karoo 2…

The solution to the problem is to ditch Komoot entirely and use Ride with GPS.

The Dashboard itself is of limited functionality. Route planning is rudimentary at best and there are next to no tools for post-ride analysis of your data. While not necessarily a disadvantage, this needs to be spelled out clearly. Integration with third party services should be flawless. Hammerhead’s focus, meanwhile, appears to lie elsewhere.

Missing auto-lap functionality

The Karoo 2 does not offer auto-lap functionality. Currently, there is no way to set reminders of any kind. Hammerhead merely say that they are “working on adding more towards the lap functionality“. This appears to be a long-standing issue with users of the Karoo 1 as well. The auto-lap feature has reportedly spent more than a year in the “development pipeline”, yet Hammerhead are not committing to a “dedicated timeline for its implementation“.

Hammerhead have introduced auto-lap as a feature in Karoo Software Build Version 1.251.1117.

Useless live tracking links

With Software Build Version 1.187.987, Hammerhead appear to be pleased that they “fixed an issue that prevented users from viewing a Live Tracking link if they weren’t logged in ahead of clicking the link.” They are missing the point. What is preventing users from viewing any link is having to register and then authenticate every time they want to access the link. Until such time that Hammerhead get rid of these short-sighted requirements, actual owners of the Karoo 2 won’t be sharing anything.

In the meantime, getting a SIM and data plan for your Karoo 2 does not appear to make a lot of sense. Unless, that is, you’re planning on inflicting Live Tracking links on friends and family…

Hammerhead no longer require registration to view Live Tracking links. This is a welcome improvement and, in conjunction with a dedicated SIM, appears to be working well.

Wie, Du bist nicht bei Whatsapp?

“Wer Whatsapp liebt, sollte besser nicht weiterlesen, oder vielleicht gerade dann, denn Liebe macht ja bekanntlich oft blind.” Boris Pohler, selbst Lehrer und Vater von zwei Kindern, bennent den Preis für die Verwendung des weit verbreiteten Dienstes und erklärt, warum jeder Nutzer gegen deutsches Recht verstößt.

blog.pohlers-web.de

What we give away when we log on to a public Wi-Fi network

“Already 20 smartphones and laptops are ours. If he wanted to, Slotboom is now able to completely ruin the lives of the people connected.” Wouter Slotboom is one of the good guys, demonstrating to Maurits Martijn his effortless ability to retrieve people’s passwords, steal their identity, and plunder their bank accounts.

decorrespondent.nl

Click to copy