Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Ubuntu installs 360 portable wifi driver

Shulou Source: shulou.com Published: 2022-06-01 04:44:01 10月03日 Update

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

Tags: Source code information file user compiler driver command password wireless wireless Nic directory Nic network facet configuration normal operating system host again impression Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL MariaDB Apple Shulou Information