BrosTrend WNA016 Wi-Fi adapter

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Palyndol
Level 1
Level 1
Posts: 1
Joined: Mon Dec 04, 2017 12:10 am

BrosTrend WNA016 Wi-Fi adapter

Post by Palyndol » Mon Dec 04, 2017 12:15 am

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

User avatar
jimallyn
Level 18
Level 18
Posts: 8026
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: BrosTrend WNA016 Wi-Fi adapter

Post by jimallyn » Mon Dec 04, 2017 12:18 am

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.
Image

“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 18
Level 18
Posts: 8384
Joined: Fri Feb 21, 2014 8:17 am

Re: BrosTrend WNA016 Wi-Fi adapter

Post by JeremyB » Mon Dec 04, 2017 5:57 pm

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

Post Reply

Return to “Wireless”