diff --git a/files/etc/config/network b/files/etc/config/network index 51af853394..d7dc6a3d4f 100644 --- a/files/etc/config/network +++ b/files/etc/config/network @@ -27,7 +27,12 @@ config interface 'vlan10' option ifname 'eth0.10' option type 'bridge' option proto 'none' - + +config interface 'vlan12' + option ifname 'eth0.12' + option type 'bridge' + option proto 'none' + config interface 'vlan7' option ifname 'eth0.7' option type 'bridge' @@ -53,7 +58,7 @@ config switch_vlan option vlan '10' option ports '0t 1t 2t' -config switch_vlan +config switch_vlan option device 'switch0' option vlan '7' option ports '0t 1t 2t' @@ -63,4 +68,9 @@ config switch_vlan option vlan '6' option ports '0t 1t 2t' +config switch_vlan + option device 'switch0' + option vlan '12' + option ports '0t 1t 2t' + diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 9639ab32df..124fe05577 100644 --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh @@ -126,6 +126,20 @@ config wifi-iface option dynamic_vlan 1 option vlan_bridge br-vlan +config wifi-iface + option device radio$devidx + option network vlan12 + option mode ap + option isolate 0 + option wmm 1 + option ssid Federez + option encryption wpa2 + # Serveur radius de prod: + option server fda8:5d34:a228:c04:7261:6469:7573:3031 + option key fill_it + option disabled 1 + option dynamic_vlan 1 + config wifi-iface option device radio$devidx option network vlan10