/BrosTrendWifiAdapterSoftware

Software that comes on the mini CD (which is inconvenient) with BrosTrend WiFi adapters, and my personal installation notes for Linux.

Primary LanguageShellOtherNOASSERTION

Hits

Repo Status

Ready for use. Run the 1 or 3-line installation command below. Also, the entire disk which came with the Wifi adapter is in this repo.

I am VERY impressed with the easy installation process and their timely and competent email customer support for Linux! This is hands-down my "go-to" high-speed Wifi adapter for Linux! This is hands-down the best modern WiFi adapter on the market today (as of Mar. 2021) for Linux!

TLDR;

Run this one single command to install the driver in Linux. Follow the instructions in its prompts:

sh -c 'busybox wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'

Table of Contents

(click to expand or hide)
  1. All of my Wifi adapter repos:
  2. BrosTrendWifiAdapterSoftware
    1. Install drivers in Linux Ubuntu
    2. How to Disable your internal WiFi card
    3. How I copied the entire disk to my Linux Ubuntu laptop
    4. Emailed feedback that BrosTrend/TrendTech send me directly after they read this very readme

All of my Wifi adapter repos:

  • If you are using Linux and desire a high-speed WiFi adapter, I recommend this BrosTrend Wifi adapter above all others! It installs with a simple 1-line or 3-line command and has an excellent installation script, as well as great performance, speed, and range.
  • If you are using Linux and need a Wifi adapter which is plug-and-play and requires NO driver installation, and are okay with it being a bit slower than the BrosTrend one above, then buy a Panda Wifi adapter like this one instead.

My Wifi Repositories:

  1. BrosTrendWifiAdapterSoftware - (BEST WIFI ADAPTER FOR LINUX, HANDS-DOWN!)
  2. AlfaWiFiAdapterSoftware
  3. RealtekWiFiAdapterSoftware

BrosTrendWifiAdapterSoftware

Software that comes on the mini CD (which is inconvenient) with BrosTrend WiFi adapters, and my personal installation notes for Linux.

Here is the adapter I purchased for $36 from Amazon in Mar. 2021: BrosTrend AC1200 2.4GHz/5GHz WiFi adapter, Model No. AC3L:

Stickers that came on the packaging:

With Linux Support Ticket,
Please include your Amazon
order number, send E-mail to:
support@trend-tech.net.cn.

Model No.: AC3L
For Linux

Main product page for Model No. AC3L: https://www.trendtechcn.com/Product.aspx?ProductId=329.

Disk that came with it:

Linux manual that came on the disk: BrosTrend_WiFi_Adapter_Linux_Manual_20200303.pdf <== refer to this for instructions and information for Linux!

Install drivers in Linux Ubuntu

The install script is found online here: https://deb.trendtechcn.com/install. You can download and run it on Linux like this:

wget deb.trendtechcn.com/install -O install
chmod +x install
./install

The above commands is how I did it. Or, you can use their command exactly, as they specify in their Linux PDF just above, like this:

sh -c 'busybox wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'

The install script appears to be very well-written and well-tested, which is extremely unusual for WiFi adapters on Linux. They obviously want this to work and be easy, and are clearly trying to get our business. During the install process, it asks you to select your WiFi adapter model or plug it in so it can read the dmesg output and auto-detect it. If you have the adapter, the version number is printed very clearly on the bottom of it. Even easier though, just do like the script says and plug it in and press Enter. For my case, I have the Model No. AC3 Version No. V2, so it automatically downloaded, compiled, and installed this driver for me: https://deb.trendtechcn.com/rtl88x2bu-dkms.deb.

At the end of the installation, which took just a few minutes, it said:

=====================================================
 The driver was successfully installed!
 We'd appreciate an Amazon product review:
 https://www.amazon.com/review/create-review/listing
=====================================================

So, I'm going to do like they asked and leave a review here: https://www.amazon.com/review/create-review/listing.

I am VERY impressed with the easy installation process and BrosTrend's top-notch Linux driver support for this device!

How to Disable your internal WiFi card

Source:

  1. See my answer #1 on AskUbuntu here.
  2. or my answer #2 on AskUbuntu here.
    1. My answer #2 comes from BrosTrend TrendTech directly, here: https://deb.trendtechcn.com/advanced/internal-adapters/.

My own notes:

Now, to turn off your internal wifi adapter and use this one, do the following. Note that you'll have to run the sudo ip link set wlan0 down command to disable the internal WiFi each and every time you reboot and want to use solely this external adapter, so you might consider adding that command to a startup script if you want to always use this external adapter after each boot.

  1. Unplug the external adapter, and run iwconfig to see what your internal adapter is named. Mine shows wlan0.
  2. Turn off that internal adapter:
    sudo ip link set wlan0 down
  3. Now plug in your BrosTrend external adapter. Optionally run iwconfig again to see what it is called, just for informational/awareness purposes. Mine showed wlx4401bb9e35a8 one time, for some reason, but now just shows wlan1.
  4. Click the top-right corner of your screen in Ubuntu to open the drop-down menu to connect to WiFi. Connect with the external adapter. It's hard to tell which adapter is which, as it will show both adapters, but the external one should show networks available since it is NOT disabled, while the internal one should show nothing. You may have to play around with it, possibly unplugging the external one and plugging it back in again. Just run iwconfig and/or unplug the external adapter and run it again to see what's going on with the two adapters if needed, and disable/re-enable the internal one as required. You may have to wait a minute or so for the network list for the new adapter to be populated as you try to connect it to a network, or, if you have issues reconnecting after messing with which adapter you are trying to use to connect, just reboot your computer. I'm not entirely sure, but it may be that if your iwconfig shows the external adapter as wlan1 or similar instead of wlx4401bb9e35a8, then you need to reboot to fix the error (and re-disable the internal WiFi adapter again too, if necessary, after the reboot). Update: it is also worth messing around inside the "Advanced Network Configuration" GUI via nm-connection-editor to see if you can get a non-functioning adapter working there. See also the notes from BrosTrend/TrendTech about this tool, which they emailed me, below.
  5. If you ever need to turn the internal WiFi adapter back on, you can do it with:
    sudo ip link set wlan0 up

Note: if you never want to use your internal WiFi card, you can try disabling it entirely in your BIOS/UEFI settings, which you access manually at boot-time, if your system allows it. You might also try this answer here, or, even better, the BrosTech-recommended solution I've documented in my answer here.

How I copied the entire disk to my Linux Ubuntu laptop

  1. I used this external CD/DVD drive which I bought for $27 from Amazon. It works great! It was plug-and-play on Linux Ubuntu, and required no special setup. I just plugged it into a single USB 3.0 port, from where it drew power as well, and it worked with no problem.

  2. Here is how I copied the entire contents of the DVDs above on my Linux Ubuntu computer, FROM directory /media/gabriel/Driver&Manual TO directory ~/GS/dev/BrosTrendWifiAdapterSoftware:

    # First, do a dry run to make sure the statistics summary at the end all looks good, and that
    # "Number of deleted files" (meaning: files it's going to delete from your destination directory)
    # is 0.
    time rsync -rah --dry-run --info=progress2 --stats '/media/gabriel/Driver&Manual' ~/GS/dev/BrosTrendWifiAdapterSoftware
    
    # When ready, remove the `--dry-run` flag above to actually do the copy. In the event there are any
    # disk read errors, simply re-run this command repeatedly until you no longer get any errors and it
    # all passes. Any read errors will show up live in the `rsync` terminal output while the command
    # runs. If you get read errors, you may need to clean the disk and try again. `rsync` is great in
    # that it scans for and only copies changes between source and destination, which makes it as though
    # it can pick up where it left off, so re-running the command is usually very fast.
    time rsync -rah --info=progress2 --stats '/media/gabriel/Driver&Manual' ~/GS/dev/BrosTrendWifiAdapterSoftware
    
    # Once done copying, add (`+`) read/write (`rw`) privileges for your user and group (`ug`) to all
    # files you just copied (in the destination directory), like this. This allows you to be able to
    # move, modify, rename, etc. them as you see fit using your favorite file manager, such as nemo (my
    # favorite; see here for how to install it: https://askubuntu.com/a/1173861/327339) or nautilus (the
    # default that comes with Ubuntu).
    cd ~/GS/dev/BrosTrendWifiAdapterSoftware
    chmod -R ug+rw 'Driver&Manual'

Emailed feedback that BrosTrend/TrendTech send me directly after they read this very readme

My email to them 7 Mar. 2021 1:10am:

Thanks. It seems to work. Can you please verify my bold comments under step 4 here, and tell me if they are right? https://github.com/ElectricRCAircraftGuy/BrosTrendWifiAdapterSoftware#disable-your-internal-wifi-card-source-see-my-answer-here.

In particular:

it may be that if your iwconfig shows the external adapter as wlan1 or similar instead of wlx4401bb9e35a8, then you need to reboot to fix the error

Thanks!

Their response to me on 7 Mar. 2021 7:42am (I've done some very minor formatting and other small corrections to make this easier to read). They have some great points here, especially in bullets 2 and 3!

Hi Gabriel,

Thank you for the detailed instructions and your good words about our installation process there.
Here are some remarks while reading them:

  1. No need for chmod.

    chmod +x install
    ./install

    Instead of these, you can do this, like our instructions say:

    sh install

    I.e. there's no need to use chmod in order to run a script via sh.

  2. Documentation about disabling internal adapters. We have that here; it relies on module blacklisting: https://deb.trendtechcn.com/advanced/internal-adapters/.

  3. The network manager nm-connection-editor dialog [GUI] (run that from a terminal to see which one I mean) has a "Device" combo box, where you can set a MAC address in order to limit one wifi connection to a specific adapter, or you can leave it empty if you want it to work with any adapter.
    So normally there's no need to disable the internal adapter at all.

  4. The wlan0 vs wlx4401bb9e35a8 name difference is caused by a kernel option called net.ifnames=0. You can read more about it here: https://wiki.debian.org/NetworkInterfaceNames.

  5. Note that if someone has a laptop and presses e.g. Fn + F5 to disable wifi, this may disable the [external] USB adapters too, confusing users.

  6. Another way to copy a CDROM is:

    sudo dd if=/dev/sr0 of=trendtechcn-cd.iso bs=128k status=progress

Greetings from a fellow Linux enthusiast! :)

Best regards, **** from BrosTrend technical support team Please click "Reply to All" when replying to this email


Disclaimer required by Amazon:
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
I make virtually nothing from Amazon in this way, but I must include this disclaimer anyway.