/srv/irclogs.ubuntu.com/2021/02/20/#netplan.txt

BeRootsHello. I'm looking to a netplan configuration to make a wifi adhoc private network between an ubuntu and a fedora33. I haven't find any good example and for the moment my /etc/netplan/20-adhocwifi.yaml is something like:12:55
BeRootsnetwork:12:55
BeRoots    version: 212:55
BeRoots    wifis:12:55
BeRoots        wlan0:12:55
BeRoots            access-points:12:55
BeRoots                "My adhoc":12:55
BeRoots                    mode: adhoc12:55
BeRoots                    password: "s3kr1t"12:55
BeRootsI want to get the maximum possible features for this network such as mac filtering ; possible auth using keys ; network address setting such as 192.168.2.0/30... If someone can help me to make this config file.12:55
BeRootsI have make a test like this:16:03
BeRootsnetwork:16:03
BeRoots  version: 216:03
BeRoots  renderer: networkd16:03
BeRoots  wifis:16:03
BeRoots    wlan0:16:03
BeRoots      dhcp4: no16:03
BeRoots      dhcp6: no16:03
BeRoots      addresses: [192.168.2.1/30]16:03
BeRoots#      gateway4: 0.0.0.016:03
BeRoots#      nameservers:16:03
BeRoots#        addresses: [127.0.0.1]16:03
BeRoots      access-points:16:03
BeRoots        "My adhoc":16:03
BeRoots          mode: adhoc16:03
BeRoots          password: "s3kr1t"16:03
BeRootsThe `netplan generate` command generate the configuration without errors (same generated content with the config filled before or when I uncomment it 3 commented lines). But when i run `netplan try` command or `netplan -d apply` command, I have logs loop that appears and `ip a` not chow me an IP for wlan0. I'm forced to delete the16:03
BeRoots/etc/netplan/wlan0.yaml and run `netplan apply` again to stop the logs loop and restore my system.16:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!