mellow-io / mellow

Mellow is a rule-based global transparent proxy client for Windows, macOS and Linux. Also a Proxifier alternative.
3.55k stars 469 forks source link

大佬-ash: ./run_linux.sh: not found 求救 #284

Closed liyiranlab closed 4 years ago

liyiranlab commented 4 years ago

使用操作系统类型以及版本

RK3328 arm docker 上跑的OpenWrt SNAPSHOT r14377-7a5e4f5f00 / LuCI Master git-20.246.48839-82d4384

使用 Mellow 版本

v1.0.7 core-linux-arm64

问题描述

openwrt 上无法运行 提示 -ash: ./run_linux.sh: not found 上网查可能是什么库文件导致,实在没能力解决上来求救了。另外在ubuntu中成功跑起。想在nas网关中跑起来。

问题复现步骤

相关配置

相关日志、截图

liyiranlab commented 4 years ago

这边将上面的 #!/bin/bash 替换为 #!/bin/sh 则可以运行

liyiranlab commented 4 years ago

又有新的问题了

root@OpenWrt:~# ./run_linux.sh Detected send through address: 192.168.10.2 <------------- Make sure this is an IP address, otherwise you're in trouble. Detected send through scope: br-lan <--------- This should be a network interfac e name. Detected original gateway: 192.168.10.1 <----------------- This should be an IP address. ./run_linux.sh: line 1: realpath: not found Using config file Using DNS 8.8.8.8, 8.8.4.4 ./run_linux.sh: line 1: realpath: not found ./run_linux.sh: line 110: -tunAddr: not found RTNETLINK answers: No such file or directory RTNETLINK answers: No such process Routing table recovered. cp: can't create '/etc/resolv.conf': File exists DNS recovered. root@OpenWrt:~# RTNETLINK answers: Network unreachable Routing table is ready.

liyiranlab commented 4 years ago

openwrt安装bash,reboot后

root@OpenWrt:~# ./run_linux.sh Detected send through address: default <------------- Make sure this is an IP address, otherwise you're in trouble. Detected send through scope: br-lan <--------- This should be a network interface name. Detected original gateway: 192.168.10.1 <----------------- This should be an IP address. ./run_linux.sh: line 64: realpath: command not found Using config file Using DNS 8.8.8.8, 8.8.4.4 ./run_linux.sh: line 107: realpath: command not found ./run_linux.sh: line 111: -tunAddr: command not found RTNETLINK answers: No such process Routing table recovered. cp: can't create '/etc/resolv.conf': File exists DNS recovered. root@OpenWrt:~# RTNETLINK answers: Network unreachable Routing table is ready.

liyiranlab commented 4 years ago

大佬这个不能在docker的openwrt中跑吗?