rtnetlink always triger RTM_NEWLINK periodically on wifi interface

Posted on

enable wifi lan (wlan0) by wpa_supplicant, but rtnetlink triger NEW_LINK

wpa_supplicant.conf contains a network but cannot access nor connect, wifi would retry periodically, so RTM_NEWOINK with IFLAG =  IFF_UP | IFF_BROADCAST (0x1003) send to userspace periodically with each trial.

Solution:

  1. revmoe network from default wpa_supplicant.conf
  2. or set autoscan=period:5  (to set the retry time)
  3. or set sched_scan_plans=sec:trial sec:trial …

If sched_scan_plans are configured and supported by the driver, autoscan is ignored.

解決方式:

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com 標誌

您的留言將使用 WordPress.com 帳號。 登出 /  變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s