码迷,mamicode.com
首页 > 其他好文 > 详细

tail -f -n 0 /var/log/messages

时间:2018-08-19 00:52:24      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:srv   with   success   move   The   manage   res   wlan0   name   

<pre><font color="#CC0000"><b>root@kali</b></font>:<font color="#3465A4"><b>~</b></font># tail -f -n 0 /var/log/messages
Aug 18 22:19:42 kali kernel: [24663.263601] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:19:42 kali NetworkManager[508]: &lt;info&gt;  [1534601982.6057] sup-iface[0x7f08a001c170,wlan0]: supports 4 scan SSIDs
Aug 18 22:19:42 kali NetworkManager[508]: &lt;info&gt;  [1534601982.6075] device (wlan0): supplicant interface state: starting -&gt; ready
Aug 18 22:19:42 kali NetworkManager[508]: &lt;info&gt;  [1534601982.6076] device (wlan0): state change: unavailable -&gt; disconnected (reason &apos;supplicant-available&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:42 kali kernel: [24663.316884] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:19:48 kali NetworkManager[508]: &lt;info&gt;  [1534601988.7399] device (wlan0): supplicant interface state: ready -&gt; inactive
Aug 18 22:19:49 kali NetworkManager[508]: &lt;info&gt;  [1534601989.2006] policy: auto-activating connection &apos;Gx-miwifi-renew&apos;
Aug 18 22:19:49 kali NetworkManager[508]: &lt;info&gt;  [1534601989.2345] device (wlan0): Activation: starting connection &apos;Gx-miwifi-renew&apos; (504f85f7-186e-4597-a38d-3a98b3bc282c)
Aug 18 22:19:49 kali NetworkManager[508]: &lt;info&gt;  [1534601989.2377] device (wlan0): state change: disconnected -&gt; prepare (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:50 kali NetworkManager[508]: &lt;info&gt;  [1534601990.2048] device (wlan0): set-hw-addr: reset MAC address to 70:F1:1C:0D:DC:4A (preserve)
Aug 18 22:19:54 kali kernel: [24675.401249] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7267] device (wlan0): state change: prepare -&gt; config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7275] device (wlan0): Activation: (wifi) access point &apos;Gx-miwifi-renew&apos; has security, but secrets are required.
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7275] device (wlan0): state change: config -&gt; need-auth (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7468] device (wlan0): supplicant interface state: inactive -&gt; disconnected
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7663] device (wlan0): supplicant interface state: disconnected -&gt; inactive
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7905] device (wlan0): state change: need-auth -&gt; prepare (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.7945] device (wlan0): state change: prepare -&gt; config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.8024] device (wlan0): Activation: (wifi) connection &apos;Gx-miwifi-renew&apos; has security, and secrets exist.  No new secrets needed.
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.8030] Config: added &apos;ssid&apos; value &apos;Gx-miwifi-renew&apos;
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.8032] Config: added &apos;scan_ssid&apos; value &apos;1&apos;
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.8035] Config: added &apos;key_mgmt&apos; value &apos;WPA-PSK&apos;
Aug 18 22:19:54 kali NetworkManager[508]: &lt;info&gt;  [1534601994.8037] Config: added &apos;psk&apos; value &apos;&lt;hidden&gt;&apos;
Aug 18 22:19:54 kali kernel: [24675.557664] wlan0: authenticate with f0:b4:29:22:8e:41
Aug 18 22:19:55 kali NetworkManager[508]: &lt;info&gt;  [1534601995.3609] device (wlan0): supplicant interface state: inactive -&gt; authenticating
Aug 18 22:19:55 kali kernel: [24676.067955] wlan0: send auth to f0:b4:29:22:8e:41 (try 1/3)
Aug 18 22:19:55 kali kernel: [24676.573219] wlan0: send auth to f0:b4:29:22:8e:41 (try 2/3)
Aug 18 22:19:55 kali kernel: [24676.611084] wlan0: authenticated
Aug 18 22:19:55 kali kernel: [24676.614608] wlan0: associate with f0:b4:29:22:8e:41 (try 1/3)
Aug 18 22:19:55 kali NetworkManager[508]: &lt;info&gt;  [1534601995.9097] device (wlan0): supplicant interface state: authenticating -&gt; associating
Aug 18 22:19:55 kali kernel: [24676.655583] wlan0: RX AssocResp from f0:b4:29:22:8e:41 (capab=0xc11 status=0 aid=1)
Aug 18 22:19:56 kali kernel: [24676.833292] wlan0: associated
Aug 18 22:19:56 kali kernel: [24676.833419] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1330] device (wlan0): supplicant interface state: associating -&gt; 4-way handshake
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1663] device (wlan0): supplicant interface state: 4-way handshake -&gt; completed
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1664] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network &apos;Gx-miwifi-renew&apos;.
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1666] device (wlan0): state change: config -&gt; ip-config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1672] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.1824] dhcp4 (wlan0): dhclient started with pid 11469
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2517] dhcp4 (wlan0):   address 192.168.1.143
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2518] dhcp4 (wlan0):   plen 24 (255.255.255.0)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2518] dhcp4 (wlan0):   gateway 192.168.1.1
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2518] dhcp4 (wlan0):   lease time 43200
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2518] dhcp4 (wlan0):   hostname &apos;MiWiFi-R1CL-srv&apos;
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2519] dhcp4 (wlan0):   nameserver &apos;192.168.1.1&apos;
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2519] dhcp4 (wlan0): state changed unknown -&gt; bound
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2603] device (wlan0): state change: ip-config -&gt; ip-check (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2768] device (wlan0): state change: ip-check -&gt; secondaries (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2800] device (wlan0): state change: secondaries -&gt; activated (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:19:56 kali NetworkManager[508]: &lt;info&gt;  [1534601996.2929] device (wlan0): Activation: successful, device activated.
Aug 18 22:21:01 kali kernel: [24742.653980] usb 1-1: USB disconnect, device number 4
Aug 18 22:21:01 kali kernel: [24742.674024] wlan0: deauthenticating from f0:b4:29:22:8e:41 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 18 22:21:01 kali NetworkManager[508]: &lt;warn&gt;  [1534602061.9732] sup-iface[0x7f08a001c170,wlan0]: connection disconnected (reason -3)
Aug 18 22:21:01 kali NetworkManager[508]: &lt;info&gt;  [1534602061.9988] device (wlan0): state change: activated -&gt; unmanaged (reason &apos;removed&apos;, internal state &apos;removed&apos;)
Aug 18 22:21:02 kali NetworkManager[508]: &lt;info&gt;  [1534602062.0177] dhcp4 (wlan0): canceled DHCP transaction, DHCP client pid 11469
Aug 18 22:21:02 kali NetworkManager[508]: &lt;info&gt;  [1534602062.0177] dhcp4 (wlan0): state changed bound -&gt; done
Aug 18 22:21:02 kali NetworkManager[508]: &lt;info&gt;  [1534602062.0506] radio killswitch /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/ieee80211/phy2/rfkill3 disappeared
Aug 18 22:21:02 kali NetworkManager[508]: &lt;info&gt;  [1534602062.0513] devices removed (path: /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0)
Aug 18 22:21:05 kali kernel: [24746.070133] usb 1-1: new high-speed USB device number 5 using ehci-pci
Aug 18 22:21:05 kali kernel: [24746.471701] usb 1-1: New USB device found, idVendor=148f, idProduct=3070
Aug 18 22:21:05 kali kernel: [24746.471706] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 18 22:21:05 kali kernel: [24746.471708] usb 1-1: Product: 802.11 n WLAN
Aug 18 22:21:05 kali kernel: [24746.471711] usb 1-1: Manufacturer: Ralink
Aug 18 22:21:05 kali kernel: [24746.471713] usb 1-1: SerialNumber: 1.0
Aug 18 22:21:06 kali kernel: [24746.889207] usb 1-1: reset high-speed USB device number 5 using ehci-pci
Aug 18 22:21:06 kali kernel: [24747.355720] ieee80211 phy3: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
Aug 18 22:21:07 kali kernel: [24748.076623] ieee80211 phy3: rt2x00_set_rf: Info - RF chipset 0005 detected
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.3874] wifi-nl80211: (wlan0): using nl80211 for WiFi device control
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.3876] device (wlan0): driver supports Access Point (AP) mode
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.3895] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/6)
Aug 18 22:21:07 kali mtp-probe: checking bus 1, device 5: &quot;/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1&quot;
Aug 18 22:21:07 kali mtp-probe: bus: 1, device: 5 was not an MTP device
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.4398] rfkill4: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/ieee80211/phy3/rfkill4) (driver rt2800usb)
Aug 18 22:21:07 kali kernel: [24748.178165] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:21:07 kali kernel: [24748.178237] ieee80211 phy3: rt2x00lib_request_firmware: Info - Loading firmware file &apos;rt2870.bin&apos;
Aug 18 22:21:07 kali kernel: [24748.178281] rt2800usb 1-1:1.0: firmware: direct-loading firmware rt2870.bin
Aug 18 22:21:07 kali kernel: [24748.178285] ieee80211 phy3: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.4743] devices added (path: /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0)
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.4744] device added (path: /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
Aug 18 22:21:07 kali NetworkManager[508]: &lt;info&gt;  [1534602067.4746] device (wlan0): state change: unmanaged -&gt; unavailable (reason &apos;managed&apos;, internal state &apos;external&apos;)
Aug 18 22:21:11 kali kernel: [24752.701164] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:21:12 kali NetworkManager[508]: &lt;info&gt;  [1534602072.5757] device (wlan0): set-hw-addr: set MAC address to AA:D0:A1:B0:A4:3C (scanning)
Aug 18 22:21:17 kali kernel: [24757.795096] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:21:17 kali NetworkManager[508]: &lt;info&gt;  [1534602077.1568] sup-iface[0x5598a2d80290,wlan0]: supports 4 scan SSIDs
Aug 18 22:21:17 kali NetworkManager[508]: &lt;info&gt;  [1534602077.1587] device (wlan0): supplicant interface state: starting -&gt; ready
Aug 18 22:21:17 kali NetworkManager[508]: &lt;info&gt;  [1534602077.1588] device (wlan0): state change: unavailable -&gt; disconnected (reason &apos;supplicant-available&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:17 kali kernel: [24757.861884] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:21:23 kali NetworkManager[508]: &lt;info&gt;  [1534602083.1769] device (wlan0): supplicant interface state: ready -&gt; inactive
Aug 18 22:21:23 kali NetworkManager[508]: &lt;info&gt;  [1534602083.6501] policy: auto-activating connection &apos;Gx-miwifi-renew&apos;
Aug 18 22:21:23 kali NetworkManager[508]: &lt;info&gt;  [1534602083.6520] device (wlan0): Activation: starting connection &apos;Gx-miwifi-renew&apos; (504f85f7-186e-4597-a38d-3a98b3bc282c)
Aug 18 22:21:23 kali NetworkManager[508]: &lt;info&gt;  [1534602083.6526] device (wlan0): state change: disconnected -&gt; prepare (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:24 kali NetworkManager[508]: &lt;info&gt;  [1534602084.6601] device (wlan0): set-hw-addr: reset MAC address to 70:F1:1C:0D:DC:4A (preserve)
Aug 18 22:21:29 kali kernel: [24769.845619] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2045] device (wlan0): supplicant interface state: inactive -&gt; disconnected
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2205] device (wlan0): supplicant interface state: disconnected -&gt; inactive
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2314] device (wlan0): state change: prepare -&gt; config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2327] device (wlan0): Activation: (wifi) access point &apos;Gx-miwifi-renew&apos; has security, but secrets are required.
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2332] device (wlan0): state change: config -&gt; need-auth (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2867] device (wlan0): state change: need-auth -&gt; prepare (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2948] device (wlan0): state change: prepare -&gt; config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2961] device (wlan0): Activation: (wifi) connection &apos;Gx-miwifi-renew&apos; has security, and secrets exist.  No new secrets needed.
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2966] Config: added &apos;ssid&apos; value &apos;Gx-miwifi-renew&apos;
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2968] Config: added &apos;scan_ssid&apos; value &apos;1&apos;
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2970] Config: added &apos;key_mgmt&apos; value &apos;WPA-PSK&apos;
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.2976] Config: added &apos;psk&apos; value &apos;&lt;hidden&gt;&apos;
Aug 18 22:21:29 kali kernel: [24770.023645] wlan0: authenticate with f0:b4:29:22:8e:41
Aug 18 22:21:29 kali NetworkManager[508]: &lt;info&gt;  [1534602089.7978] device (wlan0): supplicant interface state: inactive -&gt; authenticating
Aug 18 22:21:29 kali kernel: [24770.498381] wlan0: send auth to f0:b4:29:22:8e:41 (try 1/3)
Aug 18 22:21:30 kali kernel: [24771.006564] wlan0: send auth to f0:b4:29:22:8e:41 (try 2/3)
Aug 18 22:21:30 kali kernel: [24771.044487] wlan0: authenticated
Aug 18 22:21:30 kali kernel: [24771.048120] wlan0: associate with f0:b4:29:22:8e:41 (try 1/3)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.3496] device (wlan0): supplicant interface state: authenticating -&gt; associating
Aug 18 22:21:30 kali kernel: [24771.091369] wlan0: RX AssocResp from f0:b4:29:22:8e:41 (capab=0xc11 status=0 aid=1)
Aug 18 22:21:30 kali kernel: [24771.245563] wlan0: associated
Aug 18 22:21:30 kali kernel: [24771.245684] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.5510] device (wlan0): supplicant interface state: associating -&gt; 4-way handshake
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.5913] device (wlan0): supplicant interface state: 4-way handshake -&gt; completed
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.5914] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network &apos;Gx-miwifi-renew&apos;.
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.5915] device (wlan0): state change: config -&gt; ip-config (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.5920] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6043] dhcp4 (wlan0): dhclient started with pid 11769
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6835] dhcp4 (wlan0):   address 192.168.1.143
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6836] dhcp4 (wlan0):   plen 24 (255.255.255.0)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6836] dhcp4 (wlan0):   gateway 192.168.1.1
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6836] dhcp4 (wlan0):   lease time 43200
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6836] dhcp4 (wlan0):   hostname &apos;MiWiFi-R1CL-srv&apos;
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6837] dhcp4 (wlan0):   nameserver &apos;192.168.1.1&apos;
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6837] dhcp4 (wlan0): state changed unknown -&gt; bound
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.6888] device (wlan0): state change: ip-config -&gt; ip-check (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.7083] device (wlan0): state change: ip-check -&gt; secondaries (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.7114] device (wlan0): state change: secondaries -&gt; activated (reason &apos;none&apos;, internal state &apos;managed&apos;)
Aug 18 22:21:30 kali NetworkManager[508]: &lt;info&gt;  [1534602090.7265] device (wlan0): Activation: successful, device activated.
</pre>

tail -f -n 0 /var/log/messages

标签:srv   with   success   move   The   manage   res   wlan0   name   

原文地址:https://www.cnblogs.com/xinxianquan/p/9499125.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!