1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

How to compile driver for Rasperry Pi?

Fri May 01, 2015 1:35 pm

I bought a wireless network card with mt7601u chip.
But the most current RASPBIAN based on the 3.18 kernel doesn't provide the driver for it.
So I have to compile the driver.
At first I down load the source code at http://www.mediatek.com/zh-cn/downloads/mt7601u-usb/ for mt7601u chip.
Then Building the compiler environment as the steps on the website http://www.cnblogs.com/sjqlwy/p/4415935.html.
The compilation fails after several attempts. Anyone can help me to compile the driver?
thanks!!!

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

Re: How to compile driver for Rasperry Pi?

Fri May 01, 2015 2:17 pm

1522292358 wrote:I bought a wireless network card with mt7601u chip.
But the most current RASPBIAN based on the 3.18 kernel doesn't provide the driver for it.
So I have to compile the driver.
At first I down load the source code at http://www.mediatek.com/zh-cn/downloads/mt7601u-usb/ for mt7601u chip.
Then Building the compiler environment as the steps on the website http://www.cnblogs.com/sjqlwy/p/4415935.html.
The compilation fails after several attempts. Anyone can help me to compile the driver?
thanks!!!
viewtopic.php?f=91&t=109034

MrEngman seems to have created drivers...
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

User avatar
DougieLawson
Posts: 40833
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to compile driver for Rasperry Pi?

Fri May 01, 2015 2:18 pm

You don't need to compile drivers Mr Engman does it all for us.

Download: https://dl.dropboxusercontent.com/u/802 ... ifi.tar.gz
Unpack that with tar xavf install-wifi.tar.gz
Run
./install-wifi mt7601
reboot and your WiFi will be running.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Fri May 01, 2015 2:48 pm

I can‘t access to the URL https://dl.dropboxusercontent.com/u/802 ... ifi.tar.gz
Mr DougieLawson,can you email the package to me.
This my email address: 1522292358@qq.com.
Thank you very much!!

Heater
Posts: 17453
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to compile driver for Rasperry Pi?

Fri May 01, 2015 3:13 pm

If this is a generally useful thing it's better that it is distributed publicly rather than through private email. Or at least the directions as to how to build it.

That way everybody gets benefit not just you getting a free thing for free.

By the way, how come you cannot access that dropbox url? It works fine here.
Memory in C++ is a leaky abstraction .

User avatar
DougieLawson
Posts: 40833
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to compile driver for Rasperry Pi?

Fri May 01, 2015 3:16 pm

I've sent you an email, but if you can't access Dropbox then the script won't work.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 1:36 am

Mr Lawson
I execute a command with ./install-wifi mt7601.
However, the command-line prompt “A driver does not yet exist for this update”.
Attachments
Screenshot1.png
Screenshot1.png (17.43 KiB) Viewed 3349 times

MrEngman
Posts: 4115
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 1:48 am

1522292358 wrote:Mr Lawson
I execute a command with ./install-wifi mt7601.
However, the command-line prompt “A driver does not yet exist for this update”.
There is a driver file available for your module for kernel 3.18.12-v7+ #782
If you cannot access dropbox I think you will get this message. Can you try the command

Code: Select all

./install-wifi mt7601 -c current
and post the output of the command.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 2:01 am

I try it,but the command stop work.
Attachments
Screenshot2.png
Screenshot2.png (18.5 KiB) Viewed 3333 times

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 2:19 am

The command completes and displays the following message,
Attachments
Screenshot3.png
Screenshot3.png (26.18 KiB) Viewed 3321 times

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 2:36 am

MrEngman wrote:
1522292358 wrote:Mr Lawson
I execute a command with ./install-wifi mt7601.
However, the command-line prompt “A driver does not yet exist for this update”.
There is a driver file available for your module for kernel 3.18.12-v7+ #782
If you cannot access dropbox I think you will get this message. Can you try the command

Code: Select all

./install-wifi mt7601 -c current
and post the output of the command.


MrEngman
The command completes and displays the following message,

MrEngman
Posts: 4115
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 2:57 am

I am fairly certain you are unable to access dropbox but without modifying the install-wifi script it is not possible to see the exact error when the script downloads the driver. It will say the same message that the file does not exist if it unable to access dropbox.

I have copied the driver to another web site so you may be able to download and install it with the following commands

Code: Select all

wget http://www.fars-robotics.net/mt7601-3.18.12-v7-782.tar.gz
tar xzf mt7601-3.12.18-v7-782.tar.gz
./install.sh
I hope you can get the driver from here.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

1522292358
Posts: 17
Joined: Fri May 01, 2015 12:36 pm

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 3:13 am

Mr Engman, thanks for your help.
Now, my network card work well.

MrEngman
Posts: 4115
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How to compile driver for Rasperry Pi?

Sat May 02, 2015 3:16 am

1522292358 wrote:Mr Engman, thanks for your help.
Now, my network card work well.
That is good to hear. Enjoy using your Pi :D


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
DougieLawson
Posts: 40833
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to compile driver for Rasperry Pi?

Sat Oct 31, 2015 8:01 pm

cd /tmp
wget https://dl.dropboxusercontent.com/u/80256631/install-wifi.tar.gz
tar xavf install-wifi.tar.gz
sudo mv install-wifi /root
sudo /root/install-wifi mt7601
sudo reboot
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Return to “General discussion”