To mount NAS on a Laptop?
- by deckoff
So, I bought a NAS, which I configured successfully in /etc/fstab, on mu Kubuntu 10.10 Thinkpad x40. It works just fine when I am at home. A few days I went out with my laptop and the problem is, that when not at home, both suspend and hibernate functions seem forever to work.
I commented out the entry on fstab and the laptop started to work as expected.
I played with autofs, but it seems just dies at one moment and I cannot access anything. It works for some time, and then just goes off.
Is there any consistent way, to make my laptop access the drive when at home and work OK when away?
Probably a script that runs at startup, checks if the mount is there and mounts it if available... or a script that umount the drive at suspend|hibernate and loads it back at startup.
Any useful ideas?