Using 360WIFI2 as the wireless card under Linux

Source: Internet
Author: User

Recently the company bought 360wifi as a wireless network card use, have to say 360wifi/mifiwi really is very cheap, Windows version 360 official driver directly support the 360wifi set as a network card mode use, but the question is "What do I do under Linux"???

###################################### #以下为网络查询到的内容 ############################################################# #####

With Baidu search 148f:760b, results found 360 forum on a new Koreans out of the post, confirmed that the chip is MT7601.

The rest is simple, download the MT7601 Linux driver on the Ralink website, modify the Common/rtusb_dev_id.c file,

{Usb_device (0x148f,0x7601)},/* MT 6370 */

Add a line below

{Usb_deviCE (0x148f,0x760b)},/* Wifi */

Followthe instructions in Readme_sta_ USB make and make install. Then modprobe Mt7601usta.ko the kernel module, and the rest of it is completed.

###################################### #以上为网络查询到的内容 ############################################################# #####

The pit daddy is, I compile to the rt_linux.o times in Linux the mistake, the Netizen's conclusion is does not support 3.13.0 above the kernel version. Well, what to do, look at the code, compile the error message of the code line to see that the assignment statement is an assignment type mismatch. After code review, find the problem code in OS/LINUX/RT_LINUX.C:

Posfsinfo->fsuid = Current_fsuid ();
Posfsinfo->fsgid = Current_fsgid ();

Modify:

Posfsinfo->fsuid = * (int *) &current_fsuid ();
Posfsinfo->fsgid = * (int *) &current_fsgid ();

Then compile the pass. (PS: MediaTek's code specification has yet to be strengthened.)

Make

Make instal

Modprobe Mt7601usta

Haha, really completed, you can link unlimited network use ...

The modified code can be downloaded directly using: Children's shoes need to go to https://github.com/2421/mt7601u_driver_linux download.

Using 360WIFI2 as the wireless card under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.