In today’s enterprise environments, secure wired network access is essential—especially in sectors like education, government, and large corporations. IEEE 802.1X, a port-based Network Access Control (PNAC) protocol, provides a robust mechanism for authenticating devices connected via Ethernet.
However, native support for wired IEEE 802.1X on Android devices has historically been limited or inconsistent.
This blog presents a proposed solution to implement Ethernet 802.1X on Android devices overcoming the gaps in native support and ensuring compatibility across various device types.
Why wired 802.1X matters on Android devices
Android is no longer only a phone OS. It runs on kiosks, POS terminals, medical carts, classroom panels, industrial HMIs and digital signage. Many of these sit on a wired LAN, and many get deployed in places that enforce IEEE 802.1X port-based network access control: universities, government buildings, hospitals and corporate campuses.
On those networks the switch port stays closed until the device proves its identity. A stock AOSP build can’t do that over Ethernet, so the device never gets an IP address and never reaches the network.
802.1X in 60 seconds

The supplicant and authenticator speak EAP over LAN (EAPOL). The authenticator relays the EAP conversation to the RADIUS server inside RADIUS packets. Until the server accepts the device, the port is unauthorized and passes only EAPOL traffic. After success the port is authorized and DHCP and normal traffic flow.
The usual exchange:
- The link comes up, and the supplicant sends EAPOL-Start (or the switch sends an EAP-Request/Identity).
- The device replies with its identity.
- The switch relays the identity to the RADIUS server as an Access-Request.
- The server and device run the chosen EAP method (TLS, PEAP, TTLS and so on), tunnelled through the switch.
- On success the server sends Access-Accept, the switch sends EAP-Success, and the port opens.
- The device now runs DHCP and gets its IP configuration.
Why stock Android can’t do it
AOSP already ships wpa_supplicant, but only as a Wi-Fi component. The wired driver is not enabled in the AOSP build, so the stock supplicant can only drive Wi-Fi interfaces and cannot exchange EAPOL frames on an Ethernet port. The Ethernet path in AOSP is built around link state, IP configuration and network scoring. It has no concept of EAP credentials, no supplicant lifecycle and no authenticating state. Wi-Fi Enterprise is the nearest analogue, but it is tightly bound to the Wi-Fi framework and the nl80211 driver.
That is why wired 802.1X on Android is a platform-level change, not an app. A regular app can’t open the raw EAPOL socket, can’t bring a port into the authorized state, and can’t hold the network until authentication finishes. The original author’s replies to commenters say the same: the solution is built into AOSP source, not plug and play, so it can’t be added to a retail tablet.
Components that need to change
| Component | Role in the solution |
| Ethernet supplicant | A wpa_supplicant instance bound to eth0, built with the wired driver enabled (off in stock AOSP), handling EAP, certificates and EAPOL |
| Supplicant interface | The path from EthernetService to the native supplicant: EthernetService calls a Supplicant HAL service, which calls an Ethernet HAL, which controls the wired supplicant daemon (AIDL on recent releases, HIDL on older ones) |
| EthernetManager / EthernetService | Public and system APIs to store 802.1X config, start or stop authentication, and report state |
| IpConfiguration | Extended to carry enterprise EAP config (method, identity, certificates) next to the usual IP settings |
| SELinux policy | A domain for the supplicant, plus permissions for sockets, config files and keystore access |

Supported EAP methods compared
| Method | Credentials | Server cert validation | Security notes |
| EAP-TLS | Client certificate | Yes, mutual | Strongest. Best for managed fleets. Needs a PKI and certificate provisioning |
| PEAP (MSCHAPv2) | Username and password inside a TLS tunnel | Yes, if configured | Common in enterprises. Weak if CA validation is skipped |
| EAP-TTLS | Username and password inside a TLS tunnel | Yes, if configured | Similar to PEAP, with more flexible inner methods |
| EAP-PWD | Shared password, no certificates | Not applicable | Resists offline dictionary attacks. Limited server support |
| EAP-MD5 | Password hash challenge | No | Weak, with no mutual authentication or key derivation. Use only on legacy or lab networks |
For production, prefer EAP-TLS. If you use PEAP or TTLS, always pin or validate the CA certificate and the server name. Skipping validation exposes users to rogue authenticators.
Prabhy System Technology has developed and thoroughly tested the proposed solution on AOSP Android versions 4.4, 7, 9, 10, 11, 12, 13, 14, and 15.
Proposed solution is compliance with EDLA certification requirements.
Contact for more information.




Leave a Reply