I ran into an issue when making the switch from smbmount to cifs. We have a somewhat odd situation here where DHCP addresses are handled campus-wide, and get a search path of cns.ohiou.edu. My servers are in the math.ohiou.edu domain.
I'm a little fuzzy on the details, but I believe smbmount would send a broadcast out for the server name if it couldn't find it in DNS, whereas CIFS doesn't. It might be possible to work around this with a WINS server, but I'm not sure. To combat this, I simply created a hosts file on the boot CD which negates the problem. The following is a patch and a hosts file that can be put in the linuxboot/misc/ directory. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
# List additional servers here if necessary (e.g. no WINS server) 127.0.0.1 localhost.localdomain localhost
Index: Makefile =================================================================== RCS file: /cvsroot/unattended/unattended/linuxboot/Makefile,v retrieving revision 1.181 diff -u -r1.181 Makefile --- Makefile 4 Apr 2008 10:46:58 -0000 1.181 +++ Makefile 4 Apr 2008 19:24:41 -0000 @@ -765,6 +766,8 @@ $(call copy_file,misc/master,stage1/etc/master) +$(call copy_file,misc/hosts,stage1/etc/hosts) + $(call copy_file,misc/modprobe.conf,stage1/etc/modprobe.conf) $(call copy_file,misc/module-order.txt,stage1/etc/module-order.txt) @@ -794,7 +797,7 @@ stage1/bin/find-modules-pci \ stage1/bin/make-blkdev-nodes stage1/etc/extra.pcimap \ stage1/etc/master stage1/etc/modprobe.conf \ - stage1/etc/module-order.txt \ + stage1/etc/module-order.txt stage1/etc/hosts \ stage1/etc/udhcpc-script stage1/etc/nsswitch.conf \ stage1/etc/passwd stage1/usr/lib/freedos-mbr.bin \ stage1/usr/lib/ntldrbin/ntldr_boot_code_install \ Index: misc/nail-floppy.txt =================================================================== RCS file: /cvsroot/unattended/unattended/linuxboot/misc/nail-floppy.txt,v retrieving revision 1.52 diff -u -r1.52 nail-floppy.txt --- misc/nail-floppy.txt 28 Mar 2008 08:45:36 -0000 1.52 +++ misc/nail-floppy.txt 4 Apr 2008 19:24:41 -0000 @@ -17,6 +17,7 @@ etc/extra.pcimap etc/ld.so.cache +etc/hosts etc/master etc/version
pgpQymT1XXqfZ.pgp
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel