[Solved] Ralink RT2561/RT61 not working on Linux Mint 19.3

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Joao_Pedro_Sousa
Level 1
Level 1
Posts: 3
Joined: Wed Oct 21, 2020 3:00 pm

[Solved] Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by Joao_Pedro_Sousa »

I tried a previous wifi card and it didn't show up in the inxi command. This one is better, it shows, but I don't know what I should do to make it work. The wifi icon, when I'm not connected by ethernet and it appears, indicated with a red icon that it isn't working and it isn't working. I tried opening the driver manager, or whatever is called in english, having internet from the cable but yet it didn't make it work, if this is relevant.

inxi -Fxzd

Code: Select all

System:    Host: CarlosAlberto-PC Kernel: 5.0.0-32-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Xfce 4.14.1 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop System: POSITIVO product: POS-AG31AP v: N/A serial: <filter> 
           Mobo: Positivo Informatica SA model: POS-AG31AP v: x.xx serial: <filter> 
           BIOS: Desenvolvida para Positivo Informatica SA v: 0001 date: 11/25/2008 
CPU:       Topology: Dual Core model: Intel Pentium Dual E2200 bits: 64 type: MCP arch: Core Merom rev: D L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 8799 
           Speed: 1578 MHz min/max: 1200/2200 MHz Core speeds (MHz): 1: 1425 2: 1414 
Graphics:  Device-1: Intel 82G33/G31 Express Integrated Graphics vendor: ASUSTeK P5KPL-VM driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.4 driver: intel unloaded: fbdev,modesetting,vesa tty: N/A 
           OpenGL: renderer: Mesa DRI Intel G33 v: 1.4 Mesa 19.0.8 direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASUSTeK P5KPL-VM driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.0.0-32-generic 
Network:   Device-1: Qualcomm Atheros Attansic L1 Gigabit Ethernet vendor: ASUSTeK P5KPL-VM driver: atl1 v: 2.1.3 port: 0400 
           bus ID: 02:00.0 
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Ralink RT2561/RT61 rev B 802.11g vendor: D-Link System AirPlus G DWL-G510 Wireless driver: N/A port: 0400 
           bus ID: 04:00.0 
Drives:    Local Storage: total: 232.89 GiB used: 15.66 GiB (6.7%) 
           ID-1: /dev/sda model: VB0250EAVER size: 232.89 GiB 
           Floppy-1: /dev/fd0 
Partition: ID-1: / size: 228.23 GiB used: 15.66 GiB (6.9%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 160 Uptime: 41m Memory: 1.93 GiB used: 1.23 GiB (63.8%) Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 
           Shell: bash v: 4.4.20 inxi: 3.0.32 
ifconfig

Code: Select all

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.19  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::ba48:2f66:babf:ca86  prefixlen 64  scopeid 0x20<link>
        inet6 2804:14c:bb84:4473:b2ce:2922:b772:a9d6  prefixlen 64  scopeid 0x0<global>
        ether 00:26:18:6b:52:4b  txqueuelen 1000  (Ethernet)
        RX packets 57543  bytes 62187745 (62.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 38664  bytes 4779335 (4.7 MB)
        TX errors 0  dropped 0 overruns 0  carrier 2  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3771  bytes 372757 (372.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3771  bytes 372757 (372.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lspci

Code: Select all

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
02:00.0 Ethernet controller: Qualcomm Atheros Attansic L1 Gigabit Ethernet (rev b0)
04:00.0 Network controller: Ralink corp. RT2561/RT61 rev B 802.11g
iwconfig

Code: Select all

enp2s0    no wireless extensions.

lo        no wireless extensions.
Last edited by Joao_Pedro_Sousa on Tue Oct 27, 2020 5:01 pm, edited 1 time in total.
User avatar
phd21
Level 19
Level 19
Posts: 9832
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by phd21 »

Hi Joao_Pedro_Sousa,

Welcome to the wonderful world of Linux Mint and its excellent forum!

You might check to see that the linux firmware packages are installed from the "Synaptic Package Manager (SPM)" and afterward restart your computer to see if that works, and if not, try the instruction from the links below. I think this card is supported by the Linux Kernel now.

Question #680910 : Questions : Ubuntu
https://answers.launchpad.net/ubuntu/+question/680910


Wireless failure - Mint 18 Cinnamon [SOLVED] - Linux Mint Forums
viewtopic.php?t=226214

Hope this helps ...
Phd21: Mint 20 and 19.2 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
sleeper12
Level 13
Level 13
Posts: 4730
Joined: Thu May 25, 2017 3:22 pm

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by sleeper12 »

Update to the 5.4 kernel, then see if you can install the driver in Driver Manager.
Joao_Pedro_Sousa
Level 1
Level 1
Posts: 3
Joined: Wed Oct 21, 2020 3:00 pm

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by Joao_Pedro_Sousa »

I wasn't screwing the card in the computer case and that was the problem. :oops:

I will describe what I did, but it is not needed:
-I updated the only package I found about Linux firmware. The version it had ended with .9, the newest with .19. I'm not with access to the PC to be exact on the version. But didn't work.
-I followed the instructions set in the link https://answers.launchpad.net/ubuntu/+question/680910. The git place where it was cloning from changed, and I looked for the new link and adapted the instructions. But in the end the WiFi didn't work.
-I tried, after my father's suggestion, one other WiFi card he had brought for me to test. On the fist card the option to connect to a hidden network appeared (some other things too; I think, but am not sure, the enable WiFi checkbox appeared). But it still didn't work.
-Eventually I screwed one card in the computer case and the WiFi worked.

I thank you phd21 and sleeper12 for assisting me :mrgreen:. I had read before one topic here where the solution was found when the poster realized his GPU fan was moving the unscrewed wireless card. But I never strongly realized that even without a GPU screwing the card (inserted all the way in the slot) was crucial. I thank you phd21 and sleeper12 again, for the time and help.
CragHopper
Level 1
Level 1
Posts: 7
Joined: Sun Oct 25, 2020 12:08 pm

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by CragHopper »

Hello Joao_Pedro_Sousa!

I have just been having exactly your problem with Mint 19.3 on a different machine. The following worked for me (advice from this forum):

Go to the Update Manager, click on "View" and then "Linux Kernels". Choose kernel 5.4 for installation. Reboot. If wifi still not showing, go to the Driver Manager, and you should see the correct driver, which is has not been selected. Select it and then reboot.

This worked beautifully for me.

Best, CragHopper.
User avatar
phd21
Level 19
Level 19
Posts: 9832
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by phd21 »

Hi Joao_Pedro_Sousa,

You are welcome from all of us that replied...

Can you tell us if it is working properly now and if you needed to update the Linux Kernel or install any drivers other than the Linux Firmware package?

FYI: As another option or a backup option to connect to the Internet, there are some USB WiFi adapters that are plug and play with Linux meaning they require no drivers like those from Panda.

Amazon.com: Panda Wireless PAU06 300Mbps Wireless N USB Adapter - w/High Gain Antenna - Win XP/Vista/7/8/10, Mint, Ubuntu, MX Linux, Manjaro, Fedora, Centos, Kali Linux and Raspbian: Electronics
https://www.amazon.com/Panda-Wireless-P ... B00JDVRCI0

Amazon.com: Panda 300Mbps Wireless N USB Adapter - Windows Vista/7/8/8.1/10, Mint, Ubuntu, Fedora, openSUSE, Centos, Lubuntu, Zorin, Kali Linux and Raspbian: Electronics
https://www.amazon.com/Panda-300Mbps-Wi ... B01LY35HGO
Phd21: Mint 20 and 19.2 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Joao_Pedro_Sousa
Level 1
Level 1
Posts: 3
Joined: Wed Oct 21, 2020 3:00 pm

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by Joao_Pedro_Sousa »

Yes, it is working now. That wifi card, Ralink RT2561/RT61 (here pictured besides Timon http://bendingmcp.blogspot.com/2011/02/ ... -wifi.html) is not currently the one in use, but I tested it briefly and it worked.

I decided to put another one because it fared better in a speed test I did (approximately 1.5-3 Mbps/1.5-3 Mbps for Ralink vs 10 Mbps/5-10 Mbps for Encore; although I did not control for the server, for example; but they were always chosen automatically by https://www.speedtest.net/, all similarly close by my city; and as a note, the wifi cards are in used condition).

Now the one in use is the Encore ENLWI-G2. But all cards (3) that I believed were only for me to test and select one are now all in my possession; anyway.

I did not update the Linux Kernel nor install any drivers. The first thing I did, before screwing and solving the problem, was going in the Synaptic Package Manager and updating the (updatable, it said before) 'linux-firmware' to the latest version 1.173.19

Then I ran these commands present in this link...: https://answers.launchpad.net/ubuntu/+question/680910

sudo apt-get install dkms git build-essential
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
make
sudo make install

...adapted with these commands present in this link: https://askubuntu.com/questions/1262459 ... w-git-repo

sudo apt update
sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6

I don't know how these commands, unused for the solution, I believe, implemented as I implemented them could affect the system workings, especially in relation to the Ralink card (which was much more slow in comparison with the Encore in the quick test I did); but for now it is not a problem.

I believe the solution stemmed from the fact that I was not installing the card correctly, not screwing them to the case, because the two cards cited worked as soon as I screwed them in place; and I swapped the cards (without screwing) and restarted the computer a couple of times for the software tweaks to bear fruit. I believe the problem was caused solely from my bad (physical) installation of the card. (But maybe the software had something to do with it too, my mind was too fuzzy for me to remember enough to allow me to rule this out; but I would bet it didn't; if there was a bet, and if the terms of the bet were good :lol: )
Last edited by Joao_Pedro_Sousa on Tue Oct 27, 2020 5:01 pm, edited 1 time in total.
User avatar
Larry78723
Level 10
Level 10
Posts: 3072
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Ralink RT2561/RT61 not working on Linux Mint 19.3

Post by Larry78723 »

If your problem is fixed, please go to your first post in this thread, click on the pencil, and edit the subject by adding [Solved] to it.
Image
Post Reply

Return to “Wireless”