Can't Connect to Internet while Installing Linux Mint 21.1

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.
sleeper12
Level 21
Level 21
Posts: 14590
Joined: Thu May 25, 2017 3:22 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sleeper12 »

What does this show now:

Code: Select all

inxi -Nn
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

linuxbeginner77 wrote: Fri May 26, 2023 12:57 pm
sleeper12 wrote: Fri May 26, 2023 12:33 pm Do you have more than one wifi driver installed? Let's see:

Code: Select all

dkms status
When I enter it (cntrl+alt+t) and enter the code* nothing happens. ...I think I tried the driver thing axrusar suggested in the wrong folder initally. So I might've messed something up :| This is what I see:

computer@computer:~$ dkms status
computer@computer:~$
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

sleeper12 wrote: Fri May 26, 2023 1:03 pm What does this show now:

Code: Select all

inxi -Nn
It shows:
<computer@computer:~$ inxi -Nn
Network:
Device-1 Realtek RTL8822BE 802.11a/b/g/n/ac Wifi adapter
driver:rtw_8822be
IF: wlo1 state: down mac: d4:lb:8l:5e:d5:4b>
sleeper12
Level 21
Level 21
Posts: 14590
Joined: Thu May 25, 2017 3:22 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sleeper12 »

Ok, you have the same driver as before. Does this do anything:

Code: Select all

 sudo modprobe -r rtw_8822be && sudo modprobe rtw_8822be && systemctl restart NetworkManager 
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

sleeper12 wrote: Fri May 26, 2023 1:36 pm Ok, you have the same driver as before. Does this do anything:

Code: Select all

 sudo modprobe -r rtw_8822be && sudo modprobe rtw_8822be && systemctl restart NetworkManager 
I entered and it requested my password 2x then showed this:

<computer@computer:~$ sudo modprobe -r rtw_8822be && sudo modprobe rtw_8822be &&systemctl restart NetworkManager
[sudo] password for computer:
computer@computer:~$>
sleeper12
Level 21
Level 21
Posts: 14590
Joined: Thu May 25, 2017 3:22 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sleeper12 »

Only other thing I can think of is try restarting your router/modem & machine.
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

Yeah, its doin the same thing after restarting the router. Are most usb wifi adapters compatible w linux mint?
sleeper12
Level 21
Level 21
Posts: 14590
Joined: Thu May 25, 2017 3:22 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sleeper12 »

I don't know about most, but some are. Have a look here:
viewtopic.php?p=2319190&hilit=usb+wifi+ ... s#p2319190
User avatar
axrusar
Level 7
Level 7
Posts: 1506
Joined: Sat Jan 30, 2021 5:30 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by axrusar »

Did a bit of research online.
This PPA has a lot of stuff for the realtek chips, and it seems that you may need to install the rtw88-dkms
https://launchpad.net/~kelebek333/+arch ... x?batch=75

Easy to do:

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt update
sudo apt install rtw88-dkms
BUT... i tried this in my VM, and there are a bunch of dependencies that need to download in order to install.
That means, you will need to connect the computer to the internet, using another way like an ethernet adapter or if you can tether internet from your cellphone with the USB cable that may also work.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

sleeper12 wrote: Fri May 26, 2023 3:39 pm I don't know about most, but some are. Have a look here:
viewtopic.php?p=2319190&hilit=usb+wifi+ ... s#p2319190
I'll have to check it out. And I wanted to say thanks so much for all your help trying to figure out this one :)
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

axrusar wrote: Fri May 26, 2023 3:55 pm Did a bit of research online.
This PPA has a lot of stuff for the realtek chips, and it seems that you may need to install the rtw88-dkms
https://launchpad.net/~kelebek333/+arch ... x?batch=75

Easy to do:

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt update
sudo apt install rtw88-dkms
BUT... i tried this in my VM, and there are a bunch of dependencies that need to download in order to install.
That means, you will need to connect the computer to the internet, using another way like an ethernet adapter or if you can tether internet from your cellphone with the USB cable that may also work.
Thanks axrusar-I'll have to give this a try!
User avatar
axrusar
Level 7
Level 7
Posts: 1506
Joined: Sat Jan 30, 2021 5:30 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by axrusar »

linuxbeginner77 wrote: Fri May 26, 2023 4:22 pm Thanks axrusar-I'll have to give this a try!
You may want to sign up for an account on that site and try emailing the developer asking what he recommends to install for your rtw_8822be chip.
I got the rtw88-dkms information here: https://tutorialforlinux.com/2022/01/13 ... p-guide/2/
but can't confirm it is accurate.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
sleeper12
Level 21
Level 21
Posts: 14590
Joined: Thu May 25, 2017 3:22 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sleeper12 »

Wild guess, but could Bluetooth be blocking the wifi?:
https://easylinuxtipsproject.blogspot.c ... ml#ID1.4.3
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

axrusar wrote: Fri May 26, 2023 4:35 pm
linuxbeginner77 wrote: Fri May 26, 2023 4:22 pm Thanks axrusar-I'll have to give this a try!
You may want to sign up for an account on that site and try emailing the developer asking what he recommends to install for your rtw_8822be chip.
I got the rtw88-dkms information here: https://tutorialforlinux.com/2022/01/13 ... p-guide/2/
but can't confirm it is accurate.
Ok sweet, thanks for the suggestion! Fingers crossed* Although I'm wondering if it's possible to reinstall LInux all over again? Is that possible?
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

sleeper12 wrote: Fri May 26, 2023 10:10 pm Wild guess, but could Bluetooth be blocking the wifi?:
https://easylinuxtipsproject.blogspot.c ... ml#ID1.4.3
That would be funny after all this...but I don't think it's bluetooth. I'll give it a try though. Do you know if it's possible to reinstall linux? Like start over again?
User avatar
axrusar
Level 7
Level 7
Posts: 1506
Joined: Sat Jan 30, 2021 5:30 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by axrusar »

linuxbeginner77 wrote: Tue May 30, 2023 12:13 pm
Ok sweet, thanks for the suggestion! Fingers crossed* Although I'm wondering if it's possible to reinstall LInux all over again? Is that possible?
You may test booting the laptop with a Mint live USB and see if your adapter works. If it does not, then reinstalling will not be any better i believe.
I would try booting other live distros, like Fedora for example just to check if it works there, and if it does, take a look at what driver is actually being used so you get an idea what works.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
User avatar
sperky7933
Level 1
Level 1
Posts: 4
Joined: Tue Mar 02, 2021 6:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by sperky7933 »

I skipped through this thread, didn't see the method I use, and decided to throw in my two cents as to how I get over this problem with my desktop. It might not apply to the OP, but it's good to know in general. My desktop has always used a Realtek USB wifi adapter for internet access so it has always been an issue when installing linux operating systems on it.
This method requires another computer with a linux system that has internet access and an ethernet adapter on both devices. On the other device, if you're on Cinnamon, go to network connections (advanced network configuration) and select your ethernet adapter. On the IPV4 tab, set the method to "Shared to other computers". Ensure your firewall is off on the computer with internet and plug the ethernet cord into both devices and it should just work like that. I've also used this to transfer files quickly from one device to another, it's pretty cool. I've never seen this method talked about much and I found out about it after many hours of digging around.
linuxbeginner77
Level 1
Level 1
Posts: 39
Joined: Fri May 19, 2023 12:38 pm

Re: Can't Connect to Internet while Installing Linux Mint 21.1

Post by linuxbeginner77 »

linuxbeginner77 wrote: Fri May 26, 2023 12:01 pm
axrusar wrote: Fri May 26, 2023 4:30 am
linuxbeginner77 wrote: Thu May 25, 2023 4:39 pm
Ok, just to make sure I got it straight:

1. Download zip https://github.com/lwfinger/rtw88/archi ... master.zip to a USB
2. Stick USB in laptop (one w/o internet)
3. ctrl+alt+t and enter:

Code: Select all

make
sudo make install
No.. you need to have your terminal open inside the directory with the files extracted.. ctrl + alt + T will open a new terminal in your home folder...
Try this

1. Copy the downloaded zip file to your flash drive
2. Plug the USB drive (one w/o internet)
3. drag the zip file from the USB drive to your desktop
4. Right click the rtw88-master.zip file on your desktop and select "extract here" from the menu. The files will be extracted to a new folder "rtw88-master" (or whatever name you used to save the zip file)
5. open the extracted folder. You will see a bunch of files with one letter extensions (about 236 files)
6. Now right click an empty white space next to any of those files, and chose "Open in Terminal". So your terminal will open inside that folder.
7. Now you can proceed with

Code: Select all

make
sudo make install
(first make... wait until it finishes, and THEN sudo make install after. You should get the Install rtw88 SUCCESS message.
Reboot and cross your fingers. But make sure you also checked what motoryzen suggested too.

If installing this driver does not solve your issue, I am out of ideas sorry.
Thanks for the step-by-step axrusar, it was much easier to follow, yet I didn't have any luck. Here's what I got:

<
Locked

Return to “Beginner Questions”