[User created issue] Wifi No Connection Available

I am sorry. I'm new to Linux. I have a problem not being able to connect to any wifi. not even wifi detected.

I can now connect via LAN, and USB Tethering, and I can also create a Hotspot. Previously I always used LAN, because I moved house, so there was only Wifi. I realized that wifi is not detected after I managed to create a hotspot using GitHub - lakinduakash/linux-wifi-hotspot: Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10). .

When I run

sudo iwlist wlo1 scan

the result is

wlo1      Interface doesn't support scanning : Network is down

I try run

sudo ifconfig wlo1 up

but still not working

this is the result of ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether b4:b6:86:e8:e8:92 brd ff:ff:ff:ff:ff:ff
altname enp3s0
3: enp0s20f0u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
0
link/ether 46:95:eb:a2:8a:78 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.106/24 brd 192.168.50.255 scope global dynamic noprefixroute enp0s20f0u1
valid_lft 2956sec preferred_lft 2956sec
inet6 fe80::d2a5:59cb:4c38:7fad/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 74:40:bb:83:6d:29 brd ff:ff:ff:ff:ff:ff
altname wlp4s0

this result garuda-inxi

System:
Kernel: 5.18.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6b198665-886a-4bab-938e-9ea3e5718fc3 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP Pavilion Notebook v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 84F8 v: 08.11 serial: <superuser required> UEFI: AMI
v: F.31 date: 08/10/2021
Battery:
ID-1: BAT0 charge: 52.7 Wh (100.0%) condition: 52.7/52.7 Wh (100.0%)
volts: 12.2 min: 11.6 model: HP Primary type: Li-ion serial: N/A
status: full
CPU:
Info: model: Intel Core i5-8300H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158)
stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 3920 high: 3997 min/max: 800/4000 scaling:
driver: intel_pstate governor: powersave cores: 1: 3900 2: 3900 3: 3878
4: 3901 5: 3900 6: 3901 7: 3984 8: 3997 bogomips: 36799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e9b
class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard
driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Pascal process: TSMC 16nm
built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16
ports: active: none off: HDMI-A-2 empty: none bus-ID: 01:00.0
chip-ID: 10de:1c8d class-ID: 0300
Device-3: Chicony HP Wide Vision HD type: USB driver: uvcvideo
bus-ID: 1-6:5 chip-ID: 04f2:b56d class-ID: 0e02
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
s-diag: 1052mm (41.43")
Monitor-1: HDMI-A-2 mapped: HDMI-0 note: disabled pos: primary,right
model: LG (GoldStar) ULTRAGEAR serial: <filter> built: 2022 res: 1920x1080
hz: 144 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 640x480
Monitor-2: eDP-1 mapped: eDP-1-1 pos: primary,left
model: ChiMei InnoLux 0x15e3 built: 2015 res: 1920x1080 hz: 60 dpi: 142
gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
modes: 1920x1080
OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
driver: snd_hda_intel bus-ID: 1-3:23 v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl chip-ID: 0d8c:0012
bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
Device-3: C-Media USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.18.8-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.53 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 03:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Hewlett-Packard driver: rtw_8822be v: N/A modules: rtw88_8822be
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:b822 class-ID: 0280
IF: wlo1 state: down mac: <filter>
IF-ID-1: enp0s20f0u1 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
bus-ID: 1-7:7 chip-ID: 0bda:b00b class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 1 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 6060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A
class-ID: 0104
Drives:
Local Storage: total: 1.84 TiB used: 672.31 GiB (35.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Transcend model: TS1TMTE220S
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 42A7T36A
temp: 45.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: RSM7
scheme: GPT
Partition:
ID-1: / raw-size: 228.87 GiB size: 228.87 GiB (100.00%)
used: 94.9 GiB (41.5%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.6 MiB (26.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 228.87 GiB size: 228.87 GiB (100.00%)
used: 94.9 GiB (41.5%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-4: /var/log raw-size: 228.87 GiB size: 228.87 GiB (100.00%)
used: 94.9 GiB (41.5%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-5: /var/tmp raw-size: 228.87 GiB size: 228.87 GiB (100.00%)
used: 94.9 GiB (41.5%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.44 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 62.0 C pch: 70.0 C mobo: N/A gpu: nvidia
temp: 58 C
Fan Speeds (RPM): N/A
Info:
Processes: 353 Uptime: 50m wakeups: 2 Memory: 15.44 GiB
used: 7.57 GiB (49.0%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: apt: 0
pacman: 1710 lib: 451 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-04-29
Last full system update: 2022-07-03
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

Hi there, welcome to the forum!
I think you could try changing your WiFi driver as explained in this post.

4 Likes

Was it working before then?

If so, revert the changes and make sure it’s still working before changing anything else, then you can decide whether the linux-wifi-hotspot software is reliable enough to spend the time trying to make it work (if it even works with your hardware).

1 Like

I have already tried this, but still not working.

yes, it worked before. I tried to restore using BTRFS Assistant, but the snapper can only recover after 29/06/22. as far as I remember the wifi was not working before that date. and I’ve also tried recovering to 29/06/22 and it still doesn’t work.

Have you tested the linux-lts kernel yet?

If not, please do so.

i just tried to change the kernel. but still not working

Are you sure you booted into the LTS kernel?

1 Like

yes

╭─arfan21@HEEN in ~
╰─λ mhwd-kernel -li
Currently running: 5.15.52-1-lts (linux-lts)
The following kernels are installed in your system:
local/linux-lts 5.15.52-1
local/linux-zen 5.18.9.zen1-1

now, I can use wifi.
install

sudo pacman -S linux-firmware

and previously in /etc/NetworkManager/NetworkManager.conf
there is

[keyfile]
unmanaged-devices=interface-name:wlo1

after i removed it and restarted networkmanager. I can connect to wifi again

That would appear to be reverting changes you have made to your system rather than fixes to what Garuda provided... But, it's good you found the reason things broke for you.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.