EasyN2N 常见问题解决方法
这里记录一些我个人使用过程中遇到的问题,可能不是很全面,往后会逐步增加
服务器监控
- EasyN2N免费及捐赠服务器均已加入监测功能
- 可以查看当前服务器运行状态,同时也可以查询本机是否被服务器屏蔽
调试模式
- 遇到一些启动不了的故障时,可以先使用调试模式查阅日志
- 入口:主界面菜单 – 常见问题 – 调试模式
WARNING: supernode not responding, now trying
send REGISTER_SUPER to supernode …….. asking for IP address
- supernode(服务器)没有正常运行
- supernode若正常运行,但客户端提示上述错误,建议排查连接性(考虑端口屏蔽、UDP阻断等)
- 若自建服务器,检查防火墙是否放行端口或关闭(阿里云、腾讯云等还需放行安全组)
- edge和supernode版本不匹配
- 触发本站免费及捐赠服务器的大流量屏蔽机制,点此查询是否被屏蔽
- 为防止滥用,免费及捐赠服务器均会不定期更换地址和端口,如遇此问题请尝试重新获取服务器信息
ERROR: authentication error, MAC or IP address already in use or not released yet by supernode
- 等待2分钟左右,supernode会释放占用的MAC和IP,然后edge会自动重新分配地址
- 服务端使用 -M 参数启动
- 强制结束进程(SIGKILL)则会导致edge没来得及向supernode报告,所以需要在结束edge进程前,发送终止信号(SIGINT、SIGTERM),对应Windows命令行下则需以Ctrl+C结束
连接正常,但ping不通对方
- 此问题大概率是Windows系统自带防火墙的问题,先尝试关闭
- 检查是否给予edge(客户端)管理员权限,导致程序无法给虚拟网卡分配IP
- 检查本机是否存在多张TAP网卡(比如TeamView就可能会和N2N虚拟网卡冲突),使用 -d “网卡名称” 来指定EasyN2N使用的网卡
- 使用EasyN2N菜单 – 常见问题 – 调试模式,分析日志
自动分配IP,获取到重复IP
- 检查附加参数中
-I
参数值是否相同,如果相同,则可能导致分配到相同IP,需修改为不一样的值
启动后,ping自己的虚拟IP不通
- 检查是否给予edge(客户端)管理员权限,导致程序无法给虚拟网卡分配IP
- 检查本机是否存在多张TAP网卡(比如TeamView就可能会和N2N虚拟网卡冲突),使用 -d “网卡名称” 来指定EasyN2N使用的网卡
UPnP、NAT-PMP……failed
no IGD UPnP device found on the network
- 检查路由器是否打开UPnP开关
- 若无法操作UPnP开关,则此条提示不影响使用(可以通过附加参数
--no-port-forwarding
关闭)
连接正常,但容易中断
- Windows下的N2N数据传输(直连或中转)均通过UDP传输,在部分情况下,运营商会对UDP数据进行一定的限制,参考这篇:聊聊运营商对UDP的QoS限制和应对
- 解决方法:
- 1. 附加参数里使用 -S2强制使用服务器进行中转传输,使用教程(Linux端也可以用 -S1)
- 2. 伪装UDP传输(如 UDP2raw *需自建服务器,EasyN2N内置或付费捐赠服务器均不支持)
- 3. 通过Linux中转(Linux支持N2N的TCP传输
-S2
参数) - 4. 使用UDP over TCP方法将UDP数据转换为TCP数据传输(教程在此)
- 同时也需要考虑服务器的稳定性(如果无法直连,尽量选择低延迟服务器)
自建服务端能不能防止服务器公开?
- 有一些朋友自建的N2N服务端(supernode),又不想服务端被公开连接,可以尝试此文里的方法 N2N服务端的几种验证方式
N2N有手机版吗?
WSAGetLastError ……
- 这个问题暂未有明确原因及解决方法,微软官方的错误码说明
保存失败检查目录写入权限
- 打开 n2n_client\config\ 目录,分别新建三个文件,不用填任何内容(注意扩展名)
- config.ini | free_server.ini | plus_server.ini
连接正常,ping的通,但找不到房间(或找得到房间,但无法加入)
- 这个是N2N本身的问题。虽然看似ping通了,但是真实的联机原理和ping还是不一样的。目前除了本站列举的几个方法而外,暂时也没有其他的解决方法,还存在相当一部分游戏是不支持的。参考:
- 附加参数添加
-E
参数 - N2N组建虚拟局域网联机遇到搜不到房间的问题一例(网卡优先级)
- N2N组建虚拟局域网联机遇到搜不到房间的问题一例(广播)
- N2N组建虚拟局域网联机遇到搜不到房间的问题一例(绑定IP)
505 条评论
站长你好这种情况要怎么解决
尝试过重装网卡也无法解决
[2023-09-21 13:08:56] adding supernode = n2n.s1.bugxia.com:51416
[2023-09-21 13:08:56] starting n2n edge 3.1.1-16-g23e168b-dirty-r1200 x64_static May 8 2022 23:45:52
[2023-09-21 13:08:56] using compression: none.
[2023-09-21 13:08:56] using null cipher.
[2023-09-21 13:08:56] number of supernodes in the list: 1
[2023-09-21 13:08:56] supernode 0 => n2n.s1.bugxia.com:51416
[2023-09-21 13:08:56] WARNING: encryption is disabled in edge
[2023-09-21 13:08:56] successfully created resolver thread
[2023-09-21 13:08:56] successfully created port mapping thread
[2023-09-21 13:08:56] use manually set IP address
[2023-09-21 13:08:56] created local tap device IP: 192.168.66.6, Mask: 255.255.255.0, MAC: 00:FF:9C:99:9E:BA
[2023-09-21 13:08:56] edge started
[2023-09-21 13:08:56] successfully joined multicast group 224.0.0.68:1968
[2023-09-21 13:08:58] WARNING: NAT-PMP invalid response type 9872
[2023-09-21 13:08:58] WARNING: no IGD UPnP device found on the network
[2023-09-21 13:09:08] WARNING: supernode not responding, now trying [n2n.s1.bugxia.com:51416]
我这里调试显示系统不到指定的路径。
@sand
17/Sep/2023 19:06:51 [edge_utils.c:3571] adding supernode = n2n.s2.bugxia.com:52419
17/Sep/2023 19:06:51 [edge.c:1112] starting n2n edge 3.1.1-16-g23e168b-dirty-r1200 x64_static May 8 2022 23:45:52
17/Sep/2023 19:06:51 [edge.c:1118] using compression: none.
17/Sep/2023 19:06:51 [edge.c:1119] using null cipher.
17/Sep/2023 19:06:51 [edge_utils.c:399] number of supernodes in the list: 1
17/Sep/2023 19:06:51 [edge_utils.c:401] supernode 0 => n2n.s2.bugxia.com:52419
17/Sep/2023 19:06:51 [edge_utils.c:474] WARNING: encryption is disabled in edge
17/Sep/2023 19:06:51 [edge_utils.c:490] successfully created resolver thread
17/Sep/2023 19:06:51 [edge_utils.c:495] successfully created port mapping thread
17/Sep/2023 19:06:51 [edge.c:1149] automatically assign IP address by supernode
17/Sep/2023 19:06:51 [edge.c:1221] send REGISTER_SUPER to supernode [n2n.s2.bugxia.com:52419] asking for IP address
17/Sep/2023 19:06:51 [edge.c:1232] received REGISTER_SUPER_ACK from supernode for IP address asignment
Open device [name={9E88DE11-BC70-4CC6-AB07-C1130BC6D6ED}][ip=172.18.79.246][ifName=本地连接 2][MTU=1290][mac=00:FF:9E:88:DE:11]
‘netsh’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
WARNING: Unable to set device 本地连接 2 IP address [netsh interface ip set address “本地连接 2” static 172.18.79.246 255.255.255.0]
‘netsh’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
WARNING: Unable to set device 本地连接 2 parameters MTU=1290 store=persistent [netsh interface ipv4 set subinterface “本地连接 2” mtu=1290 store=persistent]
17/Sep/2023 19:06:51 [edge.c:1258] created local tap device IP: 172.18.79.246, Mask: 255.255.255.0, MAC: 00:FF:9E:88:DE:11
17/Sep/2023 19:06:51 [edge.c:1356] edge started
17/Sep/2023 19:06:51 [edge_utils.c:1154] successfully joined multicast group 224.0.0.68:1968
请按任意键继续. . .
@sand
关键行:
————————–
‘netsh’ 不是内部或外部命令,也不是可运行的程序
————————–
搜索引擎可以找到解决方法
@sand
17/Sep/2023 18:59:05 [edge_utils.c:3571] adding supernode = n2n.s2.bugxia.com:52419
17/Sep/2023 18:59:05 [edge.c:1112] starting n2n edge 3.1.1-16-g23e168b-dirty-r1200 x64_static May 8 2022 23:45:52
17/Sep/2023 18:59:05 [edge.c:1118] using compression: none.
17/Sep/2023 18:59:05 [edge.c:1119] using null cipher.
17/Sep/2023 18:59:05 [edge_utils.c:399] number of supernodes in the list: 1
17/Sep/2023 18:59:05 [edge_utils.c:401] supernode 0 => n2n.s2.bugxia.com:52419
17/Sep/2023 18:59:05 [edge_utils.c:474] WARNING: encryption is disabled in edge
17/Sep/2023 18:59:05 [edge_utils.c:490] successfully created resolver thread
17/Sep/2023 18:59:05 [edge_utils.c:495] successfully created port mapping thread
17/Sep/2023 18:59:05 [edge.c:1149] automatically assign IP address by supernode
17/Sep/2023 18:59:05 [edge.c:1221] send REGISTER_SUPER to supernode [n2n.s2.bugxia.com:52419] asking for IP address
17/Sep/2023 18:59:05 [edge.c:1232] received REGISTER_SUPER_ACK from supernode for IP address asignment
Open device [name={08C54CEA-2D2E-4799-BD4B-7A22DF2A791B}][ip=172.18.79.84][ifName=以太网 2][MTU=1290][mac=00:FF:08:C5:4C:EA]
请按任意键继续. . .
@sand
两边分别显示这两个,可以从小组名称那里互相看到,但测试的时候状态就会显示失败
您好,请问一下我的小黄鸭ping不到自己,在测试工具里检测跃点数时不显示虚拟网卡是怎么回事呀
@Jin
您好,刚发现进小黄鸭的时候显示虚拟网卡安装失败,之后手动安装虚拟显卡的时候一直有错误,请问和这个问题有关系吗
@Jin
有关系,因为虚拟网卡是小黄鸭的核心组件。虚拟网卡安装出错,需要根据手动安装时的报错信息逐步分析解决
@Bug侠
感谢站长大大回复,错误只显示an error ocurred installing TAP device,前几个月的时候还没啥问题.突然不行了,安装tap时报错之后点确定依然能完成安装,小黄鸭运行的时候也有绿对勾,就是调取网卡信息的时候不显示虚拟网卡,请问咋解决呀,如果安装别的虚拟网卡的话可以被小黄鸭调用吗
问问我朋友的显示防火墙状态未知然后ping自己IP不通是什么问题QAQ
你好,请问我朋友尝试重装重下几次发现easyn2n还是会出现乱码是什么情况,测试工具等也打不开
@114514
界面乱码解决:进入【设置 -> 时间和语言 -> 语言与区域 ->管理语言设置->更改系统区域设置】,取消勾选 Beta版:使用Unicode UTF-8提供全球语言支持,然后重启系统即可
站长你好,查看服务器监控显示获取黑名单失败,但是还是有些能用,可是钢4联机的时候刚进去一会就会显示掉线,是怎么回事啊
[2023-08-31 23:55:28] received REGISTER_SUPER_ACK from supernode for IP address asignment
[2023-08-31 23:55:28] created local tap device IP: 172.32.122.86, Mask: 255.255.255.0, MAC: 00:FF:21:6E:09:54
[2023-08-31 23:55:28] edge started
[2023-08-31 23:55:28] successfully joined multicast group 224.0.0.68:1968
[2023-08-31 23:55:28] [OK] edge <<>> supernode
[2023-08-31 23:55:30] WARNING: NAT-PMP invalid response type 0
[2023-08-31 23:55:30] WARNING: NAT-PMP local TCP port 58068 mapping failed
[2023-08-31 23:55:30] WARNING: NAT-PMP invalid response type 0
[2023-08-31 23:55:30] WARNING: NAT-PMP local UDP port 58068 mapping failed
[2023-08-31 23:55:38] WARNING: no IGD UPnP device found on the network
[2023-08-31 23:59:10] WARNING: supernode not responding, now trying [n2n.s3.bugxia.com:64421]
怎么用不了啊
[2023-08-30 22:58:30] adding supernode = ******
[2023-08-30 22:58:30] starting n2n edge 3.1.1-16-g23e168b-dirty-r1200 x64_static May 8 2022 23:45:52
[2023-08-30 22:58:30] using compression: none.
[2023-08-30 22:58:30] using null cipher.
[2023-08-30 22:58:30] number of supernodes in the list: 1
[2023-08-30 22:58:30] supernode 0 => *****
[2023-08-30 22:58:30] WARNING: encryption is disabled in edge
[2023-08-30 22:58:30] successfully created resolver thread
[2023-08-30 22:58:30] successfully created port mapping thread
[2023-08-30 22:58:30] automatically assign IP address by supernode
[2023-08-30 22:58:30] send REGISTER_SUPER to supernode [********] asking for IP address
[2023-08-30 22:58:30] received REGISTER_SUPER_ACK from supernode for IP address asignment
[2023-08-30 22:58:30] created local tap device IP: 172.20.40.207, Mask: 255.255.255.0, MAC: 00:FF:C6:34:57:6D
[2023-08-30 22:58:30] edge started
[2023-08-30 22:58:30] successfully joined multicast group 224.0.0.68:1968
[2023-08-30 22:58:32] NAT-PMP added TCP port mapping: 119.186.156.173:63065 -> localhost:63065
[2023-08-30 22:58:32] NAT-PMP added UDP port mapping: 119.186.156.173:63065 -> localhost:63065
[2023-08-30 22:58:42] WARNING: supernode not responding, now trying [********]
另一台就出这个,俩机器故障都不一样。。。。
@xcw
这一台出问题了,连不上服务器
supernode not responding
[2023-08-30 23:05:46] adding supernode =****
[2023-08-30 23:05:46] starting n2n edge 3.1.1-16-g23e168b-dirty-r1200 x64_static May 8 2022 23:45:52
[2023-08-30 23:05:46] using compression: none.
[2023-08-30 23:05:46] using null cipher.
[2023-08-30 23:05:46] number of supernodes in the list: 1
[2023-08-30 23:05:46] supernode 0 => ******
[2023-08-30 23:05:46] WARNING: encryption is disabled in edge
[2023-08-30 23:05:46] successfully created resolver thread
[2023-08-30 23:05:46] successfully created port mapping thread
[2023-08-30 23:05:46] automatically assign IP address by supernode
[2023-08-30 23:05:46] send REGISTER_SUPER to supernode [******] asking for IP address
[2023-08-30 23:05:46] received REGISTER_SUPER_ACK from supernode for IP address asignment
[2023-08-30 23:05:46] created local tap device IP: 172.20.40.50, Mask: 255.255.255.0, MAC: 00:FF:C9:B1:79:E0
[2023-08-30 23:05:46] edge started
[2023-08-30 23:05:46] successfully joined multicast group 224.0.0.68:1968
[2023-08-30 23:05:47] [OK] edge <<>> supernode
[2023-08-30 23:05:48] WARNING: NAT-PMP invalid response type 0
[2023-08-30 23:05:48] WARNING: NAT-PMP local TCP port 51617 mapping failed
[2023-08-30 23:05:48] WARNING: NAT-PMP invalid response type 0
[2023-08-30 23:05:48] WARNING: NAT-PMP local UDP port 51617 mapping failed
[2023-08-30 23:05:56] WARNING: no IGD UPnP device found on the network
求救,谢谢
@xcw
这台日志是正常的
[OK] edge <<>> supernode
站长,我和朋友连上了在公网的服务器,但是互相ping不通,我已经关掉了防火墙,还有什么别的可能的原因吗