Fix Zidoo X9S WIFI issue

NeilZhang
NeilZhang
管理员
140
文章
106.8千
浏览
Life评论739字数 330阅读1分6秒阅读模式

When I bought the X9S device, I did not know its WIFI was so not stable.

Sometimes, when I am watching movie, I have to disable/enable WIFI several times as the connection status will become fake and could not play movie for me.

This issue confused me for a long time and I could not fix it.

While several days ago, when I checked the kernel log, I found below information:

  1. [ 72.514156] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
  2. [ 72.523698] RTW: rtl8812_set_FwPwrMode_cmd: Mode=2 SmartPS=2 UAPSD=0
  3. [ 73.721096] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE
  4. [ 73.729388] RTW: rtl8812_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0
  5. [ 74.514328] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
  6. [ 74.522213] RTW: rtl8812_set_FwPwrMode_cmd: Mode=2 SmartPS=2 UAPSD=0
  7. [ 76.514363] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:93,rx_unicast:158)
  8. [ 76.523675] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-TRAFFIC_BUSY
  9. [ 76.531603] RTW: rtl8812_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0

So it seems X9S has the WIFI power save mode enabled, and run below command to confirm my assumption.

  1. root@X9S:~# iw wlan0 get power_save
  2. Power save: on

I wanted to disable it automatically and wrote some simple commands to the /etc/rc.local file.

  1. root@X9S:~# cat /etc/rc.local
  2. # Put your custom commands here that should be executed once
  3. # the system init finished. By default this file does nothing.
  4. IPADDR=192.168.13.25
  5. while true; do
  6. /sbin/ifconfig | grep "$IPADDR" >/dev/null
  7. if [ $? -ne 0 ]; then
  8. sleep 1
  9. else
  10. /sbin/ifconfig >/var/log/wlan
  11. /usr/sbin/iw wlan0 set power_save off >> /var/log/wlan
  12. break
  13. fi
  14. done &
  15. exit 0

The IPADDR is the assigned ip of the wireless adapter and after such change I played two movies and it worked really well.

 

Update: I found another more important reason of this issue was about the SMB settings on the DSM system, please check below screen shot:

Fix Zidoo X9S WIFI issue

 最后更新:2018-11-5
  • 本文由 NeilZhang 发表于26/10/2018 02:58:32
  • Repost please keep this link: https://www.dbcloudsvc.com/blogs/life/fix-zidoo-x9s-wifi-issue/
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定