Hi list,
We are running few Centos5.4 and windows 2003 instance on CENTOS XEN virtualized environment , all the guest are getting the IP/NETWORK/GATEWAY setting from the DHCP Server running on CENTOS 5 server and the DNS configured on the windows 2003 server.
All of the CENTOS Guests are getting the IP and the host name as per the DNS forward look up configured. For example If the CENTOS guest1 get x.y.z.1 as an IP and it gets the host name as machine1.example.com and so on .
But none of the windows guest is getting the hostname or computer name from the DHCP server even though its getting the ip from the centos DHCP server properly , instead all the windows guest are setting up the hostname or computername as ORGNAME-withsomenumbers . eg: techsoft-342156 as a computer name .
See at present we are not doing any static mapping of IP/HOSTNAME based on windows GUEST MAC address. So statically mapping the hostname/ip with guest MAC address is out of question now.
Is there is any configuration to be tuned on dhcpd.conf or any files or parameter to be tuned on windows 2003 guests to get the hostname from the DHCP/DNS . i heard about some option like "*dhcpd opt 12*" on windows regisrty level will do the job , But am blank how to get things done .
Also is there is a way to tune CENTOS DHCP Server to lease the ip to the dhcp client in uniform order rather it leases randomly .
If any one throws me some light on how to get this done it will be really great full for me .
Regards, Lingu
On Tuesday, August 24, 2010, "linux-crazy" hicheerup@gmail.com wrote:
Is there is any configuration to be tuned on dhcpd.conf or any files or parameter to be tuned on windows 2003 guests to get the hostname from the DHCP/DNS . i heard about some option like "*dhcpd opt 12*" on windows regisrty level will do the job , But am blank how to get things done .
.
Ask on a Windows list?
Everyone in the family has a digital camera or cell phone and they seem to be leaving picture files all over their home folders, and laptops with no sense of year/month/day taken or what they are about.
Looking to consolidate all the family pics in one location on a samba share on the primary workstation that happens to have 2TB of mirrored storage.
This is all behind a firewall that blocks smb protocols in and out, and the iptables on the primary workstation will be set to only allow smb to/from specific family laptops.
I have read the manuals...so I know one can get samba and selinux to dance together.
But...I don't really want to set a boolean so that all the /home folders can be shared. Would rather create a separate folder and give it the correct selinux context, but there is a warning to be careful to not use a "system folder" because they already have the proper selinux contexts.
So...if one were to create a new folder and share it out via samba, where would be the best location to create it so as to not conflict with the selinux contexts of the distro?
/usr/share? /usr/local/share? /usr/mnt? somewhere in /var? or somewhere else?
Dave M
My suggestion based on the Filesystem Hierarchy Standard would be somewhere in /srv/
http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYS...
http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM -- David
On Tue, Aug 24, 2010 at 10:03 PM, David McGuffey davidmcguffey@verizon.netwrote:
Everyone in the family has a digital camera or cell phone and they seem to be leaving picture files all over their home folders, and laptops with no sense of year/month/day taken or what they are about.
Looking to consolidate all the family pics in one location on a samba share on the primary workstation that happens to have 2TB of mirrored storage.
This is all behind a firewall that blocks smb protocols in and out, and the iptables on the primary workstation will be set to only allow smb to/from specific family laptops.
I have read the manuals...so I know one can get samba and selinux to dance together.
But...I don't really want to set a boolean so that all the /home folders can be shared. Would rather create a separate folder and give it the correct selinux context, but there is a warning to be careful to not use a "system folder" because they already have the proper selinux contexts.
So...if one were to create a new folder and share it out via samba, where would be the best location to create it so as to not conflict with the selinux contexts of the distro?
/usr/share? /usr/local/share? /usr/mnt? somewhere in /var? or somewhere else?
Dave M
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 25/08/2010 03:03, David McGuffey wrote:
Everyone in the family has a digital camera or cell phone and they seem to be leaving picture files all over their home folders, and laptops with no sense of year/month/day taken or what they are about.
Looking to consolidate all the family pics in one location on a samba share on the primary workstation that happens to have 2TB of mirrored storage.
There's lots of variations on this - as per usual Unix descended systems have a million ways to skin a cat.
Personally I prefer everything users side to be in one place so I put it all in /home. I even move mysql databases and such to there so I know that: /etc - is all my configuration /home - is all my data / - is installation stuff
If you have a lot of servers then it helps keep things straight. Besides I try and use an old smaller drive as a system drive and a new huge one as /home. If the box dies all you have to do is grab /home and stick it in another box without worrying what you've left behind in /opt or /var or /srv
From: Kevin Thorpe kevin@pibenchmark.com
On 25/08/2010 03:03, David McGuffey wrote:
Everyone in the family has a digital camera or cell phone and they seem to be leaving picture files all over their home folders, and laptops with no sense of year/month/day taken or what they are about. Looking to consolidate all the family pics in one location on a samba share on the primary workstation that happens to have 2TB of mirrored storage.
There's lots of variations on this - as per usual Unix descended systems have a million ways to skin a cat. Personally I prefer everything users side to be in one place so I put it all in /home. I even move mysql databases and such to there so I know that: /etc - is all my configuration /home - is all my data / - is installation stuff If you have a lot of servers then it helps keep things straight. Besides I try and use an old smaller drive as a system drive and a new huge one as /home. If the box dies all you have to do is grab /home and stick it in another box without worrying what you've left behind in /opt or /var or /srv
Maybe have a look at: http://www.pathname.com/fhs/pub/fhs-2.3.html
JD
The next time they buy a camera memory card, recommend to them to buy an eye.fi card (it is uLinux based). Set all the cards to store in YYYYMMDD format. Set up your own ftp server to receive the uploads directly from the camera.
Even though the eye.fi SD memory card runs uLinux itself, eye.fi does not provide Linux applications. There are supporting applications for Linux with the most comprehensive list here: http://tech.groups.yahoo.com/group/EyeFiHacking/
Hope this is not too off-topic in mentioning a product, but it has a great deal of promise in helping the OP handle user input, ftp solves a number of problems, and it is Linux based.
See inline, please
linux-crazy wrote:
Hi list,
We are running few Centos5.4 and windows 2003 instance on CENTOS XEN virtualized environment , all the guest are getting the IP/NETWORK/GATEWAY setting from the DHCP Server running on CENTOS 5 server and the DNS configured on the windows 2003 server.
All of the CENTOS Guests are getting the IP and the host name as per the DNS forward look up configured. For example If the CENTOS guest1 get x.y.z.1 as an IP and it gets the host name as machine1.example.com http://machine1.example.com and so on .
But none of the windows guest is getting the hostname or computer name from the DHCP server even though its getting the ip from the centos DHCP server properly , instead all the windows guest are setting up the hostname or computername as ORGNAME-withsomenumbers . eg: techsoft-342156 as a computer name .
See at present we are not doing any static mapping of IP/HOSTNAME based on windows GUEST MAC address. So statically mapping the hostname/ip with guest MAC address is out of question now.
Is there is any configuration to be tuned on dhcpd.conf or any files or parameter to be tuned on windows 2003 guests to get the hostname from the DHCP/DNS . i heard about some option like "*dhcpd opt 12*" on windows regisrty level will do the job , But am blank how to get things done .
Also is there is a way to tune CENTOS DHCP Server to lease the ip to the dhcp client in uniform order rather it leases randomly .
I use mac address reservations in the /etc/dhcpd.conf file, like so:
host linsrv { hardware ethernet 00:50:fc:57:5c:db; option host-name "linsrv"; fixed-address 192.168.100.254; }
If any one throws me some light on how to get this done it will be really great full for me .
Regards, Lingu
HTH,
Phil
On Tue, 24 Aug 2010, Phil Savoie wrote:
I use mac address reservations in the /etc/dhcpd.conf file, like so:
host linsrv { hardware ethernet 00:50:fc:57:5c:db; option host-name "linsrv"; fixed-address 192.168.100.254; }
The way that I always do it is:
host foobar { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address hostname.domain.org; }
and rely on the DNS to supply the fixed IP address. This works for Linux, Windows XP, Vista and 7, and OS X.
Steve
On Tue, Aug 24, 2010 at 3:12 PM, linux-crazy hicheerup@gmail.com wrote:
Hi list,
We are running few Centos5.4 and windows 2003 instance on CENTOS XEN virtualized environment , all the guest are getting the IP/NETWORK/GATEWAY setting from the DHCP Server running on CENTOS 5 server and the DNS configured on the windows 2003 server.
All of the CENTOS Guests are getting the IP and the host name as per the DNS forward look up configured. For example If the CENTOS guest1 get x.y.z.1 as an IP and it gets the host name as machine1.example.com and so on .
But none of the windows guest is getting the hostname or computer name from the DHCP server even though its getting the ip from the centos DHCP server properly , instead all the windows guest are setting up the hostname or computername as ORGNAME-withsomenumbers . eg: techsoft-342156 as a computer name .
See at present we are not doing any static mapping of IP/HOSTNAME based on windows GUEST MAC address. So statically mapping the hostname/ip with guest MAC address is out of question now.
Is there is any configuration to be tuned on dhcpd.conf or any files or parameter to be tuned on windows 2003 guests to get the hostname from the DHCP/DNS . i heard about some option like "dhcpd opt 12" on windows regisrty level will do the job , But am blank how to get things done .
Also is there is a way to tune CENTOS DHCP Server to lease the ip to the dhcp client in uniform order rather it leases randomly .
If any one throws me some light on how to get this done it will be really great full for me .
Regards, Lingu
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Why don't you run DHCP & DNS on CentOS?