You are not logged in.
Hi everyone,
just installed Arch on my laptop for the first time after 6 years of Ubuntu and Debian - and it works like a charm. Even the installation was not nearly as complicated as I imagined (install on tty1 and elinks on tty2 did the trick).
But theres one thing where I've no idea how to do that: I'm using wicd to manage my wireless connection. The home server has some shared samba folders. When the connection is established, I can mount the folders manually and access them with pacman pcmanfm, works fine. But I want the samba folders to mount automatically (preferrably only when im connected to my home-network) after the connection is established, that's why I can't use fstab.
Any hints?
Cheers,
Fledermann
Last edited by fledermann (2013-06-24 07:12:23)
Offline
I cannot help you with wicd, but i'm quite sure that if you switch to netctl, you will be able to mount network share through fstab.
Last edited by GloW_on_dub (2013-06-24 06:11:34)
Offline
Instead of changing network management software, just use systemd's automount feature. It will not attempt to mount the filesystem until it is accessed. So assuming you don't try to go peeking into that mountpoint before the network is up, is should be fine. Just add "noauto,x-systemd.automount" to the options in your fstab. This functionality is very similar to autofs, but not quite as feature rich.
Offline
Whoa, I didn't even know of automount. Tried it out and it works perfectly!
Thanks
Offline