"vault backup: 2026-04-05 15:20:11 from Flow"
This commit is contained in:
@@ -1,55 +1,6 @@
|
|||||||
Pixel 2, currently running Ubuntu Touch, installed by UBPorts Installer
|
Pixel 2, currently running LineageOS
|
||||||
|
|
||||||
System starts off read only. For uh... security or something like that. Disable it with ```sudo mount -o remount,rw /```, then add the following conf file.
|
|
||||||
#### sudo nano /etc/init/force-rw.conf
|
|
||||||
|
|
||||||
|
Access on Tailscale
|
||||||
|
```bash
|
||||||
|
ssh u0_a208@100.127.187.60 -p 8022
|
||||||
```
|
```
|
||||||
description "Force Root Writable"
|
|
||||||
start on mounted MOUNTPOINT=/
|
|
||||||
task
|
|
||||||
script
|
|
||||||
mount -o remount,rw /
|
|
||||||
end script
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
# Tailscale Setup
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo apt update && sudo apt install curl
|
|
||||||
|
|
||||||
curl -fsSL https://tailscale.com/install.sh | sh
|
|
||||||
|
|
||||||
sudo chmod 666 /dev/net/tun
|
|
||||||
|
|
||||||
sudo tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
|
|
||||||
|
|
||||||
sudo tailscale up --ssh
|
|
||||||
```
|
|
||||||
|
|
||||||
#### /etc/init/tailscaled.conf
|
|
||||||
|
|
||||||
```
|
|
||||||
description "Tailscale Service"
|
|
||||||
start on (filesystem and net-device-up IFACE=wlan0)
|
|
||||||
stop on runlevel [!2345]
|
|
||||||
respawn
|
|
||||||
|
|
||||||
script
|
|
||||||
# 1. Clean up environment
|
|
||||||
mkdir -p /run/tailscale
|
|
||||||
mkdir -p /var/lib/tailscale
|
|
||||||
rm -f /run/tailscale/tailscaled.sock
|
|
||||||
|
|
||||||
# 2. Start the DAEMON (No --ssh flag here)
|
|
||||||
/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --tun=userspace-networking --socks5-server=localhost:1055 &
|
|
||||||
|
|
||||||
# 3. Give the daemon and Wi-Fi time to handshake
|
|
||||||
sleep 15
|
|
||||||
|
|
||||||
# 4. Run the CLI to enable SSH and networking
|
|
||||||
/usr/bin/tailscale up --ssh --tun=userspace-networking
|
|
||||||
end script
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user