MLUG: Re: [MLUG] Samba shutting off nic?
Re: [MLUG] Samba shutting off nic?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--- Original message ---
I've got a bunch of Windows machines running through a Linux box as a
gateway to an ADSL connection. We share files between Windows machines all
the time with no problems. I'm the only one that works with files on the
Linux box using Samba. I've got one of the shares on the Linux box mapped
to a drive letter. If I have a file on the Linux box open in Windows for a
while -- like a graphic I'm working on or an HTML doc -- after about 15
minutes, the nic in my Windows machine stops responding. Since it's
Windows, I then have to reboot, which takes forever because it's one of
those machines that needs to be rebuilt so everything crashes and hangs
when you try to shutdown.
Any thoughts?
Thanks,
Scott
Hi scott,
There are who parameters in the smb.conf file which should take care of the problem...
keepalive = 30 - tells the samba to check every 30 secs whether the client is still present and responding. The default is 0, which causes smb to not check at all and close the connection after "deadtime".
deadtime = 60 tells samba to consider a connection dead after 60 minutes. Default is 0, which means NEVER (not wise).
 
PS
Just wandering,
You are using linux to connect to ADSL.
Is it a ethernet port or USB?
If it's something else than ethernet what do you use to interface it?
 
Regards,
Thorsteinn Sigurdsson (EMAIL:PROTECTED)
The National Solicitor's Network
Nightingale House, 65 Curzon Street
W1J 8PE, ,Mayfair, London, UK
Tel: 2027 2446422 - Fax: 0207 3706893 - GSM: 0794 9038206