[SOLVED] replaced defunct network adapter with usb wireless adapter
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
replaced defunct network adapter with usb wireless adapter
I've dusted off an old pc with an eye to installing Linux on it. It had a non-working internal network adapter card which I replaced with a usb wireless adapter. The usb wireless adapter came with drivers for Windows, Mac and Linux but since I was in Windows, those were the drivers I installed.
I haven't installed any Linux distro as I'm still looking for the right one for me but none of the trial distros I've used recognize the usb adapter.
Is there anything I can do to access the internet and home network while I decide on a distro?
I'm totally new at Linux & know nothing,(yet)so, if you can help, please give very specific, from the ground up, instructions!!
Might start by booting to some distro and telling us which one. Then issue a command line command. Command in terminal or from a ctrl-alt number screen.
lspci
should report what the pc might know is in the usb ports.
I've attached a copy of screen I got following your instructions (thanks for being so specific, I know it's probably tiresome when we don't know even the basics but, like anything, it has to be learned)
I don't know what I'm looking for here but I do see the internal network adapter that doesn't work. I disabled it hoping Ubuntu wouldn't try to use it but that evidently didn't work.
As you can see, this is a trial of Ubuntu 18.04. I'm also trialing Mint and Zorin and they don't connect with the usb adapter either.
Would it help to install the Linux drivers on Windows or would that just mess up everything?
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
You don't have to try different distro's. Ubuntu and Mint usually contain the most complete collection of drivers.
It is clear that Ubuntu is not aware that there is an additional network interface. The question now is why.
Now to get some more information, remove the USB network adapter. Open the terminal screen again, and issue this command:
Code:
tail -f /var/log/syslog
If you get an authorization error, precede the command with sudo.
The last lines in that log file will appear on screen now, but you will not return to the command prompt. Instead, everything which is added to the log file will immediately show up on the screen.
Now plug in the USB network adapter again. You'll see that the computer detects the insertion, and you'll also see what Ubuntu concludes what device it is and what it should do with it.
After everything is quit yet (expect 10-20 lines and 30 seconds time) close this command again with CTRL-C
Thanks so much for the further instructions. I wasn't using Ubuntu or Mint for the drivers but just trying different distros to see which would work best for me.
OK, did what you asked early this morning and took photos of the different screens. I had to leave for an appointment before I got it all organized and have forgotten the order of it all! I'm posting the different photos based on the order I took them so hope all this makes sense (image 1, image 2, image 3, and the 4th after the usb adapter was plugged in).
Both internal and usb seem to be Realtek so the solution would most likely fix both. I don't think that the distro's you selected had the drivers by default. Realtek has offered linux drivers for a very long time.
I have the needed drivers on the installation cd that came with the usb adapter but I'm not savvy enough with Linux to install them to a trial of any Linux distro.
I haven't read your link yet so maybe it can help, hope so but I guess I can decide which distro I want, install it, then install the drivers.
The internal adapter wouldn't work with anything and was one of the reasons I replaced that computer when I did.
Again, thanks for taking the time to help with this problem. I'm going now to check out your link.
The bad news is that it seems no driver is available in Ubuntu. The best what I found is this instruction, but it might be overwhelming for a first-time user.
I don't know what your situation is, but purchasing a known supported adapter might be the easiest way. Once you have that up and running you could even try and download the RTL8811AU driver and see if you can compile. Experimenting on a computer without network is very challenging.
Thanks, that adapter was cheap enough but I don't have any idea about which adapter has Ubuntu drivers! I knew switching to Linux wasn't going to be a walk in the park but I almost feel defeated before I start now.
Well, I might be really old but I'm stubborn - will keep trying to make Linux work! I really hate Windows. Will do some searching and see what I can find!
Really appreciate you pointing me in the right direction!
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I have used this one in the past: goo.gl/poSKJm. I am surprised it is still available, often good things are discontinued before you can buy them.
Switching to Linux might not be a walk in the park as you say, but that is only true for the conversion. After some time you'll see that Linux is actually less complicated than Windows. Documentation is more easily available and less crap is published so that it is easier to search for solutions. Linux is less complex by design, and the aim is to be more open and transparant.
You have been an outstanding help and while I decided not to purchase another usb wireless adapter, following your links eventually led me to the proper drivers to fix the internal adapter so I'm now able to access the internet with all the distros I'm trying.
I had downloaded what I was told were the right drivers before but they didn't fix my connection and I thought it was the adapter itself that wasn't working.
I'm very grateful for all the help here and now I need to decide on a distro and install it! Glad to know Linux gets easier and is less complicated! I did start a basic Linux class so hope to learn enough not to be discouraged until I'm comfortable with it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.