I have attached an usb disk to my Raspberry Pi, mounted it under /mnt/disk1 and shared through Samba with the name "Disk1".
The Pi is connected to my home network through an ethernet cable to my modem/router, a Netgear DGN3500.
From my MacBook, connected to the same network through wifi, I see the shared disk and I can navigate files and folders inside. But as soon as I try to copy some files to the Pi, after a few minutes the Pi hangs: the transfer is interrupted, the ssh prompt I keep open closes and I cannot ping it no more: host is down. This happens while copying through the samba share, but also using scp: after a moment, the Pi freezes, and I have to reboot it removing the power cable.
But if I connect the Pi through an ethernet directly to my MacBook, this does not happen: I am able to copy large amount of files from the Mac to the Pi, using samba or ssh, without any issue.
The Raspberry hangs only when copying from the MacBook to the shared disk. Transferring files from the shared disk to the MacBook works without any issue.
Could this problem be related in some way to my router? Anyone has experienced a behavior like this?