I’ve 2 network drives on one subnet (nfs and samba). I would like to access them only if computer is connected to particular ssid (subnet).

I’m using gnome primarily. And files stops responding if mount points can’t be accessed. There is no real way to recover from this apart from connecting to network, unmount and then change network.

I would like those drives to be accessed by system only if they are reachable.

  • stupid_asshole69 [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 hours ago

    You’re asking the wrong person, I use lxqt.

    Tonight I can see if konqueror (the kde file browser still think…) does the same thing.

    How are your network filesystems mounted, fstab?

    • rando@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      It was through fstab until recently. About 2 weeks back I moved to mount them on demand (systemd, will confirm exact method when I’m in front of computer) however this still doesn’t address unmount part when I switch network.