JA93
Occasional Visitor
I updated tailscale.ipk and opkg install tailscale*.ipk (latest version) works by default.
If you fail to install tailscale.ipk then proceed with tailscale_nohf.ipk
Before installing anything you need to do clean install, means to uninstall all previous versions u had.
and
Now run update:
Now install optional entware packages:
Install tailscale:
or
Check your arch:
Choose right architecture:
After install u need to start Tailscaled:
Now check if Taiscaled is still running:
Then run simply
(alternative: tailscale up --auth-key=<your-auth-key>)
I forgot to update permissions, so execute these after installation:
Use this command to add your routes:
(you need to approve them in tailscale dashboard)
For default commands just type "tailscale" to list, or execute(example):
In order to use "tailscaled" start/stop/check use this command:
In case u want to run AdguardHome/PiHole alongside tailscale:
	
		
	
	
	
		
			
	
				
			If you fail to install tailscale.ipk then proceed with tailscale_nohf.ipk
Before installing anything you need to do clean install, means to uninstall all previous versions u had.
opkg remove tailscaleand
opkg remove tailscale_nohfNow run update:
opkg updateNow install optional entware packages:
opkg install entware-optopkg status entware-opt #confirm they are installedInstall tailscale:
opkg install tailscale*.ipkor
opkg install tailscale_nohf_*.ipkCheck your arch:
opkg print-architectureChoose right architecture:
Github - files are on my githubaarch64-k3.10 armv5sf-k3.2 armv7sf-k2.6 armv7sf-k3.2 mipselsf-k3.4 mipssf-k3.4
After install u need to start Tailscaled:
/opt/etc/init.d/S06tailscaled startNow check if Taiscaled is still running:
/opt/etc/init.d/S06tailscaled checkThen run simply
tailscale up  and click on the link to authorize.(alternative: tailscale up --auth-key=<your-auth-key>)
I forgot to update permissions, so execute these after installation:
chmod 755 /opt/bin/tailscalechmod 755 /opt/bin/tailscaledUse this command to add your routes:
tailscale up --accept-routes --advertise-routes=192.168.0.0/24,192.168.1.0/24 #(make sure to use your subnet)(you need to approve them in tailscale dashboard)
For default commands just type "tailscale" to list, or execute(example):
tailscale versionIn order to use "tailscaled" start/stop/check use this command:
/opt/etc/init.d/S06tailscaled checkIn case u want to run AdguardHome/PiHole alongside tailscale:
tailscale up --accept-dns=falsePS:
If S06tailscaled auto-exit after closing ssh, this might be indicator that you run out of RAM. Myself, I made a swap 5gb because besides Tailscale I run Skynet and some other stuff.
You can also trynohup /opt/etc/init.d/S06tailscaled start &
I made a streamlined guide which works hopefully on every Merlin. I had trouble installing on my RT-N18U but in the end I made it.
#You can use my script or install manually. Script is simple and robust, worked for me.. Github
Install Entware(from AMTM) and other necessary packages:
Go to website and download correct architecture (e.g., ARM, ARM64, x86_64).
Extract it and copy the content to update manually:
edit /opt/etc/init.d/S06tailscaled and update ur ARGS:
You can run "tailscale update" to check for latest version and also to make sure that you downloaded the correct architecture
(if the architecture was wrong you will get an error)
If everything is OK, execute command "tailscale up" which will generate a link:
Use this command to add your routes:
For default commands just type "tailscale" to list, or execute(example):
In order to use "tailscaled" start/stop/check use this command:
Credits to RandomUser777
		#You can use my script or install manually. Script is simple and robust, worked for me.. Github
wget https://raw.githubusercontent.com/bobanilic/MerlinScale/main/install_tailscale.sh && chmod +x install_tailscale.sh && ./install_tailscale.shInstall Entware(from AMTM) and other necessary packages:
opkg install ca-bundleopkg install tailscale   #(tailscale_nohf -use this if you can't install main)Extract it and copy the content to update manually:
cp /tmp/mnt/USB/FOLDER/tailscale_1.64.0_arm/tailscale /opt/bin/cp /tmp/mnt/USB/FOLDER/tailscale_1.64.0_arm/tailscaled /opt/bin/ ARGS="-tun=userspace-networking -statedir /opt/var/tailscale/" You can run "tailscale update" to check for latest version and also to make sure that you downloaded the correct architecture
(if the architecture was wrong you will get an error)
If everything is OK, execute command "tailscale up" which will generate a link:
(alternative:To authenticate, visit:
https:// login. tailscale. com/a/XXXXX
(Visit this link in your browser in order to authenticate and you're done.)
tailscale up --auth-key=<your-auth-key>)Use this command to add your routes:
tailscale up --accept-routes --advertise-routes=192.168.0.0/24,192.168.1.0/24 #(make sure to use your subnet)(you need to approve them in tailscale dashboard)
For default commands just type "tailscale" to list, or execute(example):
tailscale startIn order to use "tailscaled" start/stop/check use this command:
/opt/etc/init.d/S06tailscaled check 
Credits to Fakemanhk RedditCredits to RandomUser777
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
	
 
 
		
 
 
		


 
 
		 
 
		 
 
		