LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-30-2019, 09:01 AM   #1
TiffinTime
LQ Newbie
 
Registered: Sep 2019
Posts: 7

Rep: Reputation: Disabled
How can I restore Wifi driver without internet access?


Fedora 30
My system no longer recognises the Wifi adapter. I don't have a wired network port on the laptop in question.

How it happened: The system claimed it had over 400 pending updates. I decided to install them. During the update process the internet connection was lost and the system no longer sees the Wifi adapter.

I can still access the data and have the option of reinstalling from scratch but I'd rather use this as a learning experience and try and fix it in place.

Possibly related: This was a dual boot system with Windows 10. After performing these updates I tried to boot into Windows 10 (selecting it in Grub) only to find the Windows bootloader has been deleted (I don't know when this happened as it has been a few weeks since I booted into Windows).
 
Old 09-30-2019, 09:19 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
in such cases the first thing to do is: check logfiles like /var/log/*
 
Old 09-30-2019, 10:13 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by TiffinTime View Post
Fedora 30
My system no longer recognises the Wifi adapter. I don't have a wired network port on the laptop in question.

How it happened: The system claimed it had over 400 pending updates. I decided to install them. During the update process the internet connection was lost and the system no longer sees the Wifi adapter.

I can still access the data and have the option of reinstalling from scratch but I'd rather use this as a learning experience and try and fix it in place.

Possibly related: This was a dual boot system with Windows 10. After performing these updates I tried to boot into Windows 10 (selecting it in Grub) only to find the Windows bootloader has been deleted (I don't know when this happened as it has been a few weeks since I booted into Windows).
No wired port? What kind of laptop is it, because it's fairly odd to not have a wired connection, or at least a dongle to enable one. You may want to try a different USB wifi adapter, (if you have access to one), to see if you can get online with different hardware. Restarting the update may fix/re-install the missing firmware/drivers/modules that the failed update was in process of removing.

How did you do the update? Not sure about Fedora anymore, but I know for openSUSE, it downloads all the packages first, then proceeds to install them. A stopped update leaves the packages on the system, and can be restarted without a conenction. Can you try running "sudo dnf upgrade", to see what happens?
 
Old 09-30-2019, 10:37 AM   #4
TiffinTime
LQ Newbie
 
Registered: Sep 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
No wired port? What kind of laptop is it, because it's fairly odd to not have a wired connection, or at least a dongle to enable one.
A small thin one Ethernet ports are quite bulky. I don't own a dongle unfortunately.

Quote:
Originally Posted by TB0ne View Post
You may want to try a different USB wifi adapter, (if you have access to one)
Unfortunately I don't or I would have tried it.

Quote:
Originally Posted by TB0ne View Post
How did you do the update? Not sure about Fedora anymore, .... Can you try running "sudo dnf upgrade", to see what happens?
I think it was dnfdragora (the dnf GUI) that suggested the updates. It's been a few weeks as I didn't have time to do anything about it when it happened. I will try your suggestion, thank you.
 
Old 09-30-2019, 10:47 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by TiffinTime View Post
A small thin one Ethernet ports are quite bulky. I don't own a dongle unfortunately.
...and does the 'small thin one' have a brand/model associated with it???
Quote:
Unfortunately I don't or I would have tried it.
May want to run to a store and grab one...they're usually about $20 or so, and you can probably return it if you don't want to keep it and/or it doesn't work.
Quote:
I think it was dnfdragora (the dnf GUI) that suggested the updates. It's been a few weeks as I didn't have time to do anything about it when it happened. I will try your suggestion, thank you.
Sure...if the packages are on the system, it may complete...but again, not sure for Fedora. Won't hurt to try.
 
Old 09-30-2019, 01:41 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by TiffinTime View Post
Fedora 30
My system no longer recognises the Wifi adapter. I don't have a wired network port on the laptop in question.

How it happened: The system claimed it had over 400 pending updates. I decided to install them. During the update process the internet connection was lost and the system no longer sees the Wifi adapter.

I can still access the data and have the option of reinstalling from scratch but I'd rather use this as a learning experience and try and fix it in place.

Possibly related: This was a dual boot system with Windows 10. After performing these updates I tried to boot into Windows 10 (selecting it in Grub) only to find the Windows bootloader has been deleted (I don't know when this happened as it has been a few weeks since I booted into Windows).
try creating a menuitem in 40_custom to pick up windows trial and error maybe involved then when you get it to boot, down load your drivers then in linux access them in in windows or put them on a usb stick or how ever you can get to them.


you can use this for a guild line
https://wiki.debian.org/DualBoot/Windows10
https://ihaveabackup.net/article/gru...indows-10-uefi

Last edited by BW-userx; 09-30-2019 at 01:42 PM.
 
Old 10-01-2019, 03:08 PM   #7
TiffinTime
LQ Newbie
 
Registered: Sep 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
After much fidling I believe my wifi adapter driver is installed and working but it appears that NetworkManager can't use it.

I can scan the available networks after issuing:
Code:
ip link set wlp0s20u5i2 up
iwlist scan
However, nmcli d shows:
Code:
wlp0s20u5i2 wifi   unmanaged  --
and issuing
Code:
nmcli d set wlp0s20u5i2 manage yes
nmcli d
just changes it to unavailable:
Code:
wlp0s20u5i2 wifi   unavailable  --
Any attempt to use nmcli to initiate a Wifi connection gives
Code:
Error: No Wi-Fi Device found.
FYI the wifi device driver is rtl8xxxu

Booting on the Fedora Live CD shows the Wifi card does actually work (and its also using the rtl8xxxu driver)
 
Old 10-01-2019, 07:13 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by TiffinTime View Post
Booting on the Fedora Live CD shows the Wifi card does actually work (and its also using the rtl8xxxu driver)
So you can connect from the liveCD ?. That's a bonus for RealTek chipsets. Install inxi (on the liveCD) and let us see "inxi -Fxz".
Try rolling back to one of your prior kernels on the on-disk install.
 
Old 10-02-2019, 03:02 AM   #9
TiffinTime
LQ Newbie
 
Registered: Sep 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
I have fixed it. My assumption that the driver wasn't loading was wrong. As stated above the driver was working (iwlist scan) but NetworkManager wasn't able to use it even though I could see the wifi device with 'nmcli d'

So I did:
Code:
journalctl -u NetworkManager --since "1 hour ago"
and found the line
Code:
(wlp0s20u5i2): 'wifi' plugin not available; creating generic device
A bit of searching suggested the NetworkManager-wifi package was not installed, so I used another machine, went to www.rpmfind.net and searched for NetworkManager-wifi on Fedora. This gave me NetworkManager-wifi-1.16.4-1.fc30.x86_64.rpm. I popped it on a memory stick, mounted it and did:
Code:
dnf install ./NetworkManager-wifi-1.16.4-1.fc30.x86_64.rpm --disablerepo="*"
systemctl restart NetworkManager.service
And the wifi sprang back in to life!

I'm going to work out how to image my system before I issue another update command..
 
Old 10-02-2019, 06:06 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
hm. see post #2. do not assume, but look for some facts, an evidence...
 
Old 10-02-2019, 06:20 AM   #11
TiffinTime
LQ Newbie
 
Registered: Sep 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
hm. see post #2. do not assume, but look for some facts, an evidence...
As a newbie I didn't know what to look for and I don't know my way around the /var/logs directory.

As you can see from my posts, I did use various tools looking for facts which lead me to suspect the Network Manager and I was able to fix the issue so I'm not sure what you're getting at.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 05:37 PM
can't access public wifi BUT wifi works on my router at home rob.rice Linux - Networking 4 05-15-2009 01:59 AM
wifi adhoc without router can't share internet can ping fani Linux - Wireless Networking 3 05-28-2007 06:25 AM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration