diff --git a/cmode-off.sh b/cmode-off.sh new file mode 100755 index 0000000..39fd8c5 --- /dev/null +++ b/cmode-off.sh @@ -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 diff --git a/dkms.conf b/dkms.conf index 645851e..9136986 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,6 +1,7 @@ PACKAGE_NAME="rtl88x2bu" 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" DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless" -MAKE="'make' -j$(nproc) KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build" AUTOINSTALL="yes" diff --git a/docs/Bridged_Wireless_Access_Point.md b/docs/Bridged_Wireless_Access_Point.md index 6146ecd..cbd2167 100644 --- a/docs/Bridged_Wireless_Access_Point.md +++ b/docs/Bridged_Wireless_Access_Point.md @@ -1,4 +1,4 @@ -2021-11-15 +2021-12-15 ## 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. ``` -INTERNET >>> modem/router >>> RasPi (br0) >>> USB Wifi ))) ((( laptop - (cable) ╱ ╱ ╲ - (fiber) CAT 5e, 6 CAT 5e, 6 ((( phone +INTERNET >>> modem/router >>> RasPi ))) ((( laptop + (cable) ╱ ╲ + (fiber) CAT 5e, 6 ((( phone (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 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. - +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 diff --git a/docs/Concurrent_Mode.md b/docs/Concurrent_Mode.md index 144d298..c92d87c 100644 --- a/docs/Concurrent_Mode.md +++ b/docs/Concurrent_Mode.md @@ -1,20 +1,20 @@ -2021-12-03 +2021-12-18 What is Concurrent Mode? -Concurrent Mode creates 2 wireless network interfaces (wlan0, wlan1) and those -two interfaces share the same WiFi adapter. +Concurrent Mode creates 2 wireless network interfaces (wlan0, wlan1) and +those two interfaces share the same WiFi adapter. -This feature allows performing 2 separate wireless tasks at the same time with a -single WiFi adapter. +This feature allows performing 2 separate wireless tasks at the same +time with a single WiFi adapter. 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 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 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: Q: Which wireless interface can run in station mode? Which