This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
technical:captive_portal-json [2022/09/18 13:40] admin created |
technical:captive_portal-json [2022/09/29 05:40] (current) admin |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * There are only two items that might need to be tweaked | * There are only two items that might need to be tweaked | ||
| * The radio number for the 2.4G band. | * The radio number for the 2.4G band. | ||
| - | * The **ifname** for the **lan** | + | * The **ports** for the **br-lan** device |
| * With the **Xiaomi 4A 100M Edition** radio0 is the 2.4G radio so no need to tweak that item. (If the hardware has radio1 as the 2.4G band simply look for all the references to **radio0** and make them radio1) | * With the **Xiaomi 4A 100M Edition** radio0 is the 2.4G radio so no need to tweak that item. (If the hardware has radio1 as the 2.4G band simply look for all the references to **radio0** and make them radio1) | ||
| * See this snippet of a device which has radio1 using the 2.4G band | * See this snippet of a device which has radio1 using the 2.4G band | ||
| Line 48: | Line 48: | ||
| ], | ], | ||
| </ | </ | ||
| - | * With the **Xiaomi 4A 100M Edition** the **ifname** we use is **eth0.1** for the **lan** | + | * With the **Xiaomi 4A 100M Edition** the **port** we use is **eth0.1** for the **br-lan** device |
| <code javascript> | <code javascript> | ||
| { | { | ||
| - | "interface": " | + | "device": "br-lan", |
| " | " | ||
| - | "ifname": "eth0.1", | + | "name": "br-lan", |
| - | " | + | " |
| - | "proto": | + | }, |
| - | "ipaddr": "10.50.50.50", | + | "lists": |
| - | | + | "ports": |
| + | | ||
| + | | ||
| } | } | ||
| - | }, | + | }, |
| </ | </ | ||
| * With the **Xiaomi 4A Gigabit Edition** it will look like this | * With the **Xiaomi 4A Gigabit Edition** it will look like this | ||
| - | < | + | < |
| { | { | ||
| - | "interface": " | + | "device": "br-lan", |
| " | " | ||
| - | "ifname": "wan", | + | "name": "br-lan", |
| - | " | + | " |
| - | "proto": | + | }, |
| - | "ipaddr": "10.50.50.50", | + | "lists": |
| - | | + | "ports": |
| + | | ||
| + | | ||
| } | } | ||
| - | }, | + | }, |
| </ | </ | ||
| * Once the tweaks are completed we can test everything out. | * Once the tweaks are completed we can test everything out. | ||
| - | * The following link shows how to point the device to the controller using the GUI | ||
| - | * [[2021: | ||
| - | * Point the device to your controller and reboot it. | ||
| - | * If all goes well it will show up in **Unknown Nodes** | ||
| - | * If it is a new hardware type add it to the controller as described here: [[2021: | ||
| - | * [[md: | ||
| - | |||