Ubuntu 20.04.2 LTS sharing with community bond -> no networks decided on for sharing

Hello all,

I’m working somewhat house server below Ubuntu 20.04.2 LTS to serve plex, lms, nexcloud, virtualbox, and many others. on a reflected zfs pool for the entire information. The device has two NICs so I enabled a community bond at the two (setup depicted underneath) for quicker get entry to and backup over the community. The whole thing is operating correctly and effective. Machine products and services are to be had, community out of doors is reachable and updates are available regularly. Now I made up our minds to additionally allow sharing, i.e., far flung desktop, so that you can use probably the most GUI programs with out sitting on the cellar (the place the device is put in). As an example, I exploit a number of digital device for top quality audio ripping from a pool of 12 connected CD/DVD drives and it simply makes it more uncomplicated to observe the rip growth with out visiting the cellar over-frequently (*1*).

Then again, enabling sharing the use of the well-documented default desktop GUI settings/sharing failed. Each sharing choice within the GUI chilly now not be enabled because it calls for the number of the community for the percentage which isn’t to be had. That is what you spot if so (word that I did get this image from a distinct thread since my setup is ready to German language, therefore the vnc://root is in fact isn’t what I see because it is dependent upon your native setup):

As you’ll be able to see, you’ll be able to’t allow sharing since there’s no community decided on however there’s none from make a selection from. So I did a little bit of studying first and realized that Ubuntu modified its technique to deal with networks rather a while in the past. Once you have accustomed to the brand new netplan device I in the end controlled to get the bond display up within the networks segment of the GUI. Because it took me a while I assumed you may ne within the resolution. That is the /and many others/netplan/cat 50-cloud-init.yaml earlier than my exchange:

Code:

(*7*)community:
model: 2
ethernets:
eno1:
dhcp4: no
dhcp6: no
non-compulsory: true
eno2:
dhcp4: no
dhcp6: no
non-compulsory: true
bonds:
bond0:
interfaces: (*10*)
addresses: [192.168.0.10/24]
gateway4: 192.168.(*20*).1
nameservers:
seek: (*12*)
addresses: [192.168.0.1]
parameters:
mode: balance-rr

That is what needs to be modified to resolve the issue:

Code:

(*7*)community:
model: 2
ethernets:
renderer: NetworkManager …

Then it seems like this (now taken immediately from my device, since in German (*2*):

What I have never discovered, although, is how I finished up on this scenario since I put in a vanilla Ubuntu 20.02 and did allow the bond as it’s documented. Seems that one then has to explicitly set the renderer for the community to NetworkManager so that you can make a selection the networks in sharing. Hope it’s of lend a hand for a few of you, have a laugh.

Marc