I'm a newbie who recently installed Linux Mint 21 on an old HP 6530b laptop. It's mostly working fine except (among a few other things) it won't detect my home WiFi (or any other WiFi SSIDs). Searching on this forum for a solution, I found the thread: [Solved] Linux Mint Can't Detect WiFi Connections. I tried each of the steps suggested there but haven't been successful. Here (in order) are the terminal commands I copied, tried and the results:
1. Connected laptop to Internet via Ethernet cable. Successful connection.
2. ~$ sudo apt update
[sudo] password:
Ign:1
http://packages.linuxmint.com vanessa InRelease
Hit:2
http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3
http://packages.linuxmint.com vanessa Release
Get:4
http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Get:5
http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:7
http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Fetched 324 kB in 1s (341 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
~$ apt list --upgradable
Listing... Done
firefox-locale-en/vanessa 108.0.1+linuxmint1+vanessa amd64 [upgradable from: 108.0+linuxmint1+vanessa]
firefox/vanessa 108.0.1+linuxmint1+vanessa amd64 [upgradable from: 108.0+linuxmint1+vanessa]
python3-tz/jammy-updates,jammy-updates 2022.1-1ubuntu0.22.04.0 all [upgradable from: 2022.1-1]
3. ~$ sudo apt install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bcmwl-kernel-source is already the newest version (6.30.223.271+bdcom-0ubuntu8).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4. ~$ inxi -Nn
Network:
Device-1: Intel WiFi Link 5100 driver: iwlwifi
IF: wls1 state: down mac: 00:26:fc:de:4f:69
Device-2: Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express
driver: tg3
IF: ens5 state: up speed: 1000 Mbps duplex: full mac: d8:d3:85:08:8b:99
5. ~$ rfkill list
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
6. ~$ iwconfig
lo no wireless extensions.
ens5 no wireless extensions.
wls1 IEEE 802.11 ESSID
ff/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr
ff Fragment thr
ff
Power Management
ff
7. ~$ lsmod
Module Size Used by
zfs 3825664 6
snd_hda_codec_hdmi 77824 1
zunicode 348160 1 zfs
zzstd 491520 1 zfs
zlua 163840 1 zfs
snd_hda_codec_analog 20480 1
zavl 20480 1 zfs
icp 323584 1 zfs
snd_hda_codec_generic 102400 1 snd_hda_codec_analog
ledtrig_audio 16384 1 snd_hda_codec_generic
zcommon 106496 2 zfs,icp
znvpair 98304 2 zfs,zcommon
spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl
usblp 28672 0
snd_hda_intel 53248 3
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 143360 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi 20480 0
wl 6467584 0
snd_seq_midi_event 16384 1 snd_seq_midi
iwldvm 299008 0
mac80211 1249280 1 iwldvm
libarc4 16384 1 mac80211
snd_rawmidi 49152 1 snd_seq_midi
iwlwifi 450560 1 iwldvm
coretemp 24576 0
hp_wmi 20480 0
sparse_keymap 16384 1 hp_wmi
snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event
input_leds 16384 0
platform_profile 16384 1 hp_wmi
joydev 32768 0
wmi_bmof 16384 0
serio_raw 20480 0
cfg80211 974848 4 wl,iwldvm,iwlwifi,mac80211
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 2 snd_seq,snd_pcm
snd 106496 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_code c_analog,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
tpm_infineon 20480 0
hp_accel 28672 0
mac_hid 16384 0
lis3lv02d 28672 1 hp_accel
sch_fq_codel 20480 2
msr 16384 0
parport_pc 49152 1
ppdev 24576 0
lp 28672 0
parport 69632 3 parport_pc,lp,ppdev
ramoops 32768 0
reed_solomon 28672 1 ramoops
pstore_blk 16384 0
pstore_zone 32768 1 pstore_blk
efi_pstore 16384 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 49152 2
btrfs 1556480 0
blake2b_generic 20480 0
xor 24576 1 btrfs
zstd_compress 229376 1 btrfs
raid6_pq 122880 1 btrfs
libcrc32c 16384 1 btrfs
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
i915 3104768 13
hid_generic 16384 0
usbhid 65536 0
i2c_algo_bit 16384 1 i915
hid 151552 2 usbhid,hid_generic
ttm 86016 1 i915
drm_kms_helper 311296 1 i915
syscopyarea 16384 1 drm_kms_helper
psmouse 176128 0
sysfillrect 20480 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
firewire_ohci 49152 0
fb_sys_fops 16384 1 drm_kms_helper
cec 61440 2 drm_kms_helper,i915
ahci 45056 2
rc_core 65536 1 cec
libahci 45056 1 ahci
firewire_core 81920 1 firewire_ohci
lpc_ich 28672 0
crc_itu_t 16384 1 firewire_core
tg3 196608 0
drm 622592 6 drm_kms_helper,i915,ttm
wmi 32768 2 hp_wmi,wmi_bmof
video 61440 1 i915
8. ~$sudo modprobe wl
(returns user prompt; no error message)
9. ~$ mokutil --sb-state
EFI variables are not supported on this system
10. ~$ sudo apt -get install mokutil
E: Command line option 'g' [from -get] is not understood in combination with the other options.
11. ~$ sudo mokutil --disable-validation
EFI variables are not supported on this system
12. ~$ sudo modprobe wl
(as in Step 7: returns user prompt; no error message)
13 ~$ uname -r
5.15.0-56-generic
14. ~$ rfkill list
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
Now in the previous thread (mentioned at the top) the questioner finally solved the problem by disabling Secure Boot in the BIOS. However, I have searched through my laptop's BIOS and cannot find an option for enabling or disabling Secure Boot. The laptop does have a UEFI option, but after I installed Linux in the laptop (on a new SSD and no other OS on it), I set it up to legacy boot with help from this forum. That thread is: [Solved] Old HP laptop Won't Boot from Newly Installed Mint 21 Cinnamon on New SSD in BIOS mode.
I apologize for the length of this post, but I thought others with knowledge of this kind of issue might understand more about it from the output above than I do.
Thanks in advance.