Hi Perry,

so, you need to disable the DHCP server, I think the other users understood
DHCP client.

This should be what you need:

{
    "dhcp": [
        {
            "config_name": "dhcp",
            "config_value": "lan",
            "ignore": true
        }
    ]
}

I leave a couple of pointers that would help you to solve this for future
reference:

- OpenWrt - All the other settings
<http://netjsonconfig.openwisp.org/en/latest/backends/openwrt.html#all-the-other-settings>
<http://netjsonconfig.openwisp.org/en/latest/backends/openwrt.html#all-the-other-settings>
- Backward conversion tool (from native OpenWRT to NetJSON):

# convert an OpenWRT tar.gz to NetJSON and print to standard output
(with 4 space indentation)netjsonconfig --native config.tar.gz
--backend openwrt --method json -a indent="    "

Example taken from:
http://netjsonconfig.openwisp.org/en/latest/general/commandline_utility.html

I hope this helps.


On Tue, Apr 28, 2020 at 7:47 AM Perry Couprie <perryc...@gmail.com> wrote:

> I need to generate the following:
>
> package dhcp
>
> config dhcp 'lan'
>         option ignore '1'
>
> --
> 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 openwisp+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/d4745651-2007-422f-acb9-7a4ba29604cd%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/d4745651-2007-422f-acb9-7a4ba29604cd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAERYH6XJfXunCzHhe%2BvibQ%2BmRPQ7uR_kmvCTMT9g0PBPg9M1GA%40mail.gmail.com.

Reply via email to