Orange Funbox 6 Get External IP Address

2023-10-25

Note: this method no longer works with newer firmware versions!

Retrieve external IP address and internet connection state from an Orange Funbox 6 (Orange Polska).

curl -X POST http://funbox.home/sysbus/NMC:getWANStatus

Output (prettified):

{
    "status": true,
    "data": {
        "WanState": "up",
        "LinkType": "gpon",
        "LinkState": "up",
        "GponState": "O5_Operation",
        "MACAddress": "...",
        "Protocol": "ppp",
        "ConnectionState": "Connected",
        "LastConnectionError": "ERROR_NONE",
        "IPAddress": "...",
        "RemoteGateway": "...",
        "DNSServers": "...,...",
        "IPv6Address": ""
    }
}