Help required with USB wireless LAN

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Help required with USB wireless LAN

Post by AlbertP »

Ok, so that could be done. Probably you can just run make and then sudo make install on that driver. Could you try that first?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

I did try that and got "no such directory" errors

Sent from my Desire S using Tapatalk 2
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

Well I'm now posting from the machine in question. I used make -k
and it seems to have worked.
Now, how can I check for a better driver?
(the connection is slow and unreliable but that may just be because of the distance from the modem).
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Help required with USB wireless LAN

Post by AlbertP »

After running make, you need to run sudo make install too; when that is done, you can blacklist rt2800usb to use your newly installed driver:

Code: Select all

gksudo gedit /etc/modprobe.d/blacklist.conf
(replace gedit with pluma on Mate)

In that file you can add this on a blank line:

Code: Select all

blacklist rt2800usb
After a reboot inxi -N should report Card 2 with a different "driver:" text if all goes well.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

Apparently I don't have gksu and it's not available:

eading package lists... Done
Building dependency tree
Reading state information... Done
Package gksu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Help required with USB wireless LAN

Post by AlbertP »

Are you using KDE perhaps? You can use kdesudo then, or simply sudo which lets you type the password into the terminal instead of a box. Note that passwords in terminal are invisible instead of being replaced by ******. It will look like nothing happens if you type your password after using sudo.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

Tried both those, neither did much:

arry@garry-mint ~ $ kdesudo gedit /etc/modprobe.d/blacklist.conf
sudo:
garry@garry-mint ~ $ sudo gedit /etc/modpobe.d/blacklist.conf
sudo: gedit: command not found
garry@garry-mint ~ $ kdesudo gedit /etc/modprobe.d/blacklist.conf
sudo:
garry@garry-mint ~ $ blacklist rt2800usb
blacklist: command not found
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

Apparently I don't have gedit and I can't apt-get it because of broken packages. Perhaps an incomplete install.
I installed without internet connection - could this be the problem?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Help required with USB wireless LAN

Post by AlbertP »

You can use kate instead if using Mint KDE edition, pluma on Mate editions. Those text editors are preinstalled.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

Hello again. Yesterday I thought I'd check the integrity of the installation DVD I was using and installed Mint on my laptop - and got exactly the same errors. So I downloaded a fresh copy (This time of the 64 bit MATE version) and installed that instead. All much better!
I'd still like, if possible, to check that the rt2800 is the best driver for this card (the supplied one being rt2870).

Should I try to make and install the rt2870 before blacklisting the rt2800 or after?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Help required with USB wireless LAN

Post by AlbertP »

That does not really matter. If you install rt2870sta, blacklist rt2800usb, and then reboot, it's ok.

If necessary you can reverse the installation by using "sudo make uninstall"; but please make sure you remove the blacklist when uninstalling rt2870sta, else rt2800usb doesn't come back right away.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
g-banjo

Re: Help required with USB wireless LAN

Post by g-banjo »

No, I can't get this new driver to show its face at all - no connection if I blacklist the old one. Never mind it IS working now, just slow, I can live with it I guess.
Thank you very much for your help and advice, Albert, I've learned quite a bit from this.
Locked

Return to “Beginner Questions”