I've tryed mounting a Win 2K share on Linux. While it does work it will timeout/disconnect after around 1 hour (I'm not totally sure how long). What is the most reliable approach to mount a Win 2K share on Linux "permanently". Thanks.
I doubt this will help you out, but to share my experience... I had a similar, but opposite problem. I was mounting a Linux share on an NT WS and after several days, the NTWS would lose the connection. After sniffing the wire, the NTWS was doing a WINS broadcast (all the Windows boxes are set to b-node) to find the Linux box. I changed the box to do a "Use DNS for NetBIOS resolution" and have not had a problem since. So, wrt your question, have you tried sniffing the wire to see what the machine(s) is attempting to do? --- Grant <grant@conprojan.com.au> wrote:> I've tryed mounting a Win 2K share on Linux. While it does work it will > timeout/disconnect after around 1 hour (I'm not totally sure how > long). What is the most reliable approach to mount a Win 2K share on Linux > "permanently".====Sincerely, Faber Fedor LinuxNJ.com - Linux and Open Source solutions for New Jersey http://www.linuxnj.com __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
On Thu, 21 Dec 2000, Grant wrote:> I've tryed mounting a Win 2K share on Linux. While it does work it will > timeout/disconnect after around 1 hour (I'm not totally sure how > long). What is the most reliable approach to mount a Win 2K share on Linux > "permanently".Timeouts are fine, smbmount is supposed to reconnect automagically. If this fails (as I suspect it does for you) then you may be using too old versions of the various components (always include version numbers of relavant software in any problem report). Samba 2.0.7, Linux 2.2.18 should not suffer from connection loss (well, it shouldn't be as bad as it was ... it's still possible to break things if you are clever). Try upgrading if you are not using those versions already. /Urban
I'm now using samba v2.0.7 and 2.2.18 kernel. The command for mounting a Windows 2000 share for smbmount is: mount -t smbfs -o username=USERNAME,password=PASSWORD,uid=root,gid=root,dmask=0777 //SHAREPC/share /mount/directory After a while it seems to disconnect. With errors from the log: Dec 22 17:28:26 sphinx kernel: smb_trans2_request: result=-32, setting invalid Dec 22 17:28:38 sphinx kernel: smb_retry: signal failed, error=-3 I mount nfs shares to other linux boxes (from linux) and they stay connected 24/7 365 days a year. smbmount is a pain in the ass. Is it smbmount or Windows 2000 that is doing this? I just want the mounted share to stay there permanently... On Thu, 21 Dec 2000, Grant wrote:> I've tryed mounting a Win 2K share on Linux. While it does work it will > timeout/disconnect after around 1 hour (I'm not totally sure how > long). What is the most reliable approach to mount a Win 2K share on Linux > "permanently". > > Thanks. > > >