You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to get Hotspot working with a temporary workaround if anyone is interested:
Issue: The NetworkManager expects and issues iptables rules to setup packet forwarding. Since this image uses a custom latest kernel that has NetFilter module instead of iptables, NetworkManager fails to setup firewall properly as can be seen in logs. (Turn on debug logging with nmcli general logging level TRACE domains ALL to see the individual NetworkManager commands fail)
Temporary workaround:
A workaround is to listen on the Hotspot being turned on and issue the proper NetFilter commands. Beware it also flushes all rules when hotspot is disabled which may conflict if you have other rules configured.
Ensure dnsmasq is installed
Place this script in /etc/NetworkManager/dispatcher.d with root 600 file permissions
Proper fix:
A proper fix would involve either reconfiguring NetworkManager or bundling iptables module in the custom kernel. This is outside of my knowledge.
The text was updated successfully, but these errors were encountered:
I had a go today with creating a hotspot using the settings gui. It failed until I installed dnsmasq. Then it shared the wwan network with devices connecting over the wifi fine.
I managed to get Hotspot working with a temporary workaround if anyone is interested:
Issue: The NetworkManager expects and issues iptables rules to setup packet forwarding. Since this image uses a custom latest kernel that has NetFilter module instead of iptables, NetworkManager fails to setup firewall properly as can be seen in logs. (Turn on debug logging with
nmcli general logging level TRACE domains ALL
to see the individual NetworkManager commands fail)Temporary workaround:
A workaround is to listen on the Hotspot being turned on and issue the proper NetFilter commands. Beware it also flushes all rules when hotspot is disabled which may conflict if you have other rules configured.
/etc/NetworkManager/dispatcher.d
with root 600 file permissionsProper fix:
A proper fix would involve either reconfiguring NetworkManager or bundling iptables module in the custom kernel. This is outside of my knowledge.
The text was updated successfully, but these errors were encountered: