24 Mar 2019

MediaTek mt7601 wifi adapter for puppy linux precise 5.7.1

At last, I got a contract of wireless Internet service.

I bought a wifi adapter from China. The bland is ACEHE.
The description says it's for linux, too.

# lsusb
Bus 002 Device 003: ID 148f:7601 Ralink Technology, Corp.

We can get source of the driver from MediaTek. I got MT7601U's.

Puppy linux needs additional sfs packages for compiling. It's dev and kernel source.

then, we need some editting. The source is written for kernel 2.4 and 2.6. My precise's kernel is 3.2.48. The following weblog mentioned about that. 
 puppylinux pup4.3.1_JP2012でUSB無線LANアダプタの設定してみました

puppylinux precise571JPの無線LANドライバをビルドしてみました。

Actually, I need simple stuff. "findstring 2.4" is changed to "findstringxxx" on os/linux/config.mk and Makefile.

Unplug the wifi adapter.

Then, make & make install.

Reboot. 

We can see ra0 in the network set up. Frisbee can work to set it up.