@@ -6,7 +6,6 @@ It wraps `iptables`, `dnsmasq` etc. stuff. Use in one command, restore in one co
6
6
7
7
[ Linux-Router News & Developer Notes 📰] ( https://github.com/garywill/linux-router/issues/28 ) | [ More tools and projects 🛠️] ( https://garywill.github.io ) | [ 🍻 Buy me a coffee ❤️] ( https://github.com/garywill/receiving/blob/master/receiving_methods.md )
8
8
9
- > [ Read this readme in web doc reader] ( https://garywill.github.io/proj-doc/linux-router/ ) ( also available in 中文, Español, Русский язык ... )
10
9
11
10
## Features
12
11
@@ -369,7 +368,7 @@ Options:
369
368
Using this you can't use same wlan interface
370
369
for both Internet and AP
371
370
--virt-name <name> Set name of virtual interface
372
- -c <channel> Channel number (default: 1 )
371
+ -c <channel> Specify channel (default: use current one, or 1 / 36 )
373
372
--country <code> Set two-letter country code for regularity
374
373
(example: US)
375
374
--freq-band <GHz> Set frequency band: 2.4 or 5 (default: 2.4)
@@ -383,13 +382,32 @@ Options:
383
382
(defaults to /etc/hostapd/hostapd.accept)
384
383
--hostapd-debug <level> 1 or 2. Passes -d or -dd to hostapd
385
384
--isolate-clients Disable wifi communication between clients
386
-
385
+ --no-haveged Do not run haveged automatically when needed
386
+ --hs20 Enable Hotspot 2.0 (Make sure your hostapd build supports it)
387
+
388
+ WiFi 4 (802.11n) configs:
387
389
--ieee80211n Enable IEEE 802.11n (HT)
390
+ --require-ht Require station HT (High Throughput) mode
391
+ --ht-capab <HT> HT capabilities (default: [HT40+])
392
+
393
+ WiFi 5 (802.11ac) configs:
388
394
--ieee80211ac Enable IEEE 802.11ac (VHT)
389
- --ht_capab <HT> HT capabilities (default: [HT40+])
390
- --vht_capab <VHT> VHT capabilities
395
+ --require-vht Require station VHT (Very High Thoughtput) mode
396
+ --vht-capab <VHT> VHT capabilities
391
397
392
- --no-haveged Do not run haveged automatically when needed
398
+ --vht-channel-width <index>
399
+ Index of VHT channel width:
400
+ 0 for 20MHz or 40MHz (default)
401
+ 1 for 80MHz
402
+ 2 for 160MHz
403
+ 3 for 80+80MHz (Non-contigous 160MHz)
404
+ --vht-seg0-channel <channel>
405
+ Channel index of VHT center frequency for primary
406
+ segment, use with --vht-channel-width
407
+ --vht-seg1-channel <channel>
408
+ Channel index of VHT center frequency for secondary
409
+ (second 80MHz) segment,
410
+ use with '--vht-channel-width 3' .
393
411
394
412
Instance managing:
395
413
--daemon Run in background
@@ -401,6 +419,12 @@ Options:
401
419
--stop <id> Stop a running instance
402
420
For <id> you can use PID or subnet interface name.
403
421
You can get them with '--list-running'
422
+
423
+ Notice 1: This script assume your host's default policy won't forward
424
+ packets, so the script won't explictly ban forwarding in any
425
+ mode. In some unexpected case (eg. mistaken configurations) may
426
+ cause unwanted packets leakage between 2 networks, which you
427
+ should be aware of if you want isolated network
404
428
```
405
429
406
430
</details >
0 commit comments