BrosTrend WNA016 Wi-Fi adapter

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Palyndol

BrosTrend WNA016 Wi-Fi adapter

Post by Palyndol »

I recently installed Linux Mint onto my PC and I can't seem to download the drivers for my Wi-Fi adapter, and this leads to me not being able to connect to Wi-Fi. I've downloaded the driver folder from the website and opened it in the terminal, typed in "make," and got this:

make -C UTIL/ osutil
make[1]: Entering directory '/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL'
cp -f os/linux/Makefile.6.util /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/Makefile
make -C /lib/modules/4.10.0-40-generic/build SUBDIRS=/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux modules
make[2]: Entering directory '/usr/src/linux-headers-4.10.0-40-generic'
CC [M] /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.o
/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_fill_bulk_urb’:
/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.c:425:68: error: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type [-Werror=incompatible-pointer-types]
usb_fill_bulk_urb(urb, dev, pipe, transfer_buffer, buffer_length, complete_fn,
^
In file included from /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/include/os/rt_linux.h:40:0,
from /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/include/rtmp_os.h:48,
from /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/include/rtmp_comm.h:62,
from /home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.c:18:
./include/linux/usb.h:1540:20: note: expected ‘usb_complete_t {aka void (*)(struct urb *)}’ but argument is of type ‘USB_COMPLETE_HANDLER {aka void (*)(void *)}’
static inline void usb_fill_bulk_urb(struct urb *urb,
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.o' failed
make[3]: *** [/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux/../../os/linux/rt_usb_util.o] Error 1
Makefile:1524: recipe for target '_module_/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux' failed
make[2]: *** [_module_/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL/os/linux] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-40-generic'
Makefile:508: recipe for target 'osutil' failed
make[1]: *** [osutil] Error 2
make[1]: Leaving directory '/home/paly/Downloads/DPA_mt7610u_wifi_sta_v3004_rev1_20140529/UTIL'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: BrosTrend WNA016 Wi-Fi adapter

Post by jimallyn »

You will often find that following the manufacturer's instructions is the worst way to install drivers in Linux. We have several people on the forums who are quite knowledgeable on wifi and drivers. My advice would be to wait until one of them (probably JeremyB) shows up to assist.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
JeremyB
Level 21
Level 21
Posts: 13847
Joined: Fri Feb 21, 2014 8:17 am

Re: BrosTrend WNA016 Wi-Fi adapter

Post by JeremyB »

In terminal

Code: Select all

sudo apt-get install git build-essential 
git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make
sudo make installfw
sudo cp mt7610u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo depmod -a
Reboot
This may or may not work, if it doesn't I would find a different adapter to use. Back in July chili555 posted on ubuntuforums that there wasn't any way to get these to work, however the source code has been changed recently and it may work
Locked

Return to “Networking”