System information
- Device: Raspberry Pi 5
- Operating system: LibreELEC (community build)
- LibreELEC version: 13.0 (Piers), nightly build nightly-20261105-8fcc76f
- Architecture: RPi5.aarch64
- Kernel: Linux 6.18.60
- ConnMan version: 2.0
- Wi-Fi driver: brcmfmac
- Wi-Fi firmware/driver version: 7.45.16.144
- Network connection: Ethernet connected to a FRITZ!Box router
- Wi-Fi interface: wlan0
- Access point frequency: 2437 MHz (channel 6)
Problem description
I am trying to use the Raspberry Pi 5 as a Wi-Fi access point, with internet access provided through its Ethernet connection.
The access point is initially enabled, but ConnMan fails to complete the tethering setup. The access point is subsequently disabled again.
The same problem occurs when enabling the Wi-Fi access point through the LibreELEC/Kodi settings: the switch turns on, but after approximately five seconds it automatically switches back off.
Steps to reproduce
- Connect the Raspberry Pi 5 to the network via Ethernet.
- Open LibreELEC/Kodi network settings.
- Enable the Wi-Fi access point (tethering).
- Wait approximately five seconds.
Actual result: The access point is disabled again automatically.
The same behavior can be reproduced using connmanctl:
ConnMan initially reports:
However, connmanctl technologies subsequently reports:
WiFi
Powered = True
Connected = False
Tethering = False
TetheringIdentifier = TheKingPI5
TetheringFreq = 2437
Important observations
1. Wi-Fi access point itself appears to work
The Wi-Fi interface supports AP mode.
When a smartphone connects to the access point, the connection is established at the Wi-Fi level.
Output of:
shows the connected smartphone as:
RX and TX packet counters increase while the smartphone is connected.
This indicates that Wi-Fi beaconing, authentication and association are working.
2. ConnMan fails during NAT initialization
The following messages appear in the system log when tethering is enabled:
connmand: Can't add listener tether to DNS proxy
connmand: DHCP server: option_code 1 option_value 255.255.255.0
connmand: DHCP server: option_code 3 option_value 192.168.0.1
connmand: DHCP server: option_code 6 option_value 8.8.8.8
connmand: iptables support missing error 92 (Protocol not available)
connmand: Cannot enable NAT -22/Invalid argument
Afterwards, ConnMan removes the tether interface:
The DHCP configuration appears to be prepared, but the tethering setup is aborted when NAT initialization fails.
3. Firewall / iptables information
The installed iptables version is:
The iptables command itself works. For example, manually adding a NAT rule succeeds:
The rule is visible afterwards and can be removed again.
However, the traditional iptables kernel interface appears to be missing:
returns:
Also:
returns:
The system does have nftables-related components and libraries installed, including:
- libnftables
- libnftnl
- libmnl
- nf_tables
- nft_chain_nat
- xt_MASQUERADE
The nftables ruleset currently contains an empty NAT POSTROUTING chain:
table ip nat {
chain POSTROUTING {
type nat hook postrouting priority srcnat; policy accept;
}
}
4. ConnMan configuration
The relevant settings in /etc/connman/main.conf are:
TetheringTechnologies = ethernet,wifi
PersistentTetheringMode = true
PreferredTechnologies = ethernet,wifi,cellular
No custom firewall rules or other network modifications have been made.
5. Network configuration
Ethernet is working correctly:
The default route is:
The Wi-Fi interface is wlan0, using the brcmfmac driver.
Expected behavior
The Raspberry Pi should provide a working Wi-Fi access point.
A smartphone should be able to:
- Connect to the access point.
- Receive an IPv4 address via DHCP.
- Use the Raspberry Pi's Ethernet connection to access the internet.
The access point should remain enabled.
Question for the LibreELEC developers
Could this be a ConnMan 2.0 firewall backend / kernel compatibility issue in the current LibreELEC 13 nightly build?
The log message:
iptables support missing error 92 (Protocol not available)
Cannot enable NAT -22/Invalid argument
suggests that ConnMan cannot initialize its NAT functionality.
The installed iptables command uses the nftables compatibility backend, while the traditional iptables kernel modules (ip_tables / iptable_nat) are not present.
Is ConnMan in this LibreELEC build compiled with the legacy iptables firewall backend instead of the nftables backend?
Is there a known fix, configuration change, or test build available for the Raspberry Pi 5?
I have not modified the LibreELEC installation or replaced any system binaries. All tests were performed using SSH and the standard LibreELEC tools.
Thanks for your help.