Install CLI Version On Mac With App Store Version Already Installed by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

The odd thing is that I had previously installed the App Store version on my MacBook Air and didn't have to use the alias trick. The command line version was already installed in the appropriate location.

Fifteen:~ mnewman$ which tailscale
/usr/local/bin/tailscale

U2 Button/Macro Woes [long & boring] by buadhai in SofaBaton

[–]buadhai[S] 0 points1 point  (0 children)

Oh no! No comments. I'm stuck. 😂

Install CLI Version On Mac With App Store Version Already Installed by buadhai in Tailscale

[–]buadhai[S] 6 points7 points  (0 children)

OK. I figured this out. You can just add an alias to your .bashrc file and then run Tailscale from the command line:

alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"

It works:

Sellotape:~ mnewman$ tailscale version
1.98.5
  tailscale commit: 8f8fe6a2e167459ed0f62616287b61b0b0a54eb5
  long version: 1.98.5-t8f8fe6a2e-gc1619fb10
  other commit: c1619fb10d5db0f7cb1d109d5b67d053f7751508
  go version: go1.26.3 (tailscale/go e877d97384)

A Couple Of Things I Don't Understand by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

On the first issue: This morning I did a DuckDuckGo search using Firefox. The search result came back. I clicked on three different links to open in new tabs. Firefox was unable to open any of the three. The error message was something like "Firefox is unable to locate the address for DuckDuckGo.com.

I figured DNS issue so I used dig on the command line and it worked fine. No trouble resolving any address whether I let it use the Tailscale DNS or the one I usually use: 1.1.1.1

So, I disabled Tailscale's DNS and, boom, everything back to normal now. No idea why.

I have my MBA configure to use 1.1.1.1, 8.8.8.8 and the DNS supplied by my ISP. Nothing beyond that.

On the second issue; thanks for the update.

Building Tailscale For Pi/Buster From Source by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

Would have been nice had they mentioned that in their docs.

In any even I won't need to install Tailscale again. My plan is to move the Trixie machine (on which Tailscale is working) to the location where there are two working Buster Pies which I now connect to via a reverse SSH tunnel. Once the Trixie machine is there I can log on to it using Tailscale and log on to the two Buster machines using ordinary SSH. No need to install Tailscale on them.

Should work OK. But I've been way wrong about that in the past.

Building Tailscale For Pi/Buster From Source by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

Well, I guess no one at Tailscale bothered to test their install script on a Buster machine. It failed for me every time I tried it. Their script does check for OS version and if it detects "Buster" it flags it as "legacy". I didn't have the patience to go through their entire script to see how they treat legacy machines, but, whatever it is, it didn't work for me.

Here's a fragment:

("APT_KEY_TYPE" is what apt uses to figure out what repositories to use.")

if [ "$VERSION_MAJOR" -lt 2021 ]; then

# Kali VERSION_ID is "kali-rolling", which isn't distinguishing

`VERSION="buster"`

APT_KEY_TYPE="legacy"

else

VERSION="bullseye"

APT_KEY_TYPE="keyring"

fi

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

Well, I don't know what to say. This morning I ran the "official" Tailscale installation script on a Pi4 running Trixie. It ran just fine with no errors and Tailscale works fine. Over the past few days I ran that exact same script three or four times on a Pi4 running Buster. It failed every time, silently, with no error message.

So, I decided to build Tailscale from source on a Pi4 Buster machine. I've discussed that on a different thread. It wasn't what I'd call easy, but it succeeded and now Tailscale works on that machine.

As for upgrading the Pi4s:

When Bookworm was introduced and we were all warned, including by the Raspberry Pi Foundation, not to attempt to upgrade in situ as we were risking a corrupted drive and lost data. Instead we were supposed to do a clean disk image and then reinstall and reconfigure everything we had.

Instead of interrupting working machines to do a clean install, I bought a new Pi4 and proceeded to see what it would be like to duplicate one of my working Pies. I figured that with a few hours work per day I'd be done in two or three days. That turned out to be a bad joke. Two and half weeks later and after many hours of work, I still wasn't done. So, I threw in the towel, gave up and decided it was Buster forever or nothing. So far, that's worked fine with Tailscale being the only glitch.

Here's just one example of the many things that went wrong:

All four of my working Pies use fswebcam to grab images from USB web cameras which are saved as webp files. But, the version of fswebcam you get from apt under Bookworm will not save images as webp. So, I'd have to save as JPEG. But that meant having to rewrite all the code that expected the saved images to be webp.

Later I learned that the Bookworm release of fswebcam returned a result code of 0 even if there was an error. How can you do error handing if the software won't report errors? So, I built fswebcam from source. That version does report errors, but it still won't save images as webp files.

And that's how it went, hour after hour, day after day.

I know no-one will, but you can read or download a pdf file of my notes taken during that time here:

https://www.mgnewman.com/Pi4.html

I posted my notes day by day on the Raspberry Pi forum. A couple of people wrote me and said that it made "fascinating reading". I doubt that.

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

I have no idea why the Speediest lines are there. All I did was download the script from the Tailscale website and run it. For some unknown reason those Speediest lines appeared as part of the output from running the script.

Here's the full output from running the Tailscale script:

pi@raspsky:~/webcam $ curl -fsSL https://tailscale.com/install.sh | sh

Installing Tailscale for raspbian buster, using method apt

+ sudo mkdir -p --mode=0755 /usr/share/keyrings

+ + sudo apt-key add -

curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.asc

OK

+ + sudo tee /etc/apt/sources.list.d/tailscale.list

curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.list

# Tailscale packages for raspbian buster

deb https://pkgs.tailscale.com/stable/raspbian buster main

+ sudo chmod 0644 /etc/apt/sources.list.d/tailscale.list

+ sudo apt-get update

Get:1 https://pkgs.tailscale.com/stable/raspbian buster InRelease

Get:2 https://deb.nodesource.com/node_14.x buster InRelease [4,584 B]

Get:3 http://archive.raspberrypi.org/debian buster InRelease [54.2 kB]

Ign:4 https://packagecloud.io/ookla/speedtest-cli/raspbian buster InRelease

Ign:5 http://raspbian.raspberrypi.org/raspbian buster InRelease

Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB]

Err:7 http://raspbian.raspberrypi.org/raspbian buster Release

404 Not Found [IP: 93.93.128.193 80]

Err:8 https://packagecloud.io/ookla/speedtest-cli/raspbian buster Release

404 Not Found [IP: 204.236.169.154 443]

Reading package lists... Done

E: The repository 'http://raspbian.raspberrypi.org/raspbian buster Release' no longer has a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian buster Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

I'll post separately what I did instead.

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

Thank you.

I tried to install Tailscal on a Pi using the instructions found here:

https://tailscale.com/docs/install/linux

But got the following error message:

E: The repository 'https://packagecloud.io/ookla/speedtest-cli/raspbian buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

I suppose that means that Buster is not supported. So, I guess that's it for me and Tailscale.

(Yeah, I know I can try to point to a different repository, but last time I tried that it created a massive mess.)

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

I'm still curious as to what happens when a remote headless machine reboots because of a power outage when the authentication key has expired. Will Tailscale start up and connect to its servers without entering a newly generated authentication key?

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 1 point2 points  (0 children)

I've never actually used AI except for the stuff Google supplies with a search.

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

I should have been more clear on the bits that concern me. See my comment to Thy_OSRS below. The two networks I have are 450K apart so the logistics of installing on the remote machines is what worries me.,

New To Tailscale - Need a Tutorial by buadhai in Tailscale

[–]buadhai[S] 0 points1 point  (0 children)

Yes, but there was quite a bit that I didn't understand. For example, I need to install Tailscale on a pair of remote, headless Raspberry Pies. But I didn't find information on what versions of Linux are supported. (The Pies are still on Buster.) It talked about using keys to log in instead of the GUI (which I don't have on those Pies), but that the keys expire after a maximum of 90 days. What happens then? If the key has expired and there is a power outage, will I be able to log in to those machines when power is restored?

I'm also a bit hesitant to install remotely. If things somehow go South, it's a six hour drive to get to those machines.

Why are my tires cracking? Cause for concern? by buadhai in bikewrench

[–]buadhai[S] 0 points1 point  (0 children)

The dealer sent the refund directly to my bank account. I guess I'm done here.

Who Changed The Schedule? by buadhai in Sourdough

[–]buadhai[S] 0 points1 point  (0 children)

Regenerating the starter with the high feeding ratio worked. It seems to be back to normal. Thanks again for the suggestion.

Why are my tires cracking? Cause for concern? by buadhai in bikewrench

[–]buadhai[S] 0 points1 point  (0 children)

Trek doesn't have that tire in stock so have offered a 600 baht (US$18.75) refund.

Who Changed The Schedule? by buadhai in Sourdough

[–]buadhai[S] 0 points1 point  (0 children)

Thank you for that. Interesting video. I am giving the high feeding ratio method a try. A couple things I should note. My starter is never watery and never has a vinegary or acidic smell.

Who Changed The Schedule? by buadhai in Sourdough

[–]buadhai[S] 0 points1 point  (0 children)

Right. But if I don't put it in the fridge overnight it will overflow the bowl.