Skip to content
Snippets Groups Projects
Commit def7f391 authored by Gabriel Detraz's avatar Gabriel Detraz
Browse files

Bon emplacement pour mac80211.sh

parent 8658701b
No related branches found
No related tags found
No related merge requests found
......@@ -97,20 +97,49 @@ detect_mac80211() {
cat <<EOF
config wifi-device radio$devidx
option type mac80211
option channel ${channel}
option hwmode 11${mode_band}
option type mac80211
option channel ${channel}
option hwmode 11${mode_11n}${mode_band}
$dev_id
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
option country FR
config wifi-iface
option device radio$devidx
option network lan
option mode ap
option ssid OpenWrt
option encryption none
option device radio$devidx
option network vlan3
option mode ap
option isolate 0
option wmm 1
option ssid Cr@ns-test
option encryption wpa2
# Serveur radius de test
option server 138.231.148.35
option key fill_it
option disabled 1
option vlan_enable 1
config wifi-iface
option device radio$devidx
option network vlan10
option mode ap
option isolate 0
option wmm 1
option ssid Cr@ns-Install
option encryption none
option disabled 1
config 'wifi-iface'
option 'device' 'radio$devidx'
option 'network' 'vlan7'
option 'mode' 'ap'
option 'ssid' 'Cr@ns-accueil'
option 'encryption' 'none'
option 'test_connect' 'arping -I br-vlan7 10.51.0.10 -c 4'
option isolate 1
option wmm 1
EOF
devidx=$(($devidx + 1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment