Sorry for my late reply. 
Now, my clients can receive IP from OpenWRT via OpenWiSP template 
configuration. Here's my JSON configuration file.
{
    "radios": [
        {
            "protocol": "802.11n",
            "name": "radio0",
            "disabled": false,
            "driver": "mac80211",
            "channel_width": 20,
            "tx_power": 18,
            "channel": 11,
            "country": "VN",
            "hwmode": "11g"
        }
    ],
    "interfaces": [
        {
            "wireless": {
                "mode": "access_point",
                "radio": "radio0",
                "ssid": "OpenWiSP",
                "encryption": {
                    "protocol": "wpa2_personal",
                    "key": "a1b22c333",
                    "cipher": "tkip+ccmp"
                },
                "maxassoc": 3
            },
            "type": "wireless",
            "network": "wlan0",
            "name": "wlan0"
        },
        {
            "bridge_members": [
                "wlan0",
                "eth1.1"
            ],
            "type": "bridge",
            "addresses": [
                {
                    "proto": "static",
                    "family": "ipv4",
                    "gateway": "",
                    "mask": 10,
                    "address": "10.0.0.1"
                }
            ],
            "name": "wlan0"
        }
    ],
    "dhcp": [
        {
            "config_name": "dhcp",
            "config_value": "wlan0",
            "start": 100,
            "limit": 150,
            "leasetime": "12h",
            "interface": "wlan0"
        }
    ],
    "firewall": [
        {
            "config_name": "zone",
            "config_value": "cfg04dc81",
            "output": "ACCEPT",
            "input": "ACCEPT",
            "forward": "ACCEPT",
            "network": "lan wlan0",
            "name": "lan"
        },
        {
            "config_name": "zone",
            "config_value": "cfg06dc81",
            "name": "wan",
            "input": "ACCEPT",
            "output": "ACCEPT",
            "forward": "ACCEPT",
            "masq": 1,
            "mtu_fix": 1,
            "network": "wan wan6"
        }
    ]
}

I've just added DHCP field into JSON file, so that clients now can receive 
IP from OpenWRT devices.
Now, I wonder if I can get a IP from my OpenWiSP Controller (OpenWRT 
devices now act like a DHCP agent and OpenWiSP Controller is a DHCP 
Controller). Can you help me? Thanks you!

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to