From gutosch at gmail.com Tue Jan 26 13:22:52 2010 From: gutosch at gmail.com (Gustavo Schroeder) Date: Tue, 26 Jan 2010 11:22:52 -0200 Subject: Dynamic interface using iproute2 Message-ID: <874776c01001260522k6382e395i9e734024359212b3@mail.gmail.com> Hi, I've always used iproute2 with a fixed IP, which makes things easy to get the address in order to insert it into other dynamic tables. My issue is that now, the IP is going to be dynamic; one will use dhclient to get the IP but I'm puzzled on how to insert it into dynamic tables using redhat features. Here's the scenario: - interface A receives dynamic IP using dhclient - once iface A is up, one needs to get the current IP address an push it into a dynamic table This is perfectly achievable using a post-up interface script, since the iface is up and has an IP I can easily get the addr. Is such a feature supported in redhat using an /etc/sysconfig/route-ethX or rule-ethX approach? Regards -Gustavo From stan.hearn at nscorp.com Tue Jan 26 15:54:45 2010 From: stan.hearn at nscorp.com (Hearn, Stan J.) Date: Tue, 26 Jan 2010 10:54:45 -0500 Subject: Kudzu Question Message-ID: <538F89E3C87A57448992D542F6B02C0364D0CE8B3F@GATUCEXCH03ASV.nscorp.ad.nscorp.com> I have a need to distribute RHEL on compact flash cards to remote systems. My challenge is the kudzu prompt when booting a system. kudzu sees new NIC's and of course prompts the user to remove the old and configure the new. If this choice is not made, it times out. But it will prompt every time the system is booted and delay the boot time. All NIC's on these systems will have the same configurations (IP, gateway, netmask). I think it is okay to remove kudzu on boot, but then the file /etc/sysconfig/hwconf will not list the accurate MAC address of the current NIC. How bad of a problem is that? The NIC plumbs fine as long as ifcfg-ethX doesn't contain the MAC in it. Can anyone point me to some documentation on how to properly handle this situation or give me some words of caution or further examination? Thanks, Stan From kenneho.ndu at gmail.com Tue Jan 26 16:14:39 2010 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 26 Jan 2010 17:14:39 +0100 Subject: Configuring RHEL servers to authenticate with Windows Server 2008 Active Directory Message-ID: Hello all. I'd like to set my RHEL 4 and 5 servers up to authenticate with our Windows server 2008 Active Directory. Using "authconfig --update --enableldap --enableldapauth --ldapserver=ldap.example.com --ldapbasedn=dn=example,dn=com" and adding "binddn" and "bindpw" to the /etc/ldap.conf file, it looks like the linux box is connecting correctly to the AD server. But running "getent passwd " doesn't return any result. I'm suspecting that maybe it's my nss_ldap attribute mappings that are not correct. I have no attribute mapping defined, since I would think that there would be some default mappings that would work. Are there any default mapping, and in case what are they? Or maybe "authconfig" set up these mappings automatically? Any advice is appreciated. Best regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenneho.ndu at gmail.com Tue Jan 26 16:18:32 2010 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 26 Jan 2010 17:18:32 +0100 Subject: Configuring RHEL servers to authenticate with Windows Server 2008 Active Directory In-Reply-To: References: Message-ID: [moved this thread to redhat-list at redhat.com] On Tue, Jan 26, 2010 at 5:14 PM, Kenneth Holter wrote: > Hello all. > > > I'd like to set my RHEL 4 and 5 servers up to authenticate with our Windows > server 2008 Active Directory. Using "authconfig --update --enableldap > --enableldapauth --ldapserver=ldap.example.com --ldapbasedn=dn=example,dn=com" > and adding "binddn" and "bindpw" to the /etc/ldap.conf file, it looks like > the linux box is connecting correctly to the AD server. But running "getent > passwd " doesn't return any result. > > I'm suspecting that maybe it's my nss_ldap attribute mappings that are not > correct. I have no attribute mapping defined, since I would think that there > would be some default mappings that would work. Are there any default > mapping, and in case what are they? Or maybe "authconfig" set up these > mappings automatically? Any advice is appreciated. > > Best regards, > Kenneth Holter > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Enils.Bashi at FTIConsulting.com Tue Jan 26 16:30:54 2010 From: Enils.Bashi at FTIConsulting.com (Bashi, Enils) Date: Tue, 26 Jan 2010 11:30:54 -0500 Subject: Configuring RHEL servers to authenticate with Windows Server 2008 Active Directory In-Reply-To: References: Message-ID: I would use a software called likewise-open from likewise.com. It takes 5 minutes to install and setup. Avoids headaches of having to deal with ldap and samba configurations. There is a free version that works great, if authentication is the only thing you're looking for. If you need uid/gid mapping between Linux and Windows you might have to go with their enterprise version. I've used it on Ubuntu and Fedora successfully. I suspect it works just as well on RHEL. Regards, Enils -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Kenneth Holter Sent: Tuesday, January 26, 2010 11:15 AM To: redhat-sysadmin-list at redhat.com Subject: Configuring RHEL servers to authenticate with Windows Server 2008 Active Directory Hello all. I'd like to set my RHEL 4 and 5 servers up to authenticate with our Windows server 2008 Active Directory. Using "authconfig --update --enableldap --enableldapauth --ldapserver=ldap.example.com --ldapbasedn=dn=example,dn=com" and adding "binddn" and "bindpw" to the /etc/ldap.conf file, it looks like the linux box is connecting correctly to the AD server. But running "getent passwd " doesn't return any result. I'm suspecting that maybe it's my nss_ldap attribute mappings that are not correct. I have no attribute mapping defined, since I would think that there would be some default mappings that would work. Are there any default mapping, and in case what are they? Or maybe "authconfig" set up these mappings automatically? Any advice is appreciated. Best regards, Kenneth Holter -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 7437 bytes Desc: not available URL: From matt.iavarone at gmail.com Thu Jan 28 04:50:16 2010 From: matt.iavarone at gmail.com (Matt Iavarone) Date: Wed, 27 Jan 2010 21:50:16 -0700 Subject: Dynamic interface using iproute2 In-Reply-To: <874776c01001260522k6382e395i9e734024359212b3@mail.gmail.com> References: <874776c01001260522k6382e395i9e734024359212b3@mail.gmail.com> Message-ID: <29f82b421001272050g7e42f48al1e292559c9cfc7c3@mail.gmail.com> On Tue, Jan 26, 2010 at 6:22 AM, Gustavo Schroeder wrote: > Hi, > > I've always used iproute2 with a fixed IP, which makes things easy to > get the address in order to insert it into other dynamic tables. My > issue is that now, the IP is going to be dynamic; one will use > dhclient to get the IP but I'm puzzled on how to insert it into > dynamic tables using redhat features. > Here's the scenario: > - interface A receives dynamic IP using dhclient > - once iface A is up, one needs to get the current IP address an push > it into a dynamic table > > This is perfectly achievable using a post-up interface script, since > the iface is up and has an IP I can easily get the addr. Is such a > feature supported in redhat using an /etc/sysconfig/route-ethX or > rule-ethX approach? > > Regards > -Gustavo > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > With iptables2, you are setting the new default route by subnet, not by specific IP address, correct? So as long as you are getting a DHCP address from one subnet only, then you can do something along the lines of the following: #echo "255 newroute" >> /etc/iproute2/rt_tables #ip route add 192.168.1.0/24 dev eth1 src 192.168.2.10 table newroute #ip rule add from 192.168.2.10/24 table admin I don't have my documentation handy, but it should look something like that. Once you verify that it is correct, you can create the route and rule scripts in ../network-scripts. It's pretty much the same commands, but you would remove "ip rule add" and "ip route add" (check the ifup scripts to be sure though). -Matt From nitin.gizare at wipro.com Thu Jan 28 09:01:25 2010 From: nitin.gizare at wipro.com (nitin.gizare at wipro.com) Date: Thu, 28 Jan 2010 14:31:25 +0530 Subject: Crash Dump Analyzer in Linux. Message-ID: Hello I wanted to know if some body has info about crash dump feature on RHEL 4.0 Up6 Linux or any third party tool which can help analyze cause of crash of Linux server. Rgds Nitin Rgds Nitin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gutosch at gmail.com Thu Jan 28 11:42:01 2010 From: gutosch at gmail.com (Gustavo Schroeder) Date: Thu, 28 Jan 2010 09:42:01 -0200 Subject: Dynamic interface using iproute2 In-Reply-To: <29f82b421001272050g7e42f48al1e292559c9cfc7c3@mail.gmail.com> References: <874776c01001260522k6382e395i9e734024359212b3@mail.gmail.com> <29f82b421001272050g7e42f48al1e292559c9cfc7c3@mail.gmail.com> Message-ID: <874776c01001280342w291c2d03sfb1af4ffd581f4f1@mail.gmail.com> On Thu, Jan 28, 2010 at 2:50 AM, Matt Iavarone wrote: > On Tue, Jan 26, 2010 at 6:22 AM, Gustavo Schroeder wrote: >> Hi, >> >> I've always used iproute2 with a fixed IP, which makes things easy to >> get the address in order to insert it into other dynamic tables. My >> issue is that now, the IP is going to be dynamic; one will use >> dhclient to get the IP but I'm puzzled on how to insert it into >> dynamic tables using redhat features. >> Here's the scenario: >> - interface A receives dynamic IP using dhclient >> - once iface A is up, one needs to get the current IP address an push >> it into a dynamic table >> >> This is perfectly achievable using a post-up interface script, since >> the iface is up and has an IP I can easily get the addr. Is such a >> feature supported in redhat using an /etc/sysconfig/route-ethX or >> rule-ethX approach? >> >> Regards >> -Gustavo >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >> > > With iptables2, you are setting the new default route by subnet, not > by specific IP address, correct? ?So as long as you are getting a DHCP > address from one subnet only, then you can do something along the > lines of the following: > > #echo "255 newroute" >> /etc/iproute2/rt_tables > #ip route add 192.168.1.0/24 dev eth1 src 192.168.2.10 table newroute > #ip rule add from 192.168.2.10/24 table admin Yes, default route is being done by subnet. I'm familiar with the example above, and it is exactly what I've been doing when the IP is static. I know the IP so one just needs to add into the correct route-ethX file under /etc/sysconfig/network-scripts. But for this case the interface must use a dynamic IP. So how am I going to know the correct ip (to use in src field) in order to add into route/rule-ethX? I was thinking that, once dhclient gets the ip addr it stores into a variable, and perhaps it would be possible to use this var in the src field of the route/rule-ethX file. I'm trying to digg this var from the sysconfig files but no luck so far. Any clue? -Gustavo > > I don't have my documentation handy, but it should look something like > that. ?Once you verify that it is correct, you can create the route > and rule scripts in ../network-scripts. ?It's pretty much the same > commands, but you would remove "ip rule add" and "ip route add" (check > the ifup scripts to be sure though). > > -Matt > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > From robinprice at gmail.com Thu Jan 28 14:06:15 2010 From: robinprice at gmail.com (Robin Price II) Date: Thu, 28 Jan 2010 09:06:15 -0500 Subject: Crash Dump Analyzer in Linux. In-Reply-To: References: Message-ID: Here is the link to the crash white paper. http://lmgtfy.com/?q=site%3A+redhat.com+crash On Thu, Jan 28, 2010 at 4:01 AM, wrote: > Hello > > > > I wanted to know if some body has info about crash dump feature on RHEL 4.0 > Up6 Linux or any third party tool which can help analyze cause of crash of > Linux server. > > > > Rgds > > Nitin > > > > Rgds > > Nitin > > > > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nitin.gizare at wipro.com Thu Jan 28 14:31:43 2010 From: nitin.gizare at wipro.com (nitin.gizare at wipro.com) Date: Thu, 28 Jan 2010 20:01:43 +0530 Subject: Crash Dump Analyzer in Linux. In-Reply-To: References: Message-ID: HI Many thanks , I will check on this. Rgds Nitin ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Robin Price II Sent: Thursday, January 28, 2010 7:36 PM To: redhat-sysadmin-list at redhat.com Subject: Re: Crash Dump Analyzer in Linux. Here is the link to the crash white paper. http://lmgtfy.com/?q=site%3A+redhat.com+crash On Thu, Jan 28, 2010 at 4:01 AM, wrote: Hello I wanted to know if some body has info about crash dump feature on RHEL 4.0 Up6 Linux or any third party tool which can help analyze cause of crash of Linux server. Rgds Nitin Rgds Nitin -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at rampaginggeek.com Fri Jan 29 01:34:05 2010 From: jason at rampaginggeek.com (Jason Edgecombe) Date: Thu, 28 Jan 2010 20:34:05 -0500 Subject: Crash Dump Analyzer in Linux. In-Reply-To: References: Message-ID: <4B623B0D.3000400@rampaginggeek.com> nitin.gizare at wipro.com wrote: > Hello > > > > I wanted to know if some body has info about crash dump feature on RHEL > 4.0 Up6 Linux or any third party tool which can help analyze cause of > crash of Linux server. > > Check out the crash whitepaper at http://people.redhat.com/~anderson/ Jason