1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-09-14 18:59:24 +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:
```
$ git pull
$ sudo ./remove-driver.sh
$ git pull
$ sudo ./install-driver.sh
```

View File

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

View File

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