clowwindy / ShadowVPN

Removed according to regulations.
1.47k stars 1.06k forks source link

在Debian 8.1上运行报错 #136

Open harleylg opened 9 years ago

harleylg commented 9 years ago

Hyper-V上新装的Debian 8.1,无论是从shadowvpn.org上apt-get安装的,还是自己编译deb安装的,还是直接编译的,运行的时候都会报告:

harley@proxy:/etc/shadowvpn$ sudo shadowvpn -c /etc/shadowvpn/client.conf
Tue Aug  4 21:31:11 2015 warning: config key net not recognized by shadowvpn, will be passed to shell scripts anyway
Tue Aug  4 21:31:11 2015 vpn.c:119 ioctl[TUNSETIFF]: Device or resource busy
Tue Aug  4 21:31:11 2015 can not setup tun device: tun0
Tue Aug  4 21:31:11 2015 failed to create tun device
harleylg commented 9 years ago

系统换了Debian 7.8,安装的时候说依赖iproute2,但7.8上面默认安装的是iproute,而且iproute2和iproute冲突。改了control的依赖之后可以安装,但是运行报告同样的错误。

clowwindy commented 9 years ago

tun0 被占了。

YuningMiao commented 9 years ago

@harleylg 你好,请问问题最后解决了吗? warning: config key net not recognized by shadowvpn, will be passed to shell scripts anyway 这个警告不会影响使用吗?

harleylg commented 9 years ago

@YuningMiao 配置里面把tun0改成tun1似乎可以连上,那个警告无所谓的,就是个提示而已。 不过我是一直没找到占用tun0的程序,另外刚装的系统安装就有问题,似乎还是应该处理一下的好,所以没有关闭也没回复.

YuningMiao commented 9 years ago

@harleylg 还想问一下您装的是哪个版本,我刚编译的0.1.7的server.conf里面的down制定的脚本是client_down,是不是错了?

clowwindy commented 9 years ago

那个警告不影响。

YuningMiao commented 9 years ago

@clowwindy 好,谢谢,就等@aa65535 更新Luci了

wopkli commented 2 years ago

android.mk 里的LOCAL_SRC_FILES points to a missing file libshadowvpn.a 这个A文件在哪