andrew@andrew-HP-ProBook-430-G4:/var/log$ tail -100 /var/log/syslog
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 kernel: [218833.125652] wlp2s0: authenticated
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 kernel: [218833.128084] wlp2s0: associate with 00:04:56:a4:2c:b0 (try 1/3)
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9372] device (wlp2s0): supplicant interface state: authenticating -> associating
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 wpa_supplicant[867]: wlp2s0: Associated with 00:04:56:a4:2c:b0
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 wpa_supplicant[867]: wlp2s0: CTRL-EVENT-CONNECTED - Connection to 00:04:56:a4:2c:b0 completed [id=0 id_str=]
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 kernel: [218833.132914] wlp2s0: RX AssocResp from 00:04:56:a4:2c:b0 (capab=0x501 status=0 aid=1)
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 kernel: [218833.134632] wlp2s0: associated
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 wpa_supplicant[867]: wlp2s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9463] device (wlp2s0): supplicant interface state: associating -> completed
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9463] device (wlp2s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Moscow_WiFi_Free'.
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9465] device (wlp2s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9484] dhcp4 (wlp2s0): activation: beginning transaction (timeout in 45 seconds)
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211310.9533] dhcp4 (wlp2s0): dhclient started with pid 10640
Aug 19 13:41:50 andrew-HP-ProBook-430-G4 dhclient[10640]: DHCPREQUEST of 10.58.125.96 on wlp2s0 to 255.255.255.255 port 67 (xid=0x250f5a27)
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 wpa_supplicant[867]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=54000
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 kernel: [218833.197427] wlp2s0: Limiting TX power to 15 (15 - 0) dBm as advertised by 00:04:56:a4:2c:b0
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 dhclient[10640]: DHCPACK of 10.58.125.96 from 10.58.64.1
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9876] dhcp4 (wlp2s0): address 10.58.125.96
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9895] dhcp4 (wlp2s0): plen 18 (255.255.192.0)
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9896] dhcp4 (wlp2s0): gateway 10.58.64.1
Aug 19 13:41:51 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9898] dhcp4 (wlp2s0): lease time 7200
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: Joining mDNS multicast group on interface wlp2s0.IPv4 with address 10.58.125.96.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9899] dhcp4 (wlp2s0): nameserver '212.34.33.1'
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: New relevant interface wlp2s0.IPv4 for mDNS.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9900] dhcp4 (wlp2s0): nameserver '212.34.32.39'
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: Registering new address record for 10.58.125.96 on wlp2s0.IPv4.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211311.9901] dhcp4 (wlp2s0): state changed unknown -> bound
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0074] device (wlp2s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0203] device (wlp2s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0226] device (wlp2s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0273] manager: NetworkManager state is now CONNECTED_LOCAL
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 dhclient[10640]: bound to 10.58.125.96 -- renewal in 2704 seconds.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0389] manager: NetworkManager state is now CONNECTED_SITE
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0397] policy: set 'Moscow_WiFi_Free' (wlp2s0) as default for IPv4 routing and DNS
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0448] device (wlp2s0): Activation: successful, device activated.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 nm-dispatcher: req:3 'up' [wlp2s0]: new request (2 scripts)
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 nm-dispatcher: req:3 'up' [wlp2s0]: start running ordered scripts...
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 NetworkManager[866]: <info> [1566211312.0522] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 systemd[1]: Starting resolvconf-pull-resolved.service...
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 nm-dispatcher: req:4 'connectivity-change': new request (2 scripts)
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 systemd[1]: Started resolvconf-pull-resolved.service.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: Joining mDNS multicast group on interface wlp2s0.IPv6 with address fe80::8b0a:638b:2703:60b6.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: New relevant interface wlp2s0.IPv6 for mDNS.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 avahi-daemon[19787]: Registering new address record for fe80::8b0a:638b:2703:60b6 on wlp2s0.*.
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 nm-dispatcher: req:4 'connectivity-change': start running ordered scripts...
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 whoopsie[1707]: [13:41:52] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/83
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 whoopsie[1707]: [13:41:52] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/83
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 whoopsie[1707]: [13:41:52] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/83
Aug 19 13:41:52 andrew-HP-ProBook-430-G4 whoopsie[1707]: [13:41:52] online
Aug 19 13:41:58 andrew-HP-ProBook-430-G4 wpa_supplicant[867]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-54 noise=9999 txrate=54000
#!/bin/bash
CURHOUR=$(date +%H);
CURMINUTE=$(date +%M);
if [ $CURHOUR -eq 23 ];
then
LEFT=$((60-$CURMINUTE));
notify-send "You have $LEFT minutes left until suspension";
fi;
if [ $CURHOUR -lt 8 ];
then
if [ $CURHOUR -gt 0 ];
then
notify-send "Suspension";
# systemctl suspend;
fi;
fi;
WARNING: [pool www] server reached max_children setting (10), consider raising it
pm.max_children = Total RAM dedicated to the web server / Max child process size