Skip to content

Commit

Permalink
Update How_to_Install_Firmware_for_Mediatek_based_USB_WiFi_adapters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
morrownr authored Feb 14, 2025
1 parent c145d82 commit 5afb938
Showing 1 changed file with 162 additions and 3 deletions.
165 changes: 162 additions & 3 deletions home/How_to_Install_Firmware_for_Mediatek_based_USB_WiFi_adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,38 @@ Click on `plain`

Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Check to see the endings of the files. If your firmware files are uncompressed, you will see an ending of `.bin`. If your firmware files are compressed you will see an ending of `.zst`. `.xz` or `.gz`.

For compressed files, you will first need to compress your downloaded files before copying them to their final destination. Make sure you are in the firmware folder/directory we created earlier (or the location that you decided to create to hold the firmware files):

$ cd ~/firmware

For .zst files, run:

$ zstd -fq --rm *.bin

For .xz files, run:

$ xz -f -C crc32 *.bin

For .gz files, run:

gzip -f *.bin

Check to ensure your new firmware files have the proper filename ending for your system:

$ ls -l ~/firmware

You are now ready to copy the new firmware files to their destination folder/directory.

Create the needed directory (if necessary):

```
Expand Down Expand Up @@ -167,9 +199,9 @@ Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l
$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, comression is used for firmware files in your system:
Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Expand Down Expand Up @@ -261,6 +293,38 @@ Click on `plain`

Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Check to see the endings of the files. If your firmware files are uncompressed, you will see an ending of `.bin`. If your firmware files are compressed you will see an ending of `.zst`. `.xz` or `.gz`.

For compressed files, you will first need to compress your downloaded files before copying them to their final destination. Make sure you are in the firmware folder/directory we created earlier (or the location that you decided to create to hold the firmware files):

$ cd ~/firmware

For .zst files, run:

$ zstd -fq --rm *.bin

For .xz files, run:

$ xz -f -C crc32 *.bin

For .gz files, run:

gzip -f *.bin

Check to ensure your new firmware files have the proper filename ending for your system:

$ ls -l ~/firmware

You are now ready to copy the new firmware files to their destination folder/directory.

Create the needed directory (if necessary):

```
Expand Down Expand Up @@ -324,7 +388,6 @@ Click on plain

Save file


ssh to OpenWRT router (Putty or other) (make sure a non null password was previously set)

cd /lib/firmware
Expand Down Expand Up @@ -377,6 +440,38 @@ Click on `plain`

Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Check to see the endings of the files. If your firmware files are uncompressed, you will see an ending of `.bin`. If your firmware files are compressed you will see an ending of `.zst`. `.xz` or `.gz`.

For compressed files, you will first need to compress your downloaded files before copying them to their final destination. Make sure you are in the firmware folder/directory we created earlier (or the location that you decided to create to hold the firmware files):

$ cd ~/firmware

For .zst files, run:

$ zstd -fq --rm *.bin

For .xz files, run:

$ xz -f -C crc32 *.bin

For .gz files, run:

gzip -f *.bin

Check to ensure your new firmware files have the proper filename ending for your system:

$ ls -l ~/firmware

You are now ready to copy the new firmware files to their destination folder/directory.

Create the needed directory (if necessary):

```
Expand Down Expand Up @@ -422,6 +517,38 @@ Click on `plain`

Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Check to see the endings of the files. If your firmware files are uncompressed, you will see an ending of `.bin`. If your firmware files are compressed you will see an ending of `.zst`. `.xz` or `.gz`.

For compressed files, you will first need to compress your downloaded files before copying them to their final destination. Make sure you are in the firmware folder/directory we created earlier (or the location that you decided to create to hold the firmware files):

$ cd ~/firmware

For .zst files, run:

$ zstd -fq --rm *.bin

For .xz files, run:

$ xz -f -C crc32 *.bin

For .gz files, run:

gzip -f *.bin

Check to ensure your new firmware files have the proper filename ending for your system:

$ ls -l ~/firmware

You are now ready to copy the new firmware files to their destination folder/directory.

Create the needed directory (if necessary):

```
Expand Down Expand Up @@ -464,6 +591,38 @@ Click on `plain`

Save the file to ~/firmware

Check that your files downloaded properly:

$ ls -l ~/firmware

Note that the downloaded files will end with `.bin`. You now need to check what type, if any, compression is used for firmware files in your system:

$ ls -l /lib/firmware/mediatek

Check to see the endings of the files. If your firmware files are uncompressed, you will see an ending of `.bin`. If your firmware files are compressed you will see an ending of `.zst`. `.xz` or `.gz`.

For compressed files, you will first need to compress your downloaded files before copying them to their final destination. Make sure you are in the firmware folder/directory we created earlier (or the location that you decided to create to hold the firmware files):

$ cd ~/firmware

For .zst files, run:

$ zstd -fq --rm *.bin

For .xz files, run:

$ xz -f -C crc32 *.bin

For .gz files, run:

gzip -f *.bin

Check to ensure your new firmware files have the proper filename ending for your system:

$ ls -l ~/firmware

You are now ready to copy the new firmware files to their destination folder/directory.

Create the needed directory (if necessary):

```
Expand Down

0 comments on commit 5afb938

Please sign in to comment.