Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ubuntu installs 360 portable wifi driver

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Preparation before configuration:

Open the normal user command line, modify the root password,

sudo passwd root

Then log in as root.

One: Plug in the 360wifi 2nd generation wireless network card on the host, start the ubuntu operating system, enter it on the command line

lsusb

Check the basic information of the wireless network card.

From the above information, we can know that the chip information of 360 portable WIFI 2 generation is: Ralink 148f: 760b.

2: Download the driver source package

DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2.zip

After downloading, unzip it under windows first, and put the decompressed files in ubuntu.

Three:

a. Modify the os/linux/config.mk file below the source package (change the original n to y)

#support Wpa_Supplicant

HAS_WPA_SUPPLICANT=y

#support Native WpaSupplicant for Network Manager

HAS_NATIVE_WPA_SUPPLIVANT_SUPPORT=y

b. Modify the USB port identification file rtusb_dev_id.c file, in the source package common/rtusb_dev_id.c, if there is no ID number of your device, then add lsusb to it

ID number:

#ifdef MT7601U

{USB_DEVICE(0x148f,0x6370)},/*Ralink 6370*/

{USB_DEVICE(0x148f,0x7601)},/*RAlink 6372*/

{USB_DEVICE(0x148f,0x760b)},/*360wifi*/

#endif //RT7601U//

{}/*Terminating entry*/

c. In the source directory os/linux/rt_linux.c modify:

In lines 1121 and 1122,

pOSFSInfo->fsuid=current_fsuid();

pOSFSInfo->fsgid=current_fsgid();

Amend to read:

pOSFSInfo->fsuid=*(int *)¤t_fsuid();

pOSFSInfo->fsgid=*(int *)¤t_fsgid();

Four:

Compiling the source code again

Go to the directory of drives:

Get administrator status: sudo su

Compile: make

Build and install: make install

Automatic processing loadable module: sudo modprobe mt7601Usta

Done.

Check the network to see:

Then configure the network information and password to log in.

For details, please add my impression note number: 1468359547@qq.com

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report