1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-12-22 22:36:49 +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
@ -64,125 +66,125 @@ Bahrain BH
Bangladesh BD 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 Bonaire, Sint
Eustatius and Eustatius and
Saba BQ Saba BQ
Bosnia and Bosnia and
Herzegovina BA Herzegovina BA
Botswana BW Botswana BW
Bouvet Island BV Bouvet Island BV
Brazil BR Brazil BR
British Indian British Indian
Ocean Territory IO Ocean Territory IO
Brunei 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 Cayman
Islands KY Islands KY
Central Central
African African
Republic CF Republic CF
Chad TD Chad TD
Chile CL Chile CL
China CN China CN
Christmas Christmas
Island CX Island CX
Cocos Cocos
(Keeling) (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 Czech
Republic CZ Republic CZ
Denmark DK Denmark DK
Djibouti DJ Djibouti DJ
Dominica DM Dominica DM
Dominican Dominican
Republic DO Republic DO
>< Ecuador EC
Ecuador EC Egypt EG
Egypt EG El Salvador SV
El Salvador SV
Equatorial Equatorial
Guinea GQ Guinea GQ
Eritrea ER Eritrea ER
Estonia EE Estonia EE
Ethiopia ET Ethiopia ET
><
Falkland Falkland
Islands Islands

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