使用带有 Edimax PCI-E 无线网络卡的 Ubuntu 14.04,该无线网络卡使用 Realtek 驱动程序。
当我在无线模式下使用 PCI-e 无线适配器 (rtl8821ae) 时,内核会在系统日志中写入非常详细的信息。我该如何阻止这些信息在系统日志中泛滥。
以下是正在发生的情况的示例。肯定有办法减少这些信息。希望有人能帮助解决这个问题。我试过谷歌搜索,但到目前为止找不到任何帮助。提前致谢。
Dec 19 15:26:29 mts-ubuntu NetworkManager[781]: <info> (wlan0): supplicant interface state: associating -> associated
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.923241] rtl8821ae-0:rtl_is_special_data():<10000-1> 802.1X Rx EAPOL pkt!!
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.924109] rtl8821ae-0:rtl_is_special_data():<100-1> 802.1X Tx EAPOL pkt!!
Dec 19 15:26:29 mts-ubuntu NetworkManager[781]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931070] rtl8821ae-0:rtl_is_special_data():<10000-1> 802.1X Rx EAPOL pkt!!
Dec 19 15:26:29 mts-ubuntu wpa_supplicant[838]: wlan0: WPA: Key negotiation completed with 08:bd:43:30:43:b5 [PTK=CCMP GTK=CCMP]
Dec 19 15:26:29 mts-ubuntu wpa_supplicant[838]: wlan0: CTRL-EVENT-CONNECTED - Connection to 08:bd:43:30:43:b5 completed [id=0 id_str=]
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931238] rtl8821ae-0:rtl_is_special_data():<100-1> 802.1X Tx EAPOL pkt!!
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931308] rtl8821ae-0:rtl_op_set_key():<0-0> Using hardware based encryption for keyidx: 0, mac: 08:bd:43:30:43:b5
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931311] rtl8821ae-0:rtl_op_set_key():<0-0> alg:CCMP
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931312] rtl8821ae-0:rtl_op_set_key():<0-0> set enable_hw_sec, key_type:4(OPEN:0 WEP40:1 TKIP:2 AES:4 WEP104:5)
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931314] rtl8821ae-0:rtl8821ae_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 4 GroupEncAlgorithm = 0
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931321] rtl8821ae-0:rtl8821ae_enable_hw_security_config():<0-0> The SECR-value cc
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931325] rtl8821ae-0:rtl_op_set_key():<0-0> set pairwise key
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931327] rtl8821ae-0:rtl8821ae_set_key():<0-0> add one entry
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931328] rtl8821ae-0:rtl8821ae_set_key():<0-0> set Pairwiase key
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931330] rtl8821ae-0:rtl_cam_add_one_entry():<0-0> EntryNo:4, ulKeyId=0, ulEncAlg=4, ulUseDK=0 MacAddr 08:bd:43:30:43:b5
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931331] rtl8821ae:
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931332] In process "wpa_supplicant" (pid 838):Key content :0E 47 4C C4 C3 4C 42 0A AC F4 FC BD 8D 8D BD 49
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931340]
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.931975] rtl8821ae-0:rtl_cam_add_one_entry():<0-0> end
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932102] rtl8821ae-0:rtl_op_set_key():<0-0> Using hardware based encryption for keyidx: 2, mac: ff:ff:ff:ff:ff:ff
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932106] rtl8821ae-0:rtl_op_set_key():<0-0> alg:CCMP
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932108] rtl8821ae-0:rtl_op_set_key():<0-0> set group key
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932110] rtl8821ae-0:rtl8821ae_set_key():<0-0> add one entry
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932111] rtl8821ae-0:rtl8821ae_set_key():<0-0> set group key
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932113] rtl8821ae-0:rtl_cam_add_one_entry():<0-0> EntryNo:2, ulKeyId=2, ulEncAlg=4, ulUseDK=0 MacAddr ff:ff:ff:ff:ff:ff
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932115] rtl8821ae:
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932117] In process "wpa_supplicant" (pid 838):Key content :8F 84 FB EE 0F F7 BE 26 34 D7 71 90 B9 FA C9 A6
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932126]
Dec 19 15:26:29 mts-ubuntu kernel: [ 5728.932759] rtl8821ae-0:rtl_cam_add_one_entry():<0-0> end
Dec 19 15:26:29 mts-ubuntu NetworkManager[781]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec 19 15:26:29 mts-ubuntu NetworkManager[781]: <info> (wlan0): roamed from BSSID (none) ((none)) to 08:BD:43:30:43:B5 (TPPW4G_43B5)
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121317] rtl8821ae-0:rtl_action_proc():<10000-1> Rx ACT_ADDBAREQ From :08:bd:43:30:43:b5
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121322] rtl8821ae:
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121323] In process "gedit" (pid 22104):req
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121325] D0 00 3A 01 00 E0 4C 88 12 00 08 BD 43 30 43 B5
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121331] 08 BD 43 30 43 B5 90 5C 03 00 01 03 10 00 00 00
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121337] 00 A7 14 78 19
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121339]
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121367] rtl8821ae-0:rtl_rx_agg_start():<0-0> on ra = 08:bd:43:30:43:b5 tid = 0 seq:2
Dec 19 15:26:29 mts-ubuntu kernel: [ 5729.121380] rtl8821ae-0:rtl_action_proc():<200-1> Tx ACT_ADDBARSP From :00:e0:4c:88:12:00
答案1
将 Ubuntu 14.04 内核升级到 linux-generic-lts-vivid 13.19 解决了这个问题。原始 LTS 内核中的驱动程序是问题所在。