RADIUSdesk

logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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** interface (We use the WAN port in out implementation)+        * The **ports** for the **br-lan** device (We use the WAN port in out implementation)
   * 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:
         ],         ],
 </code> </code>
-  * With the **Xiaomi 4A 100M Edition** the **ifname** we use is **eth0.1** for the **lan** interface definition.+  * With the **Xiaomi 4A 100M Edition** the **port** we use is **eth0.1** for the **br-lan** device definition.
 <code javascript> <code javascript>
 { {
-    "interface": "lan",+    "device": "br-lan",
     "options": {     "options": {
-        "ifname": "eth0.1", +        "name": "br-lan", 
-        "type": "bridge", +        "type": "bridge" 
-        "proto": "static", +    }
-        "ipaddr": "10.50.50.50", +    "lists": { 
-        "netmask": "255.255.255.0"+        "ports": 
 +            "eth0.1
 +        ]
     }     }
-},+},  
 </code> </code>
   * With the **Xiaomi 4A Gigabit Edition** it will look like this   * With the **Xiaomi 4A Gigabit Edition** it will look like this
-<code>+<code javascript>
 { {
-    "interface": "lan",+    "device": "br-lan",
     "options": {     "options": {
-        "ifname": "wan", +        "name": "br-lan", 
-        "type": "bridge", +        "type": "bridge" 
-        "proto": "static", +    }
-        "ipaddr": "10.50.50.50", +    "lists": { 
-        "netmask": "255.255.255.0"+        "ports": 
 +            "wan
 +        ]
     }     }
-},+},  
 </code> </code>
   * 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:xiaomi_md|Xiaomi Access Points Running MESHdesk Firmware]] 
-  * 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:rd_full_hardware|Hardwares]] (Again Once Off) 
-  * [[md:xiaomi-attach|Attach A Device To Demo1 Mesh]] 
-