Wifi suddenly stopped working after reboot

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
josephemorgan91

Wifi suddenly stopped working after reboot

Post by josephemorgan91 »

Today I was at school working on my laptop, everything was working fine. I closed the lid, came home, opened the lid, rebooted into windows to play some games, rebooted into linux to do some homework and I have no wifi. When I play games I'm plugged into ethernet, so I was when I rebooted back into LM, but I unplugged it pretty quickly as it's annoying.

The wifi connection box shows all the right available networks, but I'm unable to connect to anything. It says 'connecting,' then the grey wifi icon changes to the gray ethernet icon for a second, then changes back to grey wifi with the 3 dots and I get a notification saying I've been disconnected. This happens on various networks that I've tested it with. I've also noticed some really weird behavior that may or may not be connected. At fist it was jut my wireless mouse being unresponsive, freezing in one spot and staying there. I just thought my battery was dying so I tried to use the trackpad, and the same thing is happening. Sometimes a key will get sticky as I'm typing, and input a few dozen times before it stops. What's peculiar is that it only seems to act like that when my wifi is on and I'm trying to connect to a network. Right now I've got the ethernet cable plugged in and it's behaving fine.

here's the output of mintWifi.py:

Code: Select all

-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Wireless 7260 (rev 63)
      ==> PCI ID = 8086:08b1 (rev 63)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr e0:db:55:b2:fd:5e  
          inet addr:10.0.0.22  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e2db:55ff:feb2:fd5e/64 Scope:Link
          inet6 addr: 2601:204:c000:d480::2/128 Scope:Global
          inet6 addr: 2601:204:c000:d480:1d3b:d316:6:a661/64 Scope:Global
          inet6 addr: 2601:204:c000:d480:e2db:55ff:feb2:fd5e/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2050 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1644 errors:0 dropped:47 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:623497 (623.4 KB)  TX bytes:366616 (366.6 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2993 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2993 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:231996 (231.9 KB)  TX bytes:231996 (231.9 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: Operation not possible due to RF-kill
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		75.75.75.75
Address:	75.75.75.75#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.239.41
Name:	google.com
Address: 74.125.239.34
Name:	google.com
Address: 74.125.239.38
Name:	google.com
Address: 74.125.239.39
Name:	google.com
Address: 74.125.239.36
Name:	google.com
Address: 74.125.239.35
Name:	google.com
Address: 74.125.239.32
Name:	google.com
Address: 74.125.239.40
Name:	google.com
Address: 74.125.239.37
Name:	google.com
Address: 74.125.239.33
Name:	google.com
Address: 74.125.239.46

➜  ~  sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Wireless 7260 (rev 63)
      ==> PCI ID = 8086:08b1 (rev 63)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr e0:db:55:b2:fd:5e  
          inet6 addr: fe80::e2db:55ff:feb2:fd5e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2099 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1686 errors:0 dropped:47 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:629897 (629.8 KB)  TX bytes:374501 (374.5 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2993 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2993 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:231996 (231.9 KB)  TX bytes:231996 (231.9 KB)

wlan0     Link encap:Ethernet  HWaddr 0c:8b:fd:0a:39:f8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
Server:		75.75.75.75
Address:	75.75.75.75#53

Non-authoritative answer:
Name:	google.com
Address: 216.58.192.46
You'll notice that I ran it twice, first with the ethernet cable plugged in and wifi off, then with ethernet disabled and wifi enabled. I've tried rebooting back into windows, internet is working fine there. I've done a couple full shutdowns, checked my bios for anything that may be locking the wifi off. I did update with apt-get while I was at school today, so that may have something to do with it. I'm also concerned that rebooting from windows into LM with the ethernet cable plugged in could have caused a problem, though I've tried everything I can think of to reverse it and nothing is making a difference.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13842
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi suddenly stopped working after reboot

Post by JeremyB »

Post the result of

Code: Select all

rfkill list all
User avatar
Pjotr
Level 24
Level 24
Posts: 20062
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wifi suddenly stopped working after reboot

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
josephemorgan91

Re: Wifi suddenly stopped working after reboot

Post by josephemorgan91 »

Okay guys, thanks a ton for the reply but I made the problem slightly worse. I learn best from experimenting, and I'm not completely averse to backing up and reinstalling mint, so it's not a huge deal but it may have made my problem more difficult to fix. dmesg showed that wifi was continually failing to initialize, I wish I copied the output for you guys so you could take a look at it. I downloaded the particular iwlwifi ucode file for my wireless adapter, but couldn't find any decent instructions for how exactly to install it. I saw that there were a ton of other iwlwifi ucode files in my /lib/firmware directory, so I deleted those and copied the new one into that directory. Like I said, I like to experiment haha. As you can problably guess, linux mint no longer recognizes that my laptop has a wlan0. lspci still shows the wireless card, but ifconfig only shows eth0 and l0. Any help would still be greatly appreciated.
josephemorgan91

Re: Wifi suddenly stopped working after reboot

Post by josephemorgan91 »

also, I've got the output of inxi for you:

Code: Select all

1.3 Direct Rendering: Yes
Audio:     Card-1: Intel Lynx Point-LP HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Card-2: Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 
           Sound: Advanced Linux Sound Architecture ver: k4.2.0-040200-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 
           driver: r8169 ver: 2.3LK-NAPI port: 3000 bus-ID: 03:00.1
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel Wireless 7260 bus-ID: 02:00.0
           IF: N/A state: N/A mac: N/A
Drives:    HDD Total Size: 240.1GB (7.4% used) 1: id: /dev/sda model: SPCC_Solid_State size: 240.1GB 
Partition: ID: / size: 55G used: 17G (32%) fs: ext4 ID: swap-1 size: 1.06GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 47.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 197 Uptime: 10:10 Memory: 917.4/7882.7MB Runlevel: 2 Gcc sys: 4.8.4 
           Client: Shell (zsh 5.0.2) inxi: 1.9.17
JeremyB
Level 21
Level 21
Posts: 13842
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi suddenly stopped working after reboot

Post by JeremyB »

Code: Select all

sudo apt-get install --reinstall linux-firmware
Reboot and wifi should work again
josephemorgan91

Re: Wifi suddenly stopped working after reboot

Post by josephemorgan91 »

Thank you so much! Worked perfectly, on wifi now. Fixed my original issue as well, so I guess deleting the iwlwifi ucode files and reinstalling them was one solution haha. Thanks again!
Locked

Return to “Networking”