Not sure if this was just my issue but I wasn't able to install tailscale following your instructions. I believe I followed the instructions accurate up through running the first script at \config\scripts\firstboot.d\tailscale.sh when i tried to run the next script I got a "no such file or directory" error.
Router: EdgeRouter X
OS: EdgeOS v2.0.9-hotfix.7
notes: this is the first thing I did after factory reset + config via the basic setup wizard. connected over SSH from a windows11 cmd line.
Steps to replicate:
Follow steps 1 and 2 in the readme
hit enter on the last like from step 2 " /config/scripts/post-config.d/tailscale.sh"
I was able to get this installed after some troubleshooting.
I think the cause for the failure has to do with the certificate fix added in the last update to the script.
I started troubleshooting by trying to verify that the \config\tailscale\ path was created, which is one of the first step after the certs fix and the easiest thing to verify that any part of the script was successful The tailscale path had not been created despite not getting an error when running \config\scripts\firstboot.d\tailscale.sh.
Next I decided to run certificate fix outside of the script to see if I got an error and everything worked as it should despite the lines being identical.
Then I edited \config\scripts\firstboot.d\tailscale.sh to comment out the certificate fix section. the only other edit i made on the file was to change "set -e" to "set -x" (the reason for that is I've got no real experience with shell and based on some quick + lazy googling I was hoping that would let me see more info on the output of the script so I could look for any errors)
Running the script again after those edits it worked the first time I ran it so unless nobody else can replicate this issue i think there may be an issue with the new section of the tailscale script
Please let me know if anyone is able to recreate this issue. attaching the SSH lines if anyone feels the need to check it for an embarrassing mistake on my part
Not sure if this was just my issue but I wasn't able to install tailscale following your instructions. I believe I followed the instructions accurate up through running the first script at \config\scripts\firstboot.d\tailscale.sh when i tried to run the next script I got a "no such file or directory" error.
Router: EdgeRouter X OS: EdgeOS v2.0.9-hotfix.7 notes: this is the first thing I did after factory reset + config via the basic setup wizard. connected over SSH from a windows11 cmd line.
Steps to replicate:
I was able to get this installed after some troubleshooting. I think the cause for the failure has to do with the certificate fix added in the last update to the script.
I started troubleshooting by trying to verify that the \config\tailscale\ path was created, which is one of the first step after the certs fix and the easiest thing to verify that any part of the script was successful The tailscale path had not been created despite not getting an error when running \config\scripts\firstboot.d\tailscale.sh.
Next I decided to run certificate fix outside of the script to see if I got an error and everything worked as it should despite the lines being identical.
Then I edited \config\scripts\firstboot.d\tailscale.sh to comment out the certificate fix section. the only other edit i made on the file was to change "set -e" to "set -x" (the reason for that is I've got no real experience with shell and based on some quick + lazy googling I was hoping that would let me see more info on the output of the script so I could look for any errors)
start of the file after the edit was
the rest of the file was unchanged.
Running the script again after those edits it worked the first time I ran it so unless nobody else can replicate this issue i think there may be an issue with the new section of the tailscale script
Please let me know if anyone is able to recreate this issue. attaching the SSH lines if anyone feels the need to check it for an embarrassing mistake on my part