LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help installing wifi drivers (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-installing-wifi-drivers-4175670681/)

Hvlios 03-03-2020 04:09 PM

Need help installing wifi drivers
 
So I dual booted pop os alongside windows 10. I dont have access to an ethernet cable and im trying to install my wifi drivers. I downloaded the driver from the site but im not sure how to install?

This is the driver here https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
I downloaded the linux driver zip but now im stuck on how to install

teckk 03-03-2020 04:44 PM

You've given little info.
Are you using WEP? I don't know anything about pop os. Looks like it is from Ubuntu. Does it have a software repository?
https://distrowatch.com/table.php?distribution=popos
https://pop.system76.com/docs/

Installing software from your repository with your package manager would be the best thing to do. You need to learn more about what you have installed. Read the docs and see what package manager it uses.
And what hardware that you have, what kernel modules support that hardware.

What are the outputs to:
Code:

uname -a
lspci
ip a

I read the amazon link you posted for that device. I don't see any software listed.
Code:

dmesg -w
Then plug the device in, see what info you can get from that. See what chip it has and if there is any linux kernel support for it.

If you have a .zip file then unzip it and see if there is a readme in the tree somewhere.

Hvlios 03-03-2020 04:54 PM

Quote:

Originally Posted by teckk (Post 6096813)
You've given little info.
Are you using WEP? I don't know anything about pop os. Looks like it is from Ubuntu. Does it have a software repository?
https://distrowatch.com/table.php?distribution=popos
https://pop.system76.com/docs/

Installing software from your repository with your package manager would be the best thing to do. You need to learn more about what you have installed. Read the docs and see what package manager it uses.
And what hardware that you have, what kernel modules support that hardware.

What are the outputs to:
Code:

uname -a
lspci
ip a

I read the amazon link you posted for that device. I don't see any software listed.
Code:

dmesg -w
Then plug the device in, see what info you can get from that. See what chip it has and if there is any linux kernel support for it.

If you have a .zip file then unzip it and see if there is a readme in the tree somewhere.

The readme is confusing it there is wifi software, where it says download link. How do i check if its a wep. I thought i cant download anything unless im connected with ethernet..

JeremyBoden 03-03-2020 04:57 PM

Amazon claim they offer 90 days technical support.
I bet they don't, though.

USB wifi cards tend to offer poor support.
I downloaded a 53MB compressed file of which the Linux driver portion has 459 items.
You appear to have to compile your driver from some of these files.
I wouldn't want to attempt to do it.

If it was me, I would send it back and get a Linux compatible wifi device.
You need something that "just works" - none of this driver nonsense.

uteck 03-03-2020 04:58 PM

Is this the tar.bz2 file from https://drive.google.com/file/d/1QTO...NcaeAAT-Z/view from the Amazon page?
Not quite a zip file, but a tar file compressed with bzip2. If the file manager is not offering to unzip it, then you can use the command line
Code:

tar -xjvf filenme.tar.bz2
This tells the tar command to extract (-x) using the bzip2 compression (j) with verbose output (v) and use the following file (f) followed by the filename.

Hvlios 03-03-2020 05:09 PM

Quote:

Originally Posted by uteck (Post 6096826)
Is this the tar.bz2 file from https://drive.google.com/file/d/1QTO...NcaeAAT-Z/view from the Amazon page?
Not quite a zip file, but a tar file compressed with bzip2. If the file manager is not offering to unzip it, then you can use the command line
Code:

tar -xjvf filenme.tar.bz2
This tells the tar command to extract (-x) using the bzip2 compression (j) with verbose output (v) and use the following file (f) followed by the filename.

Yes but i dont know what to do with it

JeremyBoden 03-03-2020 05:34 PM

If you extract it, it contains 3 directories, one called Linux which contains
Code:

MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2
If you extract that you get a directory called DPO which contains a lot of files.

It's not worth it. :rolleyes:

goumba 03-03-2020 06:23 PM

This page, https://wireless.wiki.kernel.org/en/...ivers/mediatek, suggests that you need the linux-firmware (or whatever the equivalent is under Pop). The driver itself is already included with the kernel.

As recommended earlier, it's better to use Pop's package manager, and see if that package is installed. If not, you'll have to install it. Unfortunately I know nothing of where to find Pop's repositories, but it's likely in the non-free section. As you don't have a wired connection, you may have to do some sleuthing on pop's website.

Worst case, you'll have to install the firmware manually. Grab https://git.kernel.org/pub/scm/linux...0200122.tar.gz, and put the files where they belong (/lib/firmware).

Extract the file somewhere, then copy (as root) to /lib/firmware
Code:

sudo cp -Rp --no-clobber linux-firmware-20200122/* /lib/firmware
(I'd use no-clobber just to avoid clobbering whatever Pop already installed)

Then run, again as root:
Code:

modprobe mt76
then
Code:

dmesg
and check near the end for any errors. If no errors, or messages looking like the driver was successful loading (something giving the device a name), like:
Code:

[    2.594854] wlan0: mediatek Wireless Controller ...
you may be in luck, now check the network applet see if it'll let you connect.

jefro 03-03-2020 09:51 PM

Before you get too far along maybe you don't need drivers for your distro/kernel.

What does lsusb say for the chipset then maybe lsmod for it. If the driver is working then maybe it's a wifi access deal.

Hvlios 03-04-2020 07:14 PM

Quote:

Originally Posted by jefro (Post 6096893)
Before you get too far along maybe you don't need drivers for your distro/kernel.

What does lsusb say for the chipset then maybe lsmod for it. If the driver is working then maybe it's a wifi access deal.

Ill try. but there is no wifi option at all so

uteck 03-04-2020 09:12 PM

Got home to my Linux system to look at the download.
Had to do a bit of extra work to get it to try to compile the driver, and it craps out with an error from make. Looked at the Readme file and saw the problem.
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.

So don't bother with the driver linked from Amazon. Looks like they only have Mac and MS drivers from the manufacturer. https://www.mediatek.com/products/broadbandWifi/rt2870

I would return it. Found some really nice instructions for Ubuntu (which PopOS is based on) and that page is from 2010 and the link to download the driver does not work.

Hvlios 03-04-2020 10:35 PM

Quote:

Originally Posted by uteck (Post 6097245)
Got home to my Linux system to look at the download.
Had to do a bit of extra work to get it to try to compile the driver, and it craps out with an error from make. Looked at the Readme file and saw the problem.
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.

So don't bother with the driver linked from Amazon. Looks like they only have Mac and MS drivers from the manufacturer. https://www.mediatek.com/products/broadbandWifi/rt2870

I would return it. Found some really nice instructions for Ubuntu (which PopOS is based on) and that page is from 2010 and the link to download the driver does not work.

Wow that sucks, I appreciate you doing that for me :D
Do you have a wifi adapter you would recommend? one that works with linux too


All times are GMT -5. The time now is 03:04 AM.