Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望提高设置ipv6的自动化 #11724

Closed
jdfq opened this issue Dec 7, 2018 · 3 comments
Closed

希望提高设置ipv6的自动化 #11724

jdfq opened this issue Dec 7, 2018 · 3 comments

Comments

@jdfq
Copy link

jdfq commented Dec 7, 2018

一个水贴,只是想说说。Xndroid就很好。XX-Net在win7,我以前设置好teredo的,还手动修改了start.bat,能正常工作。结果每次更新,都自动重写了start.bat,造成失效。前些时候更新后,就不能正常启动ipv6了。我想,应该能够实现在新安装的普通win7系统上自动设置teredo吧?不然小白我搞不定了。

@jdfq
Copy link
Author

jdfq commented Dec 7, 2018

此贴:https://github.com/XX-net/XX-Net/wiki/IPv6-Win7-%E5%B0%8F%E7%99%BD%E6%8C%87%E5%BC%95
中的:

在“start.bat”中添加下面两句,实现XX-net执行自启

netsh int ipv6 add route ::/0 "Teredo Tunneling Pseudo-Interface"
SET PYTHONPATH="%~dp0%start.vbs" console

确定不应该是这个?:

将“start.bat”改为下面两句,实现XX-net执行自启

@echo off
netsh int ipv6 add route ::/0 "Teredo Tunneling Pseudo-Interface" metric=1
SET PYTHONPATH=
SET PYTHONHOME=
"%~dp0%start.vbs" console

@jdfq
Copy link
Author

jdfq commented Dec 7, 2018

不知道为什么暂时能用了,可能是因为:#8709
然而我是win7。即使不一定,即使xx不能做到自动设置,在可能有关的系统环境中直接给个友情提示也好啊。

@SeaHOH
Copy link
Contributor

SeaHOH commented Dec 7, 2018

如果不乱搞系统,teredo 在可用的环境中是不需要那么多乱七八糟的设置,只需一条 cmd 命令就能使用。
影响使用的要素不可能全部列出来给你看,因为数量太多了你也不愿意看。

现在的隧道设置 UI 就已经是为了方便小白才加入的,但这是在不随意修改无关设置的基础上。
如果这样还嫌麻烦,其实有很多其它工具 IPv6 不是必须的网络条件。

关于 start.bat 被更新的问题,你完全可以用其它名称,为什么非要用这个呢?

@SeaHOH SeaHOH closed this as completed Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants