Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
openwrt-crans-package
Commits
c6b17eb0
Commit
c6b17eb0
authored
Mar 22, 2017
by
Hamza Dely
Browse files
mac80211.sh modifié pour des VLANs dynamiques
parent
27677546
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/lib/wifi/mac80211.sh.dynamic
View file @
c6b17eb0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment