Triffgits
Posts: 16
Joined: Mon Sep 07, 2015 7:31 pm

Can't make driver for wifi dongle.

Fri Jan 08, 2016 2:08 am

I have an MT7601 chipped wifi dongle and I'm running a pi model B with rasbian jesse on linux kernel "4.1.13+".

I read on this page:
https://groenholdt.net/Computers/Raspbe ... ry-Pi.html
...to come to this page for the driver between 3.19 and 4.2:
https://github.com/kuba-moo/mt7601u

So I downloaded the master zip, put it on my pi, SSH'd into my pi and changed to the directory the files were in. When I run "sudo make", I get this:

Code: Select all

make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: *** /lib/modules/4.1.13+/build: No such file or directory.  Stop.
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2
What happened?

Here are the contents of the master zip file:
Image

edit:

There's a readme with some instructions I missed, I'll post results later.

edit:

I tried what was mentioned in the readme, it didn't turn up anything useful

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Can't make driver for wifi dongle.

Fri Jan 08, 2016 7:48 am

You do not need the driver you are trying to crucify your Raspbian install with, remove the packages you installed..

If you have a fully updated Raspbian it is now easier to get the MT7601 to work:

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
viewtopic.php?f=91&t=89565&p=877877&hil ... 01#p826699
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

Triffgits
Posts: 16
Joined: Mon Sep 07, 2015 7:31 pm

Re: Can't make driver for wifi dongle.

Fri Jan 08, 2016 6:36 pm

I've reverted my raspberry pi to its pre-tinkered state and it is running updates plugged into the router as I type this. I'll post results later.

Triffgits
Posts: 16
Joined: Mon Sep 07, 2015 7:31 pm

Re: Can't make driver for wifi dongle.

Fri Jan 08, 2016 10:45 pm

Ok, so on a clean raspbian install I ran the following:

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade

sudo wget https://github.com/porjo/mt7601/raw/master/src/mcu/bin/MT7601.bin -O /lib/firmware/mt7601u.bin
Then I added my network SSID and passphase to the wpa_supplicant.conf file.

Upon rebooting the raspberry pi while disconnected from the ethernet cable and with the dongle plugged in, the raspberry pi doesn't appear on the network (checked via the router to be certain), the only trace of it is the ip used by the raspi when it's plugged into ethernet, and it says "inactive".

Is there some instruction I haven't given it to make it work?

edit:

so I ran sudo rpi-update and that put me on 4.1.15+... am I missing something here?

Return to “Troubleshooting”