Commit c6b17eb0 authored by Hamza Dely's avatar Hamza Dely

mac80211.sh modifié pour des VLANs dynamiques

parent 27677546
......@@ -59,6 +59,9 @@ check_mac80211_device() {
}
detect_mac80211() {
radius_server="%%radius_server%%"
eap_radius_key="%%eap_radius_key%%"
tagged_iface="%%iface%%"
devidx=0
config_load wireless
while :; do
......@@ -123,18 +126,29 @@ $ht_capab
config wifi-iface
option device radio$devidx
option mode ap
option ssid FedeRez
option ssid Cr@ns-Test
option encryption wpa2
option server %%radius_server%%
option server $radius_server
option key $eap_radius_key
option dynamic_vlan 2
option vlan_tagged_interface %%iface%%
option vlan_tagged_interface $tagged_iface
option vlan_bridge br-vlan
option vlan_naming 0
option key %%eap_radius_key%%
option wmm 1
option wds 1
option disabled 0
config wifi-iface
option device radio$devidx
option network vlan3
option mode ap
option wmm 1
option ssid Cr@ns
option encryption wpa2
option server $radius_server
option key $eap_radius_key
option disabled 0
config wifi-iface
option device radio$devidx
option network vlan7
......@@ -142,7 +156,18 @@ config wifi-iface
option ssid Cr@ns-accueil
option encryption none
option test_connect 'ping fe80::1%br-vlan7 -c 4'
option wmm 1
option isolate 1
option disabled 0
config wifi-iface
option device radio$devidx
option network vlan22
option mode ap
option ssid FedeRez
option encryption wpa2
option server $radius_server
option key $eap_radius_key
option wmm 1
option disabled 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment