1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-09-18 12:33:50 +00:00

various updates

This commit is contained in:
morrownr 2022-12-12 01:49:04 -06:00
parent e061a4fd95
commit 973392efee
3 changed files with 71 additions and 69 deletions

View File

@ -153,8 +153,8 @@ install the newest available before installing the new kernel. Use the
following commands in the driver directory: following commands in the driver directory:
``` ```
$ git pull
$ sudo ./remove-driver.sh $ sudo ./remove-driver.sh
$ git pull
$ sudo ./install-driver.sh $ sudo ./install-driver.sh
``` ```

View File

@ -1,16 +1,18 @@
2022-12-07 2022-12-07
Instructions for setting the ISO 3166-1 alpha-2 Country Code in your Instructions for setting the ISO 3166-1 alpha-2 Country Code in your Linux
Linux distro. If it is not set, you will likely have problems accessing distro. If it is not set, you may have problems using some channels, especially
some channels, especially 5 Ghz and 6 GHz channels. To set your Country 5 Ghz and 6 GHz channels. To set your Country Code from the command line
Code from the command line interface: interface:
Note: Package "iw" must be installed.
``` ```
sudo iw reg set US sudo iw reg set XX
``` ```
If you are not in the US, please use the country code for your country. Where XX is the country code for your country. See the list of country codes
See the list of country codes below. below.
To check if your country code is properly set: To check if your country code is properly set:
@ -26,7 +28,7 @@ Name Code
Afghanistan AF Afghanistan AF
Åland Islands AX Aland Islands AX
Albania AL Albania AL
@ -167,8 +169,6 @@ Dominica DM
Dominican Dominican
Republic DO Republic DO
><
Ecuador EC Ecuador EC
Egypt EG Egypt EG
@ -184,6 +184,8 @@ Estonia EE
Ethiopia ET Ethiopia ET
><
Falkland Falkland
Islands Islands
(Malvinas) FK (Malvinas) FK

View File

@ -59,13 +59,13 @@ then
exit 1 exit 1
fi fi
# check to see if header files are installed (not sure if this can be done.) # check to see if header files are installed
#if [ ! -d "/usr/src/linux-headers-/$(uname -r)/" ]; then if [ ! -d "/lib/modules/$(uname -r)/build" ]; then
# echo "Your kernel headers aren't properly installed." echo "Your kernel headers aren't properly installed."
# echo "Please consult your distro documentation." echo "Please consult your distro documentation."
# echo "Once the header files are installed, please run \"sudo ./${SCRIPT_NAME}\"" echo "Once the header files are installed, please run \"sudo ./${SCRIPT_NAME}\""
# exit 1 exit 1
#fi fi
# check to ensure iw is installed # check to ensure iw is installed
if ! command -v iw >/dev/null 2>&1 if ! command -v iw >/dev/null 2>&1