Manjaro ARM Beta 24 with Phosh (PinePhone / PinePhonePro)

I found that in the latest kernel package (5.18.9-1) the WiFi hotspot functionality can’t work (at least not completely). The network appears and DHCP works, but there’s no internet access. This is because the PP kernel is missing a few build parameters. I just rebuilt the kernel to test my theory and hotspot now fully works. That being said, I’m not a kernel dev and I think I enabled way more CONFIG_NF_ parameters than I had to. I think the ones that are required are CONFIG_NF_NAT and CONFIG_NF_TABLES.

Note: In my testing using the GNOME Settings for setting up the WiFi hotspot not always succeeds. If it doesn’t, you can use nmcli d wifi hotspot ifname wlan0 band bg password aaaaaaaa ssid a con-name a. This works every time for me.

Here’s a diff of the two kconfigs:
$ diff kconfig_old kconfig_upd

957c957
< # CONFIG_SYN_COOKIES is not set
---
> CONFIG_SYN_COOKIES=y
1016c1016
< CONFIG_NETFILTER_NETLINK=m
---
> CONFIG_NETFILTER_NETLINK=y
1017a1018,1019
> CONFIG_NETFILTER_FAMILY_ARP=y
> CONFIG_NETFILTER_NETLINK_HOOK=y
1021c1023
< CONFIG_NETFILTER_NETLINK_OSF=m
---
> CONFIG_NETFILTER_NETLINK_OSF=y
1051c1053,1087
< # CONFIG_NF_TABLES is not set
---
> CONFIG_NETFILTER_SYNPROXY=y
> CONFIG_NF_TABLES=y
> CONFIG_NF_TABLES_INET=y
> CONFIG_NF_TABLES_NETDEV=y
> CONFIG_NFT_NUMGEN=y
> CONFIG_NFT_CT=y
> CONFIG_NFT_FLOW_OFFLOAD=y
> CONFIG_NFT_CONNLIMIT=y
> CONFIG_NFT_LOG=y
> CONFIG_NFT_LIMIT=y
> CONFIG_NFT_MASQ=y
> CONFIG_NFT_REDIR=y
> CONFIG_NFT_NAT=y
> CONFIG_NFT_TUNNEL=y
> CONFIG_NFT_OBJREF=y
> # CONFIG_NFT_QUEUE is not set
> CONFIG_NFT_QUOTA=y
> CONFIG_NFT_REJECT=y
> CONFIG_NFT_REJECT_INET=y
> # CONFIG_NFT_COMPAT is not set
> CONFIG_NFT_HASH=y
> CONFIG_NFT_FIB=y
> CONFIG_NFT_FIB_INET=y
> CONFIG_NFT_XFRM=y
> CONFIG_NFT_SOCKET=y
> CONFIG_NFT_OSF=y
> CONFIG_NFT_TPROXY=y
> CONFIG_NFT_SYNPROXY=y
> CONFIG_NF_DUP_NETDEV=y
> CONFIG_NFT_DUP_NETDEV=y
> CONFIG_NFT_FWD_NETDEV=y
> CONFIG_NFT_FIB_NETDEV=y
> CONFIG_NFT_REJECT_NETDEV=y
> CONFIG_NF_FLOW_TABLE_INET=y
> CONFIG_NF_FLOW_TABLE=y
1146,1148c1182,1189
< # CONFIG_NF_SOCKET_IPV4 is not set
< # CONFIG_NF_TPROXY_IPV4 is not set
< # CONFIG_NF_DUP_IPV4 is not set
---
> CONFIG_NF_SOCKET_IPV4=y
> CONFIG_NF_TPROXY_IPV4=y
> CONFIG_NF_TABLES_IPV4=y
> CONFIG_NFT_REJECT_IPV4=y
> CONFIG_NFT_DUP_IPV4=y
> CONFIG_NFT_FIB_IPV4=y
> CONFIG_NF_TABLES_ARP=y
> CONFIG_NF_DUP_IPV4=y
1176,1179c1217,1224
< # CONFIG_NF_SOCKET_IPV6 is not set
< # CONFIG_NF_TPROXY_IPV6 is not set
< # CONFIG_NF_DUP_IPV6 is not set
< CONFIG_NF_REJECT_IPV6=m
---
> CONFIG_NF_SOCKET_IPV6=y
> CONFIG_NF_TPROXY_IPV6=y
> CONFIG_NF_TABLES_IPV6=y
> CONFIG_NFT_REJECT_IPV6=y
> CONFIG_NFT_DUP_IPV6=y
> CONFIG_NFT_FIB_IPV6=y
> CONFIG_NF_DUP_IPV6=y
> CONFIG_NF_REJECT_IPV6=y
1204a1250
> # CONFIG_NF_TABLES_BRIDGE is not set
1795a1842
> # CONFIG_IFB is not set