[Samba] Connection hangs after unspecific time

Claus Gaisser mutetella at denkdran.org
Wed Dec 31 09:16:12 MST 2014


It would seem that my problem is no Samba specific problems. After
turning off acpi via the kerneloption ``acpi=off`` accessing sambashares
will work as expected.

Don't know which device don't wake up properly after switching into any
powersave mode?

I don't care! It works!

Claus



On Sun, 21.12. 20:17, Claus Gaisser wrote:
> Hello,
> 
> I have a samba server installed on a Lenovo Laptop X100e with this
> ``smb.conf``:
> 
> [global]
> workgroup = WORKGROUP
> security = user
> 
> log file = /var/log/samba/log.%m
> max log size = 1000
> syslog = 0
> panic action = /usr/share/samba/panic-action %d
> 
> server role = standalone server
> map to guest = bad user
> usershare allow guests = yes
> 
> [homes]
> comment = Home Directories
> browseable = no
> read only = yes
> create mask = 0700
> directory mask = 0700
> valid user = %S
> 
> [Documents]
> path = /srv/share/Dokumente
> guest ok = yes
> write list = mutetella
> 
> If I connect to the ``Documents`` share via
> 
> mount -t cifs //192.168.1.5/Documents /mnt/srv/Dokumente -o guest
> 
> all works fine till the server's monitor switch into powersave (going
> blank) mode. After that I can connect to the server with ``ssh`` or
> ``ping`` but if I try to touch the share e.g. ``ls -laR
> /mnt/srv/Dokumente`` the listing begins but after a few entries the
> connection hangs. From now on there is no ``ssh``, ``ping`` or something
> else possible too. After reinitial the ethernet card on servers side
> 
> ifdown eth0
> ifup eth0
> 
> all is fine. While the connection hangs after touching the share the
> kernels arp-cache has no MAC entry on clients side to server IP and no
> MAC entry on servers side to clients IP. I've tried to add permanent arp
> entries but this was no solution.
> 
> I'm baffled... ;-(
> 
> Claus
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list