[Gllug] Auto-Reconnecting Shares

Xander D Harkness xander at harkness.co.uk
Thu Dec 13 16:17:28 UTC 2001


On Thu, 2001-12-13 at 16:40, Alain Williams wrote:
> On Thu, Dec 13, 2001 at 02:48:16PM +0000, Ian Scott wrote:
> > >What is a more interesting question is getting an auto-reconnect on boot of
> > >the Win2K server -- when I last tried this, it was a problem.
> > 
> > If you mean mapped drives, the "reconnect on boot" bit is broken in NT
> > (and 2K I guess).  The way to do it is to use the commandline "net use"
> > command:
> > 
> > net use d: \\server\share password
> > 
> > I have a bunch of these in a batch file in my startup directory to connect
> > me to the right places when I log on.  It does mean you get a DOS prompt
> > flashing up and closing more or less straight away - but hey, what do you
> > do if you have an OS that won't background properly.
> 
> Sorry, my question was ambiguous, what I meant was:
> 
> 1) mount SMB file system onto Linux box, NT/... box is the server
> 
> 2) NT box is rebooted
> 
> 3) Want to use file system on NT box from Linux without administrative action
> 
> It is (3) that is the problem.
> 
In that case I would suggest using the automount daemon.  It will mount
upon use and unmount after a period of inactivity.

Cheers
Xander
> -- 
> Alain Williams
> 
> #include <std_disclaimer.h>
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list