[12:55] <BeRoots> Hello. 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] <BeRoots> network:
[12:55] <BeRoots>     version: 2
[12:55] <BeRoots>     wifis:
[12:55] <BeRoots>         wlan0:
[12:55] <BeRoots>             access-points:
[12:55] <BeRoots>                 "My adhoc":
[12:55] <BeRoots>                     mode: adhoc
[12:55] <BeRoots>                     password: "s3kr1t"
[12:55] <BeRoots> I 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.
[16:03] <BeRoots> I have make a test like this:
[16:03] <BeRoots> network:
[16:03] <BeRoots>   version: 2
[16:03] <BeRoots>   renderer: networkd
[16:03] <BeRoots>   wifis:
[16:03] <BeRoots>     wlan0:
[16:03] <BeRoots>       dhcp4: no
[16:03] <BeRoots>       dhcp6: no
[16:03] <BeRoots>       addresses: [192.168.2.1/30]
[16:03] <BeRoots> #      gateway4: 0.0.0.0
[16: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: adhoc
[16:03] <BeRoots>           password: "s3kr1t"
[16:03] <BeRoots> The `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 the
[16:03] <BeRoots> /etc/netplan/wlan0.yaml and run `netplan apply` again to stop the logs loop and restore my system.