Friday, August 28, 2009

Changing iso files

from:

http://forums.fedoraforum.org/archive/index.php/t-16524.html

I usually mount the ISO, then copy the contents out with something like:

mkdir ~/mynewcd
mount -o loop ~/crappyoldcd.iso /mnt/iso
cd /mnt/iso
tar cf - . | (cd ~/mynewcd; tar xvfp -)

then unmount the ISO, change the files in ~/mynewcd and run mkisofs with
something like:

cd ~/mynewcd
mkisofs -J -R -v -T -o ../mynewcd.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .

That's assuming you have a bootable CD using ISOLINUX. Also, running something
like:

isodebug ~/crappyoldcd.iso

might give you a good starting point command line for mkisofs...

Hope this helps...
Martin

Thursday, August 27, 2009

Limiting dhcp server to mac addresses

I followed:

http://osdir.com/ml/os.solaris.managers/2003-03/msg00240.html

I did in /etc/dhcp3/dhcpd.conf

#declarations des hosts : adresses ethernet
host emily { hardware ethernet 00:0b:db:6f:c7:4c;}
host wembley { hardware ethernet 00:0b:db:6f:e7:5f; }
host gobo { hardware ethernet 00:0b:db:6f:c7:5f; }

/etc/init.d/dhcp3-server restart