Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenWrt-Barrier-breaker
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nounous-archives
OpenWrt-Barrier-breaker
Commits
def7f391
Commit
def7f391
authored
10 years ago
by
Gabriel Detraz
Browse files
Options
Downloads
Patches
Plain Diff
Bon emplacement pour mac80211.sh
parent
8658701b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/kernel/mac80211/files/lib/wifi/mac80211.sh
+39
-10
39 additions, 10 deletions
package/kernel/mac80211/files/lib/wifi/mac80211.sh
with
39 additions
and
10 deletions
package/kernel/mac80211/files/lib/wifi/mac80211.sh
+
39
−
10
View file @
def7f391
...
...
@@ -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
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment