/etc/fstab
. On Mint 19 I'm finding a familiar problem (as in I had this with Mint 18 when I first used it), namely that I log in and these
/etc/fstab
network mounts are not mounted. Easy fixed I just have to type sudo mount -a
in a terminal window and they appear. Now from memory in Mint 18 (a long time ago now) I concluded (and was advised) that the network manager doesn't bring the cabled ethernet link up until after logging in. It was
eth0
then and is eno1
lately. So that is my premise this time round too. That the reason they are not mounded is because when /etc/fstab
is processed the network is not up yet.Only this time I would like to try something new, that is, keep the network manager installed (for a few other reasons). It's not crucial but I'd rather look for a solution that includes it.
I notice that this is all now done under netplan: https://netplan.io/
and Network Manager is handed the reigns in:
Code: Select all
$ cat /etc/netplan/1-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
Code: Select all
$ cat /etc/netplan/1-network-manager-all-but-eno1.yaml
# Let NetworkManager manage all devices on this system except for the cabled ethernet link eno1 which we bring up at boot time
[What goes here?]
Code: Select all
network:
ethernets:
eno1:
addresses: []
dhcp4: true
optional: true
version: 2
renderer: NetworkManager
I would like to understand better how to mix network manager with an ethernet link that is up at boot time so network drives mount successfully. Is that even possible, sensible or what?
I will of course do some reading at neplan.io but wanted to raise the question here too to see if ther eis experience out there that can be shared and to have the story/use-case on record in these forums I guess.
Reasons I'd like to try and mix these is that I work a fair bit with a VPN and also with a Wifi dongle on this box and I historically work with these all through system configs I guess but really like the idea of seeing them in my sys tray too. In short I like the idea of the network manager a lot, I just wish it had a clearly easily configurable way of starting at boot time and raising the wired network not at login time.
And perhaps such a things is doable and easy but I have'nt fallen over any clear documentation. Alas networking on Linux is a convoluted mess of different systems at play in my experience, mixes of network manager, systemd.network, upstart, systemd, netplan and more and getting one's head around this nest of things is not trivial to say the least, but this use case here I figure must be a fairly common desktop one. I mean I just want my NAS drives mounted at boot so I a) don't have to mount them manually and b) can access them in other other run contexts I guess (during startup, from daemons running when I'm not logged in etc).