RADIUSdesk

logo

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:openwrt-wan-network [2022/09/23 14:49]
admin [DSA enabled devices]
technical:openwrt-wan-network [2022/09/25 20:19] (current)
admin [Xiaomi 4A 100M]
Line 238: Line 238:
 ====== Some Hardware Info ====== ====== Some Hardware Info ======
 ===== Xiaomi 4C ===== ===== Xiaomi 4C =====
-==== wan_network ====+  * wan_network 
 +<file bash wan_network> 
 +config interface 'loopback' 
 +    option device 'lo' 
 +    option proto 'static' 
 +    option ipaddr '127.0.0.1' 
 +    option netmask '255.0.0.0' 
 +  
 +config device 
 +    option name 'br-lan' 
 +    option type 'bridge' 
 +    list ports 'eth0.1'
  
-==== hardware section ====+config interface 'lan' 
 +    option device 'br-lan' 
 +    option proto 'dhcp' 
 + 
 +config interface 'client_0' 
 +    option proto 'dhcp' 
 + 
 +config interface 'client_1' 
 +    option proto 'dhcp' 
 + 
 +config switch 
 +    option name 'switch0' 
 +    option reset '1' 
 +    option enable_vlan '1' 
 + 
 +config switch_vlan 
 +    option device 'switch0' 
 +    option vlan '2' 
 +    option ports '4 2 6t' 
 + 
 +config switch_vlan 
 +    option device 'switch0' 
 +    option vlan '1' 
 +    option ports '1 6t' 
 + 
 +</file> 
 +  * hardware section 
 +<file bash meshdesk> 
 +config hardware 'xiaomi_4c' 
 + option morse_led '/sys/class/leds/blue:power/brightness' 
 + option internet_led '/sys/class/leds/yellow:power/brightness' 
 + option wifi_led 'led0' 
 +</file> 
 + 
 +===== Xiaomi 4A 100M ===== 
 +  * wan_network 
 +<file bash wan_network> 
 +config interface 'loopback' 
 + option device 'lo' 
 + option proto 'static' 
 + option ipaddr '127.0.0.1' 
 + option netmask '255.0.0.0' 
 +     
 +config device 
 + option name 'br-lan' 
 + option type 'bridge' 
 + list ports 'eth0.1' 
 + 
 +config interface 'lan' 
 + option device 'br-lan' 
 + option proto 'dhcp' 
 + 
 +config interface 'client_0' 
 +    option proto 'dhcp' 
 + 
 +config interface 'client_1' 
 +    option proto 'dhcp' 
 + 
 +config switch 
 +    option name 'switch0' 
 +    option reset '1' 
 +    option enable_vlan '1' 
 + 
 +config switch_vlan 
 +    option device 'switch0' 
 +    option vlan '1' 
 +    option ports '0 6t' 
 + 
 +config switch_vlan 
 +    option device 'switch0' 
 +    option vlan '2' 
 +    option ports '4 2 6t' 
 +</file> 
 +  * hardware section 
 +<file bash meshdesk> 
 +config hardware 'xiaomi_4a_100' 
 + option morse_led '/sys/class/leds/blue:power/brightness' 
 + option internet_led '/sys/class/leds/yellow:power/brightness' 
 + option wifi_led 'led0' 
 +</file> 
 + 
 +===== Totolink X500R (WiFi6) ===== 
 +  * wan_network 
 +<file bash wan_network> 
 +config interface 'loopback' 
 + option device 'lo' 
 + option proto 'static' 
 + option ipaddr '127.0.0.1' 
 + option netmask '255.0.0.0' 
 +  
 +config device 
 + option name 'br-lan' 
 + option type 'bridge' 
 + list ports 'wan' 
 + 
 +config interface 'lan' 
 + option device 'br-lan' 
 + option proto 'dhcp' 
 + 
 +config interface 'client_0' 
 +    option proto 'dhcp' 
 + 
 +config interface 'client_1' 
 +    option proto 'dhcp' 
 +</file> 
 +  * hardware section 
 +<file bash meshdesk> 
 +config hardware 't_x5000r' 
 + option morse_led '/sys/class/leds/blue:sys/brightness' 
 + option internet_led '/dev/null' 
 + option wifi_led 'dev:null' 
 +</file>