Wifi hotspot tethering in error status on ZTE Nubia Z9 Mini (NX511J)


#1

Chinese (using Google translator)

问题描述:
Wifi Hotstpot tethering无法正常工作(错误状态)

受影响的版本:
MK71.2-nx511j-2017122001227-NIGTHLY

复制步骤:
绑定和便携式热点>启用便携式Wi-Fi热点>状态为“错误”

评论:
问题很可能是由于RP_FILTER不适用于IPv6(或不在内核中构建)。 从日志文件中:

V NatController:runCmd(/ system / bin / ip6tables -w -t raw -A natctrl_raw_PREROUTING -i wlan0 -m rpfilter --invert!-s fe80 :: / 64 -j DROP)res = 1

E NatController: Error setting forward rules

上面的错误是唯一的iptables / ip6tables命令返回一个非0值作为输出,这似乎导致“错误设置转发规则”消息,并在它禁用接口wlan0后。

潜在的解决方案:
不知道解决方案,无论是更新NatController不使用ip6tables或在构建内核时设置标志“CONFIG_IP_NF_MATCH_RPFILTER = y”。

English bug report:

Bug description:
Wifi Hotstpot tethering not working (Error status)

Affected version:
MK71.2-nx511j-2017122001227-NIGTHLY

Steps to replicate:
Tethering & portable hotspot > Enable portable Wi-Fi hotspot > Status is “Error”

Comments:
Issue is most probably due to a RP_FILTER not working for IPv6 (or not built on the kernel). From the log files:
"
V NatController: runCmd(/system/bin/ip6tables -w -t raw -A natctrl_raw_PREROUTING -i wlan0 -m rpfilter --invert ! -s fe80::/64 -j DROP) res=1

E NatController: Error setting forward rules
"
The error above is the only iptables/ip6tables command returning a non 0 value as output, which seems to cause the “Error setting forward rules” message and after it disables the interface wlan0.

Potential solution:
Not sure about the solution, either updating the NatController not to use ip6tables or set the flag “CONFIG_IP_NF_MATCH_RPFILTER=y” when building the kernel.


#2

I have the same problem, affected firmware is MK71.2-nx511j-201801121348-NIGHTLY.


#3

Please fix this HotSpot bug. The USB tethering is not working as well.


#4

I have the same issue.
Tethering & portable hotspot > Enable portable Wi-Fi hotspot > Status is “Error”
running on MK71.2-nx511j-201802181323-NIGHTLY.
Please fix it.