Re: sl7: how do I auto create ifcfg-eth0?

2015-06-21 Thread ToddAndMargo
On 06/21/2015 12:18 PM, Nico Kadel-Garcia wrote: On Sun, Jun 21, 2015 at 12:49 AM, ToddAndMargo wrote: Hi All, In SL7, how do I auto create /etc/sysconfig/network-scripts/ifcfg-eth0 from what is defaulted in my system? They're now controlled more directly by NetworkManager and partly by syst

Re: systemctl disable vs mask question

2015-06-21 Thread Prosun Prodhan
Hi all, It seems similar to chkconfig --add xyz and chkconfig --del xyz where xyz is a service to be managed by chkconfig or not, in init process. Prosun Prodhan 09339192066(M) Registered Linux User # 318610 (LiCo : http://www.linuxcounter.net, formerly http://counter.li.org) Use Open Document Fo

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread Nico Kadel-Garcia
On Sun, Jun 21, 2015 at 9:21 PM, ToddAndMargo wrote: > On 06/21/2015 03:35 PM, Steven Miano wrote: >> >> Square brackets around your searched for expression will allow you to >> remove a pipe (no need to grep -v grep): >> >> ps ax | egrep -e d[h]cp.'*\.lease' It's a hack. The grep stand won't sho

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread ToddAndMargo
On 06/21/2015 05:59 PM, ToddAndMargo wrote: On 06/21/2015 11:22 AM, Tom H wrote: On Sun, Jun 21, 2015 at 2:22 AM, ToddAndMargo wrote: Okay, I give up. What happened to /var/lib/dhcp/dhclient-eth0.leases ps ax | grep dhc | grep -v grep and the "-lf" file will show you the lease. Hi Tom

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread ToddAndMargo
On 06/21/2015 03:35 PM, Steven Miano wrote: Square brackets around your searched for expression will allow you to remove a pipe (no need to grep -v grep): ps ax | egrep -e d[h]cp.'*\.lease' Hi Steve I see that is works, but don't not understand why. -T

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread ToddAndMargo
On 06/21/2015 11:22 AM, Tom H wrote: On Sun, Jun 21, 2015 at 2:22 AM, ToddAndMargo wrote: Okay, I give up. What happened to /var/lib/dhcp/dhclient-eth0.leases ps ax | grep dhc | grep -v grep and the "-lf" file will show you the lease. Hi Tom, Ah Ha! This on SL7: $ ps ax | grep dhc |

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread Steven Miano
Square brackets around your searched for expression will allow you to remove a pipe (no need to grep -v grep): ps ax | egrep -e d[h]cp.'*\.lease' On Sun, Jun 21, 2015 at 4:28 PM, ToddAndMargo wrote: > On 06/21/2015 11:22 AM, Tom H wrote: > >> On Sun, Jun 21, 2015 at 2:22 AM, ToddAndMargo >>

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread ToddAndMargo
On 06/21/2015 11:22 AM, Tom H wrote: On Sun, Jun 21, 2015 at 2:22 AM, ToddAndMargo wrote: Okay, I give up. What happened to /var/lib/dhcp/dhclient-eth0.leases ps ax | grep dhc | grep -v grep and the "-lf" file will show you the lease. This is on SL6. I haven't got my Sl7 VM fired up y

Re: systemctl disable vs mask question

2015-06-21 Thread ToddAndMargo
On 06/21/2015 11:24 AM, Tom H wrote: On Tue, Jun 16, 2015 at 3:02 AM, David Sommerseth wrote: On 16 June 2015 07:52:05 CEST, ToddAndMargo wrote: # systemctl disable firewalld.service This avoids the firewalld.service unit to be automatically started during boot. The service may still be s

Re: sl7: how do I auto create ifcfg-eth0?

2015-06-21 Thread Nico Kadel-Garcia
On Sun, Jun 21, 2015 at 12:49 AM, ToddAndMargo wrote: > Hi All, > > In SL7, how do I auto create /etc/sysconfig/network-scripts/ifcfg-eth0 > from what is defaulted in my system? They're now controlled more directly by NetworkManager and partly by systemd, under /var/lib/NetworkManager/. > I was

Re: systemctl disable vs mask question

2015-06-21 Thread Tom H
On Tue, Jun 16, 2015 at 3:02 AM, David Sommerseth wrote: > On 16 June 2015 07:52:05 CEST, ToddAndMargo wrote: >> >> # systemctl disable firewalld.service > > This avoids the firewalld.service unit to be automatically started during > boot. The service may still be started using 'systemctl start

Re: Sl 7: where did the dhcp.leases file go?

2015-06-21 Thread Tom H
On Sun, Jun 21, 2015 at 2:22 AM, ToddAndMargo wrote: > > Okay, I give up. What happened to > > /var/lib/dhcp/dhclient-eth0.leases ps ax | grep dhc | grep -v grep and the "-lf" file will show you the lease.