Re: SV: DHCP server ?

Trevor Batley <[email protected]>
Newsgroups gmane.linux.pxes.devel
Message-ID <[email protected]>
WRONG LIST.

Sorry for that!

But, you should still be able to control which directory (and subsequent control
files etc) you use via dhcp for the individual mac addresses you need to control
 whilst still having a default for all the others.

For your subnet have a default setting of 'filename "normal/pxelinux.0";' and
for each of the workstations requiring special treatment create a block
host <name> {hardware ethernet <mac in nn:nn:nn:nn:nn:nn format>;
             filename "other/pxelinux.0";}

You can then use different anything in those directories (eg.
other/pxelinux.cfg/default can refer to a different kernel and initrd and you
can have a different default.conf in the /other directory).

Trevor B

Quoting Trevor B <[email protected]>:

> Einar,
> 
<<lots of thinstation stuff removed...> 
> Trevor B
> PS. earlier post was because I didn't read your post prooerly and 
> thought you were having problems with the M$ side of the equation.
> 
> Eliassen Einar (ErgoGroup) wrote:
> 
> >Hey Tim
> >
> >Can you really do that with MAC addresses ? I cant seem to find it. All I
> >find is the HEX value of the IP address.
> >Snagged from the page:
> >
> >First, it will search for the config file using its own IP address in upper
> >case hexadecimal, e.g. 192.0.2.91 -> C000025B (you can use the included
> >progam gethostip to compute the hexadecimal IP address for any host.) 
> >If that file is not found, it will remove one hex digit and try again.
> >Ultimately, it will try looking for a file named default (in lower case). 
> >
> >As an example, for 192.0.2.91, it will try C000025B, C000025, C00002,
> C0000,
> >C000, C00, C0, C, and default, in that order.
> >
> >
> >Of course this is an option, but it will add more administrative work.
> >I will look into this a bit more.
> >It could very well be what I end up using. Either that or bootloader menu.
> >
> >I'm still in the testing phase concerning thin client hardware.
> >Currently testing ThinTune boxes (www.thintune.de). The Xs box is sweet.
> >Also expecting HPs thin clients any day.
> >
> >We must recycle all the old hardware before using new thin client hardware.
> >
> >
> >Thanx alot Tim :)
> >
> >
> >Regards,
> >
> >Einar Eliassen
> >
> >
> >
> >-----Opprinnelig melding-----
> >Fra: Tim Bates [mailto:[email protected]] 
> >Sendt: 18. februar 2004 10:42
> >Til: [email protected]
> >Emne: Re: [pxes-devel] DHCP server ?
> >
> >
> >No, all you need to do is copy the "default" config file (the one called
> >"default") from the TFTP server, modify it to have the image u want and
> then
> >call it the right name based on the mac address. Read the docs at
> >http://syslinux.zytor.com/pxe.php.
> >
> >Tim
> >
> >  
> >
> >>I guess I have to use the bootloader then :)
> >>Was hoping to find a way with no user interaction....because we all 
> >>know that users have an amazing ability to screw things up.
> >>
> >>Regards,
> >>
> >>Einar
> >>
> >>
> >>-----Opprinnelig melding-----
> >>Fra: Diego Torres Milano [mailto:[email protected]]
> >>Sendt: 17. februar 2004 20:40
> >>Til: [email protected]
> >>Emne: Re: [pxes-devel] DHCP server ?
> >>
> >>
> >>Hi Einar,
> >>I will try to address some of the issues, keep reading...
> >>
> >>Eliassen Einar (ErgoGroup) wrote:
> >>
> >>    
> >>
> >>>Hello list :)
> >>>
> >>>I'm not sure if this has been discussed before...but here goes:
> >>>
> >>>In a perfect world I would be running Linux DHCP server for our 
> >>>users. But we have a totally MS dominated network. When deploying 
> >>>thin clients over PXE I want to use different images for different 
> >>>hardware.
> >>>
> >>>      
> >>>
> >>There're few reasons to do that. One is architecture related (not your 
> >>case I guess). The other is X 3.3.6 vs X 4.3.0.
> >>And perhaps some more, but they are the most relevant.
> >>
> >>    
> >>
> >>>I know this is easy doing on Linux where you can serve a specific 
> >>>image to a specific MAC address. Is there another way ?
> >>>
> >>>      
> >>>
> >>Selected through the boot loader.
> >>
> >>    
> >>
> >>>Take into consideration that all clients are not able to get static 
> >>>IP. I havent really looked much at Remote Configuration yet.
> >>>
> >>>      
> >>>
> >>Remote Configuration allows you to change any (almost) parameter in 
> >>the image not the image itself.
> >>
> >>    
> >>
> >>>Is it possible to use MS DHCP servers and make a remote config for a 
> >>>client based on its MAC address ?
> >>>
> >>>      
> >>>
> >>You can select the image depending on your IP (or part of it). If you
> >>    
> >>
> >check
> >  
> >
> >>the PXELINUX doc you'll see.
> >>
> >>    
> >>
> >>>I found a post on the list from Diego which said:
> >>>
> >>>The configurations files read are (in this order): default.conf
> >>><network>.conf
> >>><MAC>.conf
> >>><hostname>.conf
> >>>
> >>>MAC is the hex value (i.e: XXXXXXXXXX.conf)
> >>>
> >>>      
> >>>
> >>Yes, but it's too late to change the image.
> >>
> >>    
> >>
> >>>
> >>>The problem I'm trying to solve is that I have some thin clients who 
> >>>MUST have the X 4.3 version. Because a buggy SiS chip that won't work 
> >>>with X 3.3.6. The other clients run fine on X 3.3.6.
> >>>
> >>>The image for X 4.3 adds up to 8.9 MB and the 3.3.6 image comes to 
> >>>6.3 MB. So I must give out 2 different images in a MS only 
> >>>environment.
> >>>
> >>>
> >>>Do I use Remote Config for this or is there another way ?
> >>>
> >>>Regards,
> >>>
> >>>Einar Eliassen
> >>>
> >>>
> >>>
> >>>
> >>>      
> >>>
> >>I hope this could help you.
> >>
> >>    
> >>
> >>>-_____________________________________________
> >>>
> >>>The contents of this e-mail are confidential to the person(s) or
> >>>organisation(s) to whom it is addressed. No-one else may copy or 
> >>>forward all or any of it in any form without the prior written 
> >>>consent of the originator. If you have received this e-mail in error, 
> >>>please contact the sender and delete the material from any computer.
> >>>
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and 
> >>>deploy apps & Web services for Linux with a free DVD software kit 
> >>>      
> >>>
> >>>from IBM. Click Now! 
> >>    
> >>
> >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>>_______________________________________________
> >>>pxes-devel mailing list
> >>>[email protected] 
> >>>https://lists.sourceforge.net/lists/listinfo/pxes-devel
> >>>
> >>>
> >>>      
> >>>
> >>--
> >>    ______  ________
> >>   /  /   \/  /___  )  I  N   T   E   G   R   A   C   I   O   N
> >>  /  /       /___  /   I  N   F   O   R   M   A   T   I   C   A
> >> /__/__/\___/_____'
> >>
> >> Diego Torres Milano Maipu 42 Office 164 - (C1084ABB) Buenos Aires 
> >>Argentina
> >> [email protected]    Tel: +5411 4331-2233 Fax +5411 4331-3377
> >>www.in3.com.ar
> >>
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and 
> >>deploy apps & Web services for Linux with a free DVD software kit from 
> >>IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>_______________________________________________
> >>pxes-devel mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/pxes-devel
> >>
> >>
> >>
> >>-_____________________________________________
> >>
> >>The contents of this e-mail are confidential to the person(s) or
> >>organisation(s) to whom it is addressed. No-one else may copy or 
> >>forward
> >>    
> >>
> >all
> >  
> >
> >>or any of it in any form without the prior written consent of the 
> >>originator. If you have received this e-mail in error, please contact 
> >>the sender and delete the material from any computer.
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and 
> >>deploy apps & Web services for Linux with a free DVD software kit from 
> >>IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>_______________________________________________
> >>pxes-devel mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/pxes-devel
> >>
> >>    
> >>
> >
> >
> >
> >-------------------------------------------------------
> >SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> >Build and deploy apps & Web services for Linux with
> >a free DVD software kit from IBM. Click Now!
> >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >_______________________________________________
> >pxes-devel mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/pxes-devel
> >
> >
> >
> >-_____________________________________________ 
> >
> >The contents of this e-mail are confidential to the person(s) or
> >organisation(s) to whom it is addressed. No-one else may copy or forward
> all
> >or any of it in any form without the prior written consent of the
> >originator. If you have received this e-mail in error, please contact the
> >sender and delete the material from any computer. 
> >
> >
> >
> >
> >-------------------------------------------------------
> >SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> >Build and deploy apps & Web services for Linux with
> >a free DVD software kit from IBM. Click Now!
> >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >_______________________________________________
> >pxes-devel mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/pxes-devel
> >  
> >
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> pxes-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pxes-devel
> 


>----------------------------
Trevor Batley
trevor_AT_batley.id.au


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.