Wireless network randomly unavailable

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
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Wireless network randomly unavailable

Post by noobcoder »

Hello guys,

Over the last few weeks my wireless network has been randomly shutting off and showing up as unavailable. Restarting my laptop usually works (although within the past few days I've needed to do it more than once to get it working). Its frequency was tolerable until a week ago, but it's not now. I did try solutions for the related questions on this forum but they didn't work for me.

Code: Select all

inxi -Fxz

System:
  Host: TUF-Gaming-FX505DT-FX505DT Kernel: 5.0.0-32-generic x86_64 
  bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.5 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: ASUSTeK product: TUF Gaming FX505DT_FX505DT v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: FX505DT v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: FX505DT.310 date: 12/24/2019 
Battery:
  ID-1: BAT0 charge: 29.0 Wh condition: 37.8/48.1 Wh (79%) model: FX50442 
  status: Discharging 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen rev: 1 L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 33534 
  Speed: 1850 MHz min/max: 1400/2100 MHz Core speeds (MHz): 1: 1222 2: 1223 
  3: 1227 4: 1222 5: 1223 6: 1256 7: 1271 8: 1298 
Graphics:
  Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 460.32.03 
  bus ID: 01:00.0 
  Device-2: AMD Picasso vendor: ASUSTeK driver: amdgpu v: kernel 
  bus ID: 05:00.0 
  Display: x11 server: X.Org 1.20.4 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,nouveau,nvidia,vesa 
  resolution: 1920x1080~120Hz 
  OpenGL: renderer: AMD RAVEN (DRM 3.27.0 5.0.0-32-generic LLVM 10.0.0) 
  v: 4.6 Mesa 20.0.8 direct render: Yes 
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 
  Device-2: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel 
  bus ID: 05:00.6 
  Sound Server: ALSA v: k5.0.0-32-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Realtek vendor: AzureWave driver: rtw_pci v: N/A port: d000 
  bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 136.95 GiB (28.7%) 
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB 
Partition:
  ID-1: / size: 467.96 GiB used: 136.95 GiB (29.3%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 60.6 C mobo: N/A gpu: amdgpu temp: 60 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 347 Uptime: 10m Memory: 7.29 GiB used: 3.68 GiB (50.5%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 clang: 6.0.0-1ubuntu2 
  Shell: bash v: 4.4.20 inxi: 3.0.32 

Code: Select all

rfkill list

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Attachments
WhatsApp Image 2021-03-27 at 11.03.56 PM.jpeg
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.
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

What does this show:

Code: Select all

 iwconfig 
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

You're also using the unsupported 5.0 kernel. Update to the 5.4 kernel.
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

So my connection is currently working but here's the output

Code: Select all

iwconfig
enp2s0 no wireless extensions.

wlp4s0 IEEE 802.11 ESSID:"wifihub"
Mode:Managed Frequency:5.22 GHz Access Point: A8:DA:0C:1E:95:B4
Bit Rate=6.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:181 Missed beacon:0

lo no wireless extensions.

sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

Ok, see if the 5.4 kernel helps.
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

Hi, so I did update to 5.4 but upon doing that, my wifi was permanently unavailable so I downgraded back to 5.0.
Attachments
forum.png
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

That's strange, not sure why the 5.4 kernel would be a problem on that newer machine. You could try the 4.15 kernel. Or, maybe try a live session of Mint 20.1 & see if wifi works better for you there on the 5.4.
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

Another thought, be sure secure boot is off. Check:

Code: Select all

 mokutil --sb-state 
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

It is, also I installed virtualbox recently, could that be causing any issue by any chance ?
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

sleeper12 wrote: Sun Mar 28, 2021 1:01 am That's strange, not sure why the 5.4 kernel would be a problem on that newer machine. You could try the 4.15 kernel. Or, maybe try a live session of Mint 20.1 & see if wifi works better for you there on the 5.4.

I'll try that, thank you.
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

noobcoder wrote: Sun Mar 28, 2021 1:15 am It is, also I installed virtualbox recently, could that be causing any issue by any chance ?
I'm not sure about that. Are you dual booting with Windows?
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

No, windows in VM though
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

Ok, I'm not familiar enough to know if that would be a problem.
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

I know that in dual booting with Windows, fast boot & fast startup can cause wifi problems. Whether that means anything here, I don't know.
noobcoder
Level 1
Level 1
Posts: 7
Joined: Sat Mar 27, 2021 7:36 am

Re: Wireless network randomly unavailable

Post by noobcoder »

sleeper12 wrote: Sun Mar 28, 2021 1:01 am That's strange, not sure why the 5.4 kernel would be a problem on that newer machine. You could try the 4.15 kernel. Or, maybe try a live session of Mint 20.1 & see if wifi works better for you there on the 5.4.
Ok the 4.15 kernel didn't work for me, it just showed a black screen.
20.1 had the same issue for wireless as in Mint 19
Also, my driver manager just shows this.
Attachments
driver.png
User avatar
AZgl1800
Level 20
Level 20
Posts: 11173
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Wireless network randomly unavailable

Post by AZgl1800 »

Not sure if this has any effect on the OP's problem or not,
but with my WiFi Hotspots, they go to sleep after a period of time.

I have to open a new tab and look for a different URL,
and then it wakes up, and all is well provided we keep accessing it regularly.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
sleeper12
Level 21
Level 21
Posts: 14563
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless network randomly unavailable

Post by sleeper12 »

Locked

Return to “Networking”