how to turn Concurrent Mode off

This commit is contained in:
morrownr 2021-12-18 14:31:01 -06:00
parent 222234df83
commit c6462e7aea
4 changed files with 65 additions and 13 deletions

23
cmode-off.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
#
# 2021-12-18
#
# Purpose: Turn Concurrent Mode off.
#
# To make this file executable:
#
# $ chmod +x edit-options.sh
#
# To execute this file:
#
# $ ./cmode-off.sh
sed -i 's/CONFIG_CONCURRENT_MODE = y/CONFIG_CONCURRENT_MODE = n/g' Makefile
RESULT=$?
if [[ "$RESULT" != "0" ]]; then
echo "An error occurred and Concurrent Mode was not turned off in Makefile."
exit 1
else
echo "Concurrent Mode was turned off in Makefile as planned."
fi

View File

@ -1,6 +1,7 @@
PACKAGE_NAME="rtl88x2bu" PACKAGE_NAME="rtl88x2bu"
PACKAGE_VERSION="5.13.1" PACKAGE_VERSION="5.13.1"
MAKE[0]="'make' -j$(nproc) KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
CLEAN="'make' clean"
BUILT_MODULE_NAME[0]="88x2bu" BUILT_MODULE_NAME[0]="88x2bu"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless" DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
MAKE="'make' -j$(nproc) KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
AUTOINSTALL="yes" AUTOINSTALL="yes"

View File

@ -1,4 +1,4 @@
2021-11-15 2021-12-15
## Bridged Wireless Access Point ## Bridged Wireless Access Point
@ -8,9 +8,9 @@ extend the network to WiFi capable computers and devices in areas where
the WiFi signal is weak or otherwise does not meet expectations. the WiFi signal is weak or otherwise does not meet expectations.
``` ```
INTERNET >>> modem/router >>> RasPi (br0) >>> USB Wifi ))) ((( laptop INTERNET >>> modem/router >>> RasPi ))) ((( laptop
(cable) (cable)
(fiber) CAT 5e, 6 CAT 5e, 6 ((( phone (fiber) CAT 5e, 6 ((( phone
(dsl) (dsl)
``` ```
@ -84,7 +84,8 @@ shows actual usage of 360 mA during heavy load and usage of 180 mA during
light loads. This is much lower power usage than most AC1200 class adapters light loads. This is much lower power usage than most AC1200 class adapters
which makes this adapter a good choice for a Raspberry Pi based access point. which makes this adapter a good choice for a Raspberry Pi based access point.
Other mt7612u and mt7610u chipset based adapters also show low power usage. Other mt7612u and mt7610u chipset based adapters also show low power usage.
Another adapter that is very good for use in this setup is the Alfa AWUS036ACHM
which is an AC600 class adapter that has very impressive range.
----- -----
#### Setup Steps #### Setup Steps

View File

@ -1,20 +1,20 @@
2021-12-03 2021-12-18
What is Concurrent Mode? What is Concurrent Mode?
Concurrent Mode creates 2 wireless network interfaces (wlan0, wlan1) and those Concurrent Mode creates 2 wireless network interfaces (wlan0, wlan1) and
two interfaces share the same WiFi adapter. those two interfaces share the same WiFi adapter.
This feature allows performing 2 separate wireless tasks at the same time with a This feature allows performing 2 separate wireless tasks at the same
single WiFi adapter. time with a single WiFi adapter.
For example: For example:
Use station mode (called managed or client mode also) to connect with an Use station mode (also called managed or client mode) to connect with an
AP to access the internet at the same time as it also performs as an AP AP to access the internet at the same time as it also performs as an AP
to allow other devices to connect to the second interface. to allow other devices to connect to the second interface.
Note: Only supports 3 combinations Note: Concurrent Mode only supports 3 combinations
1. Station mode + Station mode 1. Station mode + Station mode
2. Station mode + AP mode 2. Station mode + AP mode
@ -37,6 +37,33 @@ is nearly the same as the first except for one digit.
----- -----
How do I Disable Concurrent Mode?
Step 1: Open a terminal (e.g. Ctrl+Alt+T)
Step 2: Move to the driver directory
```
cd ~/src/88x2bu-20210702
```
Step 3: Run the cmode-off.sh script
```
sudo ./cmode-off.sh
```
Step 4: Run the remove-driver.sh script
```
sudo ./remove-driver.sh
```
Step 5: Follow the installation instructions but do not run the
optional `cmode-on.sh script`.
-----
FAQ: FAQ:
Q: Which wireless interface can run in station mode? Which Q: Which wireless interface can run in station mode? Which