This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
technical:openwrt-wan-network [2022/09/18 20:24] admin |
technical:openwrt-wan-network [2022/09/25 20:19] (current) admin [Xiaomi 4A 100M] |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| <WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
| - | * When looking at these sample files keep in mind that our aim is to use the device section called **br-lan** as a bridge. | + | * When looking at these sample files keep in mind that our aim is to use the //device section// called **br-lan** as a bridge. |
| * Traditionally the LAN ports will be part of it. | * Traditionally the LAN ports will be part of it. | ||
| * We however configure it now in such a way that the WAN port becomes part of it instead of the LAN ports. | * We however configure it now in such a way that the WAN port becomes part of it instead of the LAN ports. | ||
| Line 235: | Line 235: | ||
| * This brings us to the end of the detailed discussion of the **/ | * This brings us to the end of the detailed discussion of the **/ | ||
| * Be sure that this file is tweaked so it will work on your hardware. | * Be sure that this file is tweaked so it will work on your hardware. | ||
| + | |||
| + | ====== Some Hardware Info ====== | ||
| + | ===== Xiaomi 4C ===== | ||
| + | * wan_network | ||
| + | <file bash wan_network> | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | |||
| + | config switch | ||
| + | option name ' | ||
| + | option reset ' | ||
| + | option enable_vlan ' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '4 2 6t' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '1 6t' | ||
| + | |||
| + | </ | ||
| + | * hardware section | ||
| + | <file bash meshdesk> | ||
| + | config hardware ' | ||
| + | option morse_led '/ | ||
| + | option internet_led '/ | ||
| + | option wifi_led ' | ||
| + | </ | ||
| + | |||
| + | ===== Xiaomi 4A 100M ===== | ||
| + | * wan_network | ||
| + | <file bash wan_network> | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | | ||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | |||
| + | config switch | ||
| + | option name ' | ||
| + | option reset ' | ||
| + | option enable_vlan ' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '0 6t' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '4 2 6t' | ||
| + | </ | ||
| + | * hardware section | ||
| + | <file bash meshdesk> | ||
| + | config hardware ' | ||
| + | option morse_led '/ | ||
| + | option internet_led '/ | ||
| + | option wifi_led ' | ||
| + | </ | ||
| + | |||
| + | ===== Totolink X500R (WiFi6) ===== | ||
| + | * wan_network | ||
| + | <file bash wan_network> | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | </ | ||
| + | * hardware section | ||
| + | <file bash meshdesk> | ||
| + | config hardware ' | ||
| + | option morse_led '/ | ||
| + | option internet_led '/ | ||
| + | option wifi_led ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||