1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-18 19:44:48 +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
@ -64,125 +66,125 @@ Bahrain BH
Bangladesh BD
Barbados BB
Barbados BB
Belarus BY
Belarus BY
Belgium BE
Belgium BE
Belize BZ
Belize BZ
Benin BJ
Benin BJ
Bermuda BM
Bermuda BM
Bhutan BT
Bhutan BT
Bolivia BO
Bolivia BO
Bonaire, Sint
Eustatius and
Saba BQ
Saba BQ
Bosnia and
Herzegovina BA
Herzegovina BA
Botswana BW
Botswana BW
Bouvet Island BV
Bouvet Island BV
Brazil BR
Brazil BR
British Indian
Ocean Territory IO
Ocean Territory IO
Brunei
Darussalam BN
Darussalam BN
Bulgaria BG
Bulgaria BG
Burkina Faso BF
Burkina Faso BF
Burundi BI
Burundi BI
Cambodia KH
Cambodia KH
Cameroon CM
Cameroon CM
Canada CA
Canada CA
Cape Verde CV
Cape Verde CV
Cayman
Islands KY
Islands KY
Central
African
Republic CF
Republic CF
Chad TD
Chad TD
Chile CL
Chile CL
China CN
China CN
Christmas
Island CX
Island CX
Cocos
(Keeling)
Islands CC
Islands CC
Colombia CO
Colombia CO
Comoros KM
Comoros KM
Congo CG
Congo CG
Congo CD
Congo CD
Cook Islands CK
Cook Islands CK
Costa Rica CR
Costa Rica CR
Côte d'Ivoire CI
Côte d'Ivoire CI
Croatia HR
Croatia HR
Cuba CU
Cuba CU
Curaçao CW
Curaçao CW
Cyprus CY
Cyprus CY
Czech
Republic CZ
Republic CZ
Denmark DK
Denmark DK
Djibouti DJ
Djibouti DJ
Dominica DM
Dominica DM
Dominican
Republic DO
><
Ecuador EC
Ecuador EC
Egypt EG
Egypt EG
El Salvador SV
El Salvador SV
Equatorial
Guinea GQ
Guinea GQ
Eritrea ER
Eritrea ER
Estonia EE
Estonia EE
Ethiopia ET
Ethiopia ET
><
Falkland
Islands

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