1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-09-07 07:45:06 +00:00

housekeeping

This commit is contained in:
morrownr 2022-12-26 21:57:44 -06:00
parent 8d439c41b1
commit a31843b46f
26 changed files with 42 additions and 16 deletions

View File

@ -1,4 +1,4 @@
2022-12-18 2022-12-26
Instructions for setting the ISO 3166-1 alpha-2 Country Code in your Linux Instructions for setting the ISO 3166-1 alpha-2 Country Code in your Linux
distro. If it is not set, you may have problems using some channels, especially distro. If it is not set, you may have problems using some channels, especially
@ -593,14 +593,14 @@ British VG
Virgin Islands, Virgin Islands,
U.S. VI U.S. VI
Wallis and WF Wallis and Futuna
Futuna WF
EH Western Sahara EH Western Sahara
Yemen YE YE Yemen
Zambia ZM ZM Zambia
ZW Zimbabwe
Zimbabwe ZW
``` ```

View File

@ -1,4 +1,4 @@
2021-12-03 2022-12-27
What is Concurrent Mode? What is Concurrent Mode?
@ -10,7 +10,7 @@ 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.
@ -20,19 +20,45 @@ Note: Only supports 3 combinations
2. Station mode + AP mode 2. Station mode + AP mode
3. Station mode + P2P mode 3. Station mode + P2P mode
Note: Monitor mode is not supported.
----- -----
How do I Enable Concurrent Mode? How do I Enable Concurrent Mode?
Run the following as instructed during the installation process: Edit the `Makefile` with a text editor:
``` ```
./cmode-on.sh nano Makefile
```
Change the following line:
```
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
```
to
```
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
```
and then install the driver per the installation steps. If
the driver is already installed, run the following first:
```
sudo ./remove-driver.sh
```
and then reinstall the driver with:
```
sudo ./install-driver.sh
``` ```
Once the driver is fully installed and you have rebooted the system, you Once the driver is fully installed and you have rebooted the system, you
can verify that this works by typing the “iw dev” command, You should can verify that this works by typing the “iw dev” command. You should
see two wireless interfaces, and the MAC address of secondary interface see two wireless interfaces, and the MAC address of the secondary interface
is nearly the same as the first except for one digit. is nearly the same as the first except for one digit.
----- -----

View File

@ -167,7 +167,7 @@ then
fi fi
# sets module parameters (driver options) and blacklisted modules # sets module parameters (driver options) and blacklisted modules
echo "Installing ${OPTIONS_FILE} to: /etc/modprobe.d" echo "Installing ${OPTIONS_FILE} to /etc/modprobe.d"
cp -f ${OPTIONS_FILE} /etc/modprobe.d cp -f ${OPTIONS_FILE} /etc/modprobe.d
# determine if dkms is installed and run the appropriate routines # determine if dkms is installed and run the appropriate routines
@ -215,7 +215,7 @@ else
# the dkms add command requires source in /usr/src/${DRV_NAME}-${DRV_VERSION} # the dkms add command requires source in /usr/src/${DRV_NAME}-${DRV_VERSION}
echo "Copying source files to /usr/src/${DRV_NAME}-${DRV_VERSION}" echo "Copying source files to /usr/src/${DRV_NAME}-${DRV_VERSION}"
cp -rf "${DRV_DIR}" /usr/src/${DRV_NAME}-${DRV_VERSION} cp -rf "${DRV_DIR}" /usr/src/${DRV_NAME}-${DRV_VERSION}
dkms add -m ${DRV_NAME} -v ${DRV_VERSION} dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
RESULT=$? RESULT=$?
@ -228,7 +228,7 @@ else
echo "This driver may already be installed." echo "This driver may already be installed."
echo "Run the following and then reattempt installation." echo "Run the following and then reattempt installation."
echo "$ sudo ./remove-driver.sh" echo "$ sudo ./remove-driver.sh"
exit $RESULT exit $RESULT
else else
echo "An error occurred. dkms add error: ${RESULT}" echo "An error occurred. dkms add error: ${RESULT}"
echo "Please report this error." echo "Please report this error."
@ -282,7 +282,7 @@ if command -v rfkill >/dev/null 2>&1
then then
rfkill unblock wlan rfkill unblock wlan
else else
echo "Unable to run $ rfkill unblock wlan" echo "Unable to run $ rfkill unblock wlan"
fi fi
# if NoPrompt is not used, ask user some questions # if NoPrompt is not used, ask user some questions