To mount NAS on a Laptop?
Posted
by
deckoff
on Ask Ubuntu
See other posts from Ask Ubuntu
or by deckoff
Published on 2011-04-24T07:55:38Z
Indexed on
2012/03/30
23:42 UTC
Read the original article
Hit count: 243
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?
© Ask Ubuntu or respective owner