Tôi gặp sự cố với bộ định tuyến của mình, nơi WiFi liên tục ngắt kết nối trên hầu hết các thiết bị gia đình của chúng tôi, vì vậy tôi đang thử nghiệm các cài đặt khác nhau trên bộ định tuyến. (Có vẻ bị ảnh hưởng bởi giao thức bảo mật ...)
Tôi muốn xem nhật ký - trên MacBook Pro (10.11.5) - của các sự kiện kết nối / ngắt kết nối WiFi để tôi có thể theo dõi.
Cách dễ nhất để làm điều này là gì? Tôi có thể sử dụng một số loại bộ lọc trong Bảng điều khiển hoặc có lệnh CLI không?
Tôi đã thử lọc "link down on en0" trong bảng điều khiển trong "All Messsages", nhưng tôi phải bấm "Trước đó" nhiều lần; Tôi muốn xem tất cả các sự kiện trong vài ngày qua cùng một lúc. Và tôi cũng muốn xem WiFi SSID nào đang được sử dụng tại thời điểm ngắt kết nối, Bảng điều khiển nào không hiển thị cho tôi.
Các sự kiện system.log được lọc:
Apr 19 01:01:39 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 01:01:55 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 13:36:26 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 13:36:34 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 13:36:45 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 13:37:08 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 15:13:02 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 15:18:25 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 18:17:09 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 18:17:18 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 18:17:22 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 18:35:38 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 4 (Disassociated due to inactivity).
Apr 19 19:11:10 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 4 (Disassociated due to inactivity).
Apr 19 19:14:46 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 19:14:50 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 20:00:14 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:00:22 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 20:00:25 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 20:00:49 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:01:00 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:01:35 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:01:38 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 20:01:42 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 2 (Previous authentication no longer valid).
Apr 19 20:01:46 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:02:19 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:03:24 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:03:55 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:04:17 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:04:28 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
Apr 19 20:18:11 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 4 (Disassociated due to inactivity).
Apr 19 20:19:20 Zmbp kernel[0]: AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).