Termux Headless Setup
Was this page helpful?
Loading OmniRoute...
.
pkg update pkg upgrade pkg install nodejs-lts python build-essential git
command above and then retry the OmniRoute install.
npx -y omniroute@latest
npm install -g omniroute omniroute
omniroute
npx omniroute
http://localhost:20128
nohup omniroute > omniroute.log 2>&1 &
pkill -f omniroute
mkdir -p ~/.termux/boot cat > ~/.termux/boot/omniroute.sh <<'EOF' #!/data/data/com.termux/files/usr/bin/sh cd "$HOME" nohup omniroute > "$HOME/omniroute.log" 2>&1 & EOF chmod +x ~/.termux/boot/omniroute.sh
ip addr show wlan0
http://PHONE_IP:20128
http://192.168.1.50:20128
export DATA_DIR="$HOME/.omniroute" omniroute
pkg install nodejs-lts python build-essential
npx -y omniroute@latest
ss -ltnp | grep 20128
pkill -f omniroute
curl http://localhost:20128