On Thu, 4 Apr 2002, Phil Davey wrote: > I'm trying to get the autofs system working using the examples below. > The kernel module is loading ok and the script runs /usr/sbin/automount as > it should. However this seems to be failing silently.
I've managed to fix this now. syslog logging to the server has suddenly started working properly which has helped enormously. =) The main problem (I think) was that the client was missing libraries in /usr/lib/autofs so I copied that whole directory to /opt/ltsp/i386/usr/lib/autofs Next problem was mount. I don't think busybox copes with the necessary options given to it. I fixed this by copying /bin/mount from the server to /opt/ltsp/i386/bin/mount Lastly, and most bizarrely, I need to run /etc/autofs *twice* to get automounter to load. No idea why, but it works. Now I can access the local floppy and cd via the linux ICA client. I've also managed to get OSS sound working (from ltspsound_0.1c) via the ICA client too. It doesn't seem to like esound for some reason. No more DOS for me. Hurrah! =) > On Wed, 28 Nov 2001, Darryl Bond wrote: > > ---------------------------------------------------------- > > I use the autofs to access the local drives with a startup script thus > > /opt/ltsp/i386/etc/rc.d/autofs is the standard redhat /etc/init.d/autofs with > > these line at the beginning > > > > /sbin/modprobe ide-probe-mod > > /sbin/modprobe ide-cd > > /sbin/modprobe cdrom > > /sbin/modprobe floppy > > mknod /dev/fd0 b 2 0 > > chmod 664 /dev/fd0 > > > > /opt/ltsp/i386/etc/auto.master > > # Sample auto.master file > > # Format of this file: > > # mountpoint map options > > # For details of the format look at autofs(8). > > /misc > > /etc/auto.misc > > --timeout 2 > > > > /opt/ltsp/i386/etc/auto.misc > > # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ > > # This is an automounter map and it has the following format > > # key [ -mount-options-separated-by-comma ] location > > # Details may be found in the autofs(5) manpage > > > > cd > > -fstype=iso9660,ro :/dev/cdroms/cdrom0 > > floppy > > -fstype=vfat -umask=000 -check=r :/dev/fd0 > > > > Create a directory /opt/ltsp/i386/misc > > > > the floppy is accessed as /misc/floppy > > the cd is accessed as /misc/cd > > > > Add these references to the ICA configuration file for local drive access. > > The drives automatically unmount after 2 seconds. > > ---------------------------------------------------------- > > > -- > Phil Davey > Computer Officer > Hughes Hall College, Cambridge > Email [EMAIL PROTECTED] > > -- Phil Davey Computer Officer Hughes Hall College, Cambridge Email [EMAIL PROTECTED] _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net