LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Wifi and Bluetooth Not Working After Shutdown (https://www.linuxquestions.org/questions/linux-mint-84/wifi-and-bluetooth-not-working-after-shutdown-4175725376/)

gentisle 05-24-2023 02:05 PM

Wifi and Bluetooth Not Working After Shutdown
 
I have an Asus ROG GL752VW with Linuxmint 20.3 Cinnamon. Everything has been fine since installing last year. All updates applied including kernels. Speaking of which, I just installed 5.15.0.72 a few days ago. It's an Intel 7265NGW, so the iwlwifi driver. Ethernet works fine.

Had been using the computer for a while the other day. Decided to connect via RJ-45 for some reason, and if my memory is working well, I also used the wifi simultaneouly. Shutdown at the end of the day, and as soon as I booted up this AM, no wifi, and Bluetooth will not connect automatically when i turn on my headset (previously it did).
So a few days ago when everything was fine, I updated the kernel, and I was using Ethernet for my connection. Those are the only things I remember doing differently. However, I tried reverting the kernel through the update manager to the previous one, but still no wifi.

Never used secure boot; so off.


Things I've tried and info:
1.
[CODE]inxi -Fxxxrz[CODE] =
Network: Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: e000 bus ID: 02:00.0 chip ID: 8086:095a
IF: wlan0 state: down mac: <filter>
2.
Code:

rfkill list && iwconfig && mokutil --sb-state
=
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=-2147483648 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off

tun0 no wireless extensions.

SecureBoot disabled
3.
After
Code:

ifconfig wlan0 up
, it still says it's
Code:

down
when using inxi.
4.
When putting the computer into airplane mode via Function + F2, the Bluetooth icon will put a red circle w/white 'x' on the BT icon in the taskbar. So I have not disabled via keyboard.
5.
Also, I wondered if the hardware was OK, so I booted my trusty SystemRescueCD USB stick, and yes, the wifi works fine. So something went awry in my Linuxmint config.
6.
Code:

lspci -nnk | grep -iA3 net
=

02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
--
03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8169
Kernel modules: r8169
7.
I looked at the power save:
Code:

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[connection]
wifi.powersave = 2

It had been 3, but I changed to 2, but still no wifi.
8.
Code:

sudo tee /etc/modprobe.d/iwlwifi_opt.conf<<<"options iwlwifi 11n_disable=8 swcrypto=1"
sudo tee /etc/modprobe.d/iwlmvm_opt.conf<<<"options iwlmvm power_scheme=1"

rebooted

Still no wifi
9.a.
Code:

nmcli r wifi
enabled
9.b.
Code:

nmcli d wifi list
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
9.c.
nmcli d wifi connect mynet
Error: No network with SSID 'mynet' found.
10.
Code:

sudo iwconfig wlan0
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=-2147483648 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
11.
Code:

sudo iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down

12.
Code:

sudo dhclient -v wlan0
Listening on LPF/wlan0/4c:34:88:d7:d6:38
Sending on LPF/wlan0/4c:34:88:d7:d6:38
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0xdbe42731)...

13.
Code:

sudo ip link set wlan0 up
14.
Code:

sudo ifup wlan0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/4c:34:88:d7:d6:38
Sending on LPF/wlan0/4c:34:88:d7:d6:38
Sending on Socket/fallback
Created duid "\000\001\000\001,\001\030\322L4\210\327\3268".
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0xfa00780d)

Is there some .conf file that I need to check? Can the driver file be corrupt? I'm lost. Thanks.

rokytnji 05-25-2023 02:51 AM

Not using Mint or systemd here.

All I can think of . Assuming

You have it in cinnamon startup.

Code:

dmesg | grep Bluetooth
Code:

dmesg | grep firmware
Code:

dmesg | grep wlan0
Good luck.

gentisle 05-25-2023 10:08 AM

Thanks, I'll need it.

Code:

sudo cat /var/lib/NetworkManager/NetworkManager.state
yielded:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

yvesjv 05-25-2023 01:47 PM

Just to be sure, you do not have a dual boot with WinBlows?
Seen it happen before where booting into windows, enabling the wireless and rebooting into Linux finds the wnic stopped working.

gentisle 05-25-2023 02:11 PM

Single boot Linux Mint only. Sorry everyone, I forgot to mention that as I had seen several posts about it being a problem.


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