I need to check out DHCP lease time on OpenSUSE Leap 42.2, I tried these, but they didn't work:
~> less /etc/dhclient.conf ~> sudo less /var/lib/dhcp/dhclient.leases # ls -a /var/lib/NetworkManager/ ~> sudo ifconfig -a
How can I do that?
I run the following command as suggested by @MariusMatutiae:
linux-box:/var/log # grep -nriIl dhc YaST2/mkinitrd.log YaST2/macro_inst_initial.ycp YaST2/y2log zypp/history audit/audit.log pk_backend_zypp-1 pk_backend_zypp zypper.log boot.log
Then I do the following for each output file, but I couldn't find the lease time provided by DHCP.
linux-box:/var/log # grep -E "dhc" YaST2/y2log