Tutorial: Installation of Ralink/MediaTek MT7601 based USB Wifi modules on BeagleBone Black

8,653 views
Skip to first unread message

Roland Groeneveld

unread,
Jul 23, 2013, 9:21:56 AM7/23/13
to beagl...@googlegroups.com
We just published a tutorial for installation of the UWN100 an UWN200 Compact USB Wifi Adapters on the BeagleBone Black. These adapters are based on the relatively new Ralink/MediaTek MT7601 chipset, so drivers are not widely available yet. The tutorial provides step-by-step instructions for downloading and installing the drivers.


   


Roland Groeneveld
Logic Supply
Follow us on Google+ for news and updates

johanne...@gmail.com

unread,
Aug 20, 2013, 5:32:39 PM8/20/13
to beagl...@googlegroups.com
Are there similar instructions for ArchLinux? I'm attempting to apply your recipe there, it compiles fine, but insmod is failing with a "invalid module format" error.

J

unread,
Aug 20, 2013, 9:42:00 PM8/20/13
to beagl...@googlegroups.com
Because those are not for Arch. Also I am sure there are for a much different Kernel than you are running ;) That was made on the Angstrom OS.

get his patches and then build a PKGBUILD for it, make your package and off you go.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Roland Groeneveld

unread,
Aug 20, 2013, 10:23:06 PM8/20/13
to beagl...@googlegroups.com

J

unread,
Aug 20, 2013, 10:25:30 PM8/20/13
to beagl...@googlegroups.com
even easier solution the PKGBUILD is already there for you :) But
doesn't that mean its being built already if its in their master tree or
available as a installable package?

Johannes Ernst

unread,
Aug 20, 2013, 10:31:36 PM8/20/13
to beagl...@googlegroups.com


On Tuesday, August 20, 2013 7:23:06 PM UTC-7, Roland Groeneveld wrote:
See this for more details: http://archlinuxarm.org/forum/viewtopic.php?f=5&t=5921&p=33939#p33939

 According to this, it seems that the next official ArchLinux build for the BeagleBone should contain this then, and all I need is wait? Or am I misunderstanding this?

Thanks,


Johannes.

danli...@gmail.com

unread,
Oct 1, 2013, 3:24:33 PM10/1/13
to beagl...@googlegroups.com
I like the form factor of this adaptor and I'm interested in trying it out with Ubuntu and Linaro, but I'm concerned about the mystery driver. Who develops it? What is the license? Is there a version control repo for it? Is it going to be in the mainline Linux tree any time soon?

Roland Groeneveld

unread,
Oct 1, 2013, 3:59:41 PM10/1/13
to beagl...@googlegroups.com, danli...@gmail.com
The UWN100 and UWN200 adapters are based on the MediaTek MT7601 chipset. The drivers have recently been published on the MediaTek website. They are published under the GNU General Public License (as you'll see when you click on the download link).

Dan Lipsitt

unread,
Oct 2, 2013, 6:44:54 PM10/2/13
to beagl...@googlegroups.com, danli...@gmail.com
Thanks. Any plans to get it into the upstream kernel?

Dave Holden

unread,
Jan 10, 2014, 6:45:02 PM1/10/14
to beagl...@googlegroups.com
UWN200 works well for me.  Plug and play.  Thank you Jesus, what a pain in the ass it has been to get wifi on my BBB.    On the bright side I now have one of every wifi dongle ever made.  

I did this, I hope I don't really need the upgrade though since I'm trying to create a minimal build.
# opkg update

# opkg upgrade 

Now I have these drivers etc.:

ifconfig
ra0       Link encap:Ethernet  HWaddr 00:0C:43:00:14:41 
          inet addr:10.0.1.23  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:43ff:fe00:1441/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1333634 errors:0 dropped:2 overruns:465 frame:465
          TX packets:1194015 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:185513558 (176.9 MiB)  TX bytes:1018927693 (971.7 MiB)

root@beaglebone:~# lsmod | grep 7601
mtnet7601Usta          25701  1
mt7601Usta            753921  1 mtnet7601Usta
mtutil7601Usta         65890  2 mt7601Usta,mtnet7601Usta

unique modules: 
mtnet7601Usta        
mtutil7601Usta         
mt7601Usta             


root@beaglebone:~# modinfo mtutil7601Usta
filename:       /lib/modules/3.8.13/kernel/drivers/net/wireless/mtutil7601Usta.ko
license:        GPL
srcversion:     E14FD79D6D622DB12CC3F6D
depends:       
vermagic:       3.8.13 SMP mod_unload modversions ARMv7 thumb2 p2v8

root@beaglebone:~# modinfo mtnet7601Usta             
filename:       /lib/modules/3.8.13/kernel/drivers/net/wireless/mtnet7601Usta.ko
license:        GPL
version:        3.0.0.3
description:    RT2870 Wireless Lan Linux Driver
author:         Paul Lin <paul...@ralinktech.com>
license:        GPL
srcversion:     B2652578024467A64684B82
alias:          usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp6370d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7650d*dc*dsc*dp*ic*isc*ip*in*
depends:        mtutil7601Usta,mt7601Usta
vermagic:       3.8.13 SMP mod_unload modversions ARMv7 thumb2 p2v8
parm:           mac:rt28xx: wireless mac addr (charp)

root@beaglebone:~# modinfo mt7601Usta
filename:       /lib/modules/3.8.13/kernel/drivers/net/wireless/mt7601Usta.ko
srcversion:     9EF4492CF4EB832D5955C16
depends:        mtutil7601Usta
vermagic:       3.8.13 SMP mod_unload modversions ARMv7 thumb2 p2v8 

On Tuesday, July 23, 2013 6:21:56 AM UTC-7, Roland Groeneveld wrote:
Reply all
Reply to author
Forward
0 new messages