[SOLVED] Linux Mint 20.1 - Wifi not working

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.
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

[SOLVED] Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi all,
I have a wifi problem with my Asus laptop with Linux Mint 20.1, similar that explained into this topic.
The informations about my PC are the following:

Code: Select all


########## wireless info START ##########

Report from: 05 Jun 2021 09:46 CEST +0200

Booted last: 05 Jun 2021 00:00 CEST +0200

Script from: 25 Jan 2020 03:34 UTC +0000

##### release ###########################

Distributor ID:	Linuxmint
Description:	Linux Mint 20.1
Release:	20.1
Codename:	ulyssa

##### kernel ############################

Linux 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash

##### desktop ###########################

Cinnamon

##### lspci #############################

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
	Kernel modules: wl

03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 06)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:0123]
	Kernel driver in use: r8169

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04ca:2006 Lite-On Technology Corp. Broadcom BCM43142A0 Bluetooth Device
Bus 001 Device 002: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

##### secure boot #######################

This system doesn't support Secure Boot

##### lsmod #############################

asus_nb_wmi            32768  0
asus_wmi               32768  1 asus_nb_wmi
cfg80211              704512  0
sparse_keymap          16384  1 asus_wmi
wmi                    32768  1 asus_wmi
video                  49152  2 asus_wmi,i915

##### interfaces ########################

[/etc/network/interfaces]
source-directory /etc/network/interfaces.d

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    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: enp3s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether <MAC 'enp3s0f2' [IF1]> brd <MAC address>
    inet 192.168.1.108/24 brd 192.168.1.255 scope global dynamic noprefixroute enp3s0f2
       valid_lft 84143sec preferred_lft 84143sec
    inet6 fe80::a211:bea1:5e48:c39b/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

##### iwconfig ##########################

enp3s0f2  no wireless extensions.

lo        no wireless extensions.

##### route #############################

default via 192.168.1.1 dev enp3s0f2 proto dhcp metric 100 
169.254.0.0/16 dev enp3s0f2 scope link metric 1000 
192.168.1.0/24 dev enp3s0f2 proto kernel scope link src 192.168.1.108 metric 100 

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53
options edns0 trust-ad
search Home

##### network managers ##################

Installed:

	NetworkManager

Running:

root         555       1  0 08:57 ?        00:00:02 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp3s0f2
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/2
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL810xE PCI Express Fast Ethernet controller
GENERAL.DRIVER:                         r8169
GENERAL.DRIVER-VERSION:                 --
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         <MAC 'enp3s0f2' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               4 (full)
GENERAL.IP6-CONNECTIVITY:               3 (limited)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.2/net/enp3s0f2
GENERAL.IP-IFACE:                       enp3s0f2
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Connessione via cavo 1
GENERAL.CON-UUID:                       d6e9bf94-e99b-39a8-a772-275e79137eb4
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/3
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     100 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
INTERFACE-FLAGS.UP:                     yes
INTERFACE-FLAGS.LOWER-UP:               yes
INTERFACE-FLAGS.CARRIER:                yes
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.1.108/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 100
IP4.ROUTE[2]:                           dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.1.1
IP4.DOMAIN[1]:                          Home
DHCP4.OPTION[1]:                        dhcp_lease_time = 86400
DHCP4.OPTION[2]:                        domain_name = Home
DHCP4.OPTION[3]:                        domain_name_servers = 192.168.1.1
DHCP4.OPTION[4]:                        expiry = 1622963323
DHCP4.OPTION[5]:                        ip_address = 192.168.1.108
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_domain_name = 1
DHCP4.OPTION[8]:                        requested_domain_name_servers = 1
DHCP4.OPTION[9]:                        requested_domain_search = 1
DHCP4.OPTION[10]:                       requested_host_name = 1
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[13]:                       requested_nis_domain = 1
DHCP4.OPTION[14]:                       requested_nis_servers = 1
DHCP4.OPTION[15]:                       requested_ntp_servers = 1
DHCP4.OPTION[16]:                       requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[17]:                       requested_root_path = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       requested_static_routes = 1
DHCP4.OPTION[20]:                       requested_subnet_mask = 1
DHCP4.OPTION[21]:                       requested_time_offset = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       routers = 192.168.1.1
DHCP4.OPTION[24]:                       subnet_mask = 255.255.255.0
IP6.ADDRESS[1]:                         fe80::a211:bea1:5e48:c39b/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/2
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   d6e9bf94-e99b-39a8-a772-275e79137eb4 | Connessione via cavo 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

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

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/MyWify.nmconnection]] (600 root)
[connection] id=MyWify | type=wifi | permissions=
[wifi] mac-address-blacklist= | ssid=MyWify
[ipv4] method=auto
[ipv6] method=shared

##### Netplan config ####################

[/etc/netplan/1-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager

##### iw reg get ########################

Region: Europe/Rome (based on set time zone)

global
country 00: DFS-UNSET
	(2402 - 2472 @ 40), (N/A, 20), (N/A)
	(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
	(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
	(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

enp3s0f2  no frequency information.

lo        no frequency information.

##### iwlist scan #######################

enp3s0f2  Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

[cfg80211]
filename:       /lib/modules/5.4.0-74-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
depends:        
retpoline:      Y
intree:         Y
name:           cfg80211
vermagic:       5.4.0-74-generic SMP mod_unload modversions 
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/broadcom-sta-dkms.conf]
blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[   18.264694] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2006.hcd failed with error -2
[   18.264701] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-04ca-2006.hcd not found
[   33.846828] r8169 0000:03:00.2 enp3s0f2: Link is Down
[   35.399656] r8169 0000:03:00.2 enp3s0f2: Link is Up - 100Mbps/Full - flow control rx
[   35.399696] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0f2: link becomes ready

########## wireless info END ############
Could you help me to solve the problem?

Thank you in advance.

Regards,
infinito1971
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7143
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Linux Mint 20.1 - Wifi not working

Post by mikeflan »

See if any of the information here helps you out:
viewtopic.php?f=52&t=350426

Is power management turned on as shown in this output:

Code: Select all

iwconfig
Then you might want to turn it off to fix wifi issues:

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 20.1 - Wifi not working

Post by JeremyB »

What happens when you

Code: Select all

sudo modprobe -v wl
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi all and thanks for quick reply.
Further information is provided below:

iwconfig

Code: Select all

enp3s0f2  no wireless extensions.

lo        no wireless extensions.
sudo modprobe -v wl

Code: Select all

insmod /lib/modules/5.4.0-74-generic/updates/dkms/wl.ko 
modprobe: ERROR: could not insert 'wl': Operation not permitted
Regards,
infinito1971
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 - Wifi not working

Post by sleeper12 »

What does this show:

Code: Select all

 mokutil --sb-state 
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi,
here is what is shown:

mokutil --sb-state

Code: Select all

This system doesn't support Secure Boot
Regards,
infinito1971
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 - Wifi not working

Post by sleeper12 »

Try:

Code: Select all

 sudo apt install --reinstall bcmwl-kernel-source 
Reboot
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi sleeper12,
I've tried it several times already.

Regards,
infinito1971
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 20.1 - Wifi not working

Post by JeremyB »

Check BIOS and see if there is a Secure Boot setting, I think the mokutil program isn't correct
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Linux Mint 20.1 - Wifi not working

Post by hglee »

infinito1971 wrote: Sat Jun 05, 2021 6:57 am [ 18.264694] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2006.hcd failed with error -2


Let's try to silence that wireless chipset error:

Open a Terminal window (Ctrl-Alt-T), then copy-and-paste the following command-line...

Code: Select all

cd /lib/firmware/brcm;sudo wget https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM43142A0-04ca-2006.hcd
Reboot.


Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 - Wifi not working

Post by sleeper12 »

JeremyB wrote: Sat Jun 05, 2021 1:48 pm Check BIOS and see if there is a Secure Boot setting, I think the mokutil program isn't correct
I thought it might be secure boot also.
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi hglee,
I ran the command you suggested and now the log is as follows:

Code: Select all


########## wireless info START ##########

Report from: 05 Jun 2021 20:42 CEST +0200

Booted last: 05 Jun 2021 00:00 CEST +0200

Script from: 25 Jan 2020 03:34 UTC +0000

##### release ###########################

Distributor ID:	Linuxmint
Description:	Linux Mint 20.1
Release:	20.1
Codename:	ulyssa

##### kernel ############################

Linux 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash

##### desktop ###########################

Cinnamon

##### lspci #############################

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
	Kernel modules: wl

03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 06)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:0123]
	Kernel driver in use: r8169

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04ca:2006 Lite-On Technology Corp. Broadcom BCM43142A0 Bluetooth Device
Bus 001 Device 002: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

##### secure boot #######################

This system doesn't support Secure Boot

##### lsmod #############################

asus_nb_wmi            32768  0
asus_wmi               32768  1 asus_nb_wmi
cfg80211              704512  0
sparse_keymap          16384  1 asus_wmi
wmi                    32768  1 asus_wmi
video                  49152  2 asus_wmi,i915

##### interfaces ########################

[/etc/network/interfaces]
source-directory /etc/network/interfaces.d

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    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: enp3s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether <MAC 'enp3s0f2' [IF1]> brd <MAC address>
    inet 192.168.1.108/24 brd 192.168.1.255 scope global dynamic noprefixroute enp3s0f2
       valid_lft 86242sec preferred_lft 86242sec
    inet6 fe80::a211:bea1:5e48:c39b/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

##### iwconfig ##########################

enp3s0f2  no wireless extensions.

lo        no wireless extensions.

##### route #############################

default via 192.168.1.1 dev enp3s0f2 proto dhcp metric 100 
169.254.0.0/16 dev enp3s0f2 scope link metric 1000 
192.168.1.0/24 dev enp3s0f2 proto kernel scope link src 192.168.1.108 metric 100 

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53
options edns0 trust-ad
search Home

##### network managers ##################

Installed:

	NetworkManager

Running:

root         546       1  0 20:39 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp3s0f2
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/2
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL810xE PCI Express Fast Ethernet controller
GENERAL.DRIVER:                         r8169
GENERAL.DRIVER-VERSION:                 --
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         <MAC 'enp3s0f2' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               4 (full)
GENERAL.IP6-CONNECTIVITY:               3 (limited)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.2/net/enp3s0f2
GENERAL.IP-IFACE:                       enp3s0f2
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Connessione via cavo 1
GENERAL.CON-UUID:                       d6e9bf94-e99b-39a8-a772-275e79137eb4
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     100 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
INTERFACE-FLAGS.UP:                     yes
INTERFACE-FLAGS.LOWER-UP:               yes
INTERFACE-FLAGS.CARRIER:                yes
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.1.108/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 100
IP4.ROUTE[2]:                           dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.1.1
IP4.DOMAIN[1]:                          Home
DHCP4.OPTION[1]:                        dhcp_lease_time = 86400
DHCP4.OPTION[2]:                        domain_name = Home
DHCP4.OPTION[3]:                        domain_name_servers = 192.168.1.1
DHCP4.OPTION[4]:                        expiry = 1623004805
DHCP4.OPTION[5]:                        ip_address = 192.168.1.108
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_domain_name = 1
DHCP4.OPTION[8]:                        requested_domain_name_servers = 1
DHCP4.OPTION[9]:                        requested_domain_search = 1
DHCP4.OPTION[10]:                       requested_host_name = 1
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[13]:                       requested_nis_domain = 1
DHCP4.OPTION[14]:                       requested_nis_servers = 1
DHCP4.OPTION[15]:                       requested_ntp_servers = 1
DHCP4.OPTION[16]:                       requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[17]:                       requested_root_path = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       requested_static_routes = 1
DHCP4.OPTION[20]:                       requested_subnet_mask = 1
DHCP4.OPTION[21]:                       requested_time_offset = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       routers = 192.168.1.1
DHCP4.OPTION[24]:                       subnet_mask = 255.255.255.0
IP6.ADDRESS[1]:                         fe80::a211:bea1:5e48:c39b/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/2
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   d6e9bf94-e99b-39a8-a772-275e79137eb4 | Connessione via cavo 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

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

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/MyWify.nmconnection]] (600 root)
[connection] id=MyWify | type=wifi | permissions=
[wifi] mac-address-blacklist= | ssid=MyWify
[ipv4] method=auto
[ipv6] method=shared

##### Netplan config ####################

[/etc/netplan/1-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager

##### iw reg get ########################

Region: Europe/Rome (based on set time zone)

global
country 00: DFS-UNSET
	(2402 - 2472 @ 40), (N/A, 20), (N/A)
	(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
	(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
	(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

enp3s0f2  no frequency information.

lo        no frequency information.

##### iwlist scan #######################

enp3s0f2  Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

[cfg80211]
filename:       /lib/modules/5.4.0-74-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
depends:        
retpoline:      Y
intree:         Y
name:           cfg80211
vermagic:       5.4.0-74-generic SMP mod_unload modversions 
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/broadcom-sta-dkms.conf]
blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[   33.558812] r8169 0000:03:00.2 enp3s0f2: Link is Down
[   35.330917] r8169 0000:03:00.2 enp3s0f2: Link is Up - 100Mbps/Full - flow control rx
[   35.330957] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0f2: link becomes ready

########## wireless info END ############

Regards,
infinito1971
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi all,
I report below other useful information I found:

lspci -knn | grep Net -A3; rfkill list

Code: Select all

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
	Kernel modules: wl
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader [10ec:5286] (rev 01)
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
Regards,
infinito1971
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 - Wifi not working

Post by sleeper12 »

Did you look in Bios to see if you can find & disable secure boot?
sleeper12
Level 21
Level 21
Posts: 14596
Joined: Thu May 25, 2017 3:22 pm

Re: Linux Mint 20.1 - Wifi not working

Post by sleeper12 »

Is Bluetooth maybe blocking your wifi from working?
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi sleeper12,
in my pc bios there is no option related to secure boot.
Also, I think bluetooth doesn't blocks wifi.

Regards,
infinito1971
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi all,
the problem could be the following:

Code: Select all

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader [10ec:5286] (rev 01)
I report also these informations:
lsmod

Code: Select all

Module                  Size  Used by
bnep                   24576  2
nls_iso8859_1          16384  1
uvcvideo               98304  0
videobuf2_vmalloc      20480  1 uvcvideo
snd_hda_codec_hdmi     61440  1
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
snd_hda_codec_realtek   126976  1
videodev              225280  3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_intel          53248  3
intel_rapl_msr         20480  0
snd_intel_dspcfg       28672  1 snd_hda_intel
intel_rapl_common      24576  1 intel_rapl_msr
snd_hda_codec         135168  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
btusb                  57344  0
intel_soc_dts_thermal    20480  0
intel_soc_dts_iosf     20480  1 intel_soc_dts_thermal
intel_powerclamp       20480  0
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               106496  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
coretemp               20480  0
mei_hdcp               24576  0
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
kvm_intel             282624  0
kvm                   663552  1 kvm_intel
rtsx_pci_ms            24576  0
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
memstick               20480  1 rtsx_pci_ms
cfg80211              704512  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
punit_atom_debug       16384  0
snd                    90112  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
intel_cstate           20480  0
asus_nb_wmi            32768  0
mei_txe                28672  1
asus_wmi               32768  1 asus_nb_wmi
soundcore              16384  1 snd
mei                   106496  3 mei_hdcp,mei_txe
joydev                 24576  0
input_leds             16384  0
sparse_keymap          16384  1 asus_wmi
serio_raw              20480  0
hci_uart              126976  0
btqca                  20480  1 hci_uart
btrtl                  24576  2 hci_uart,btusb
btbcm                  16384  2 hci_uart,btusb
btintel                24576  2 hci_uart,btusb
bluetooth             548864  14 btrtl,btqca,btintel,hci_uart,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth
ecc                    28672  1 ecdh_generic
rfkill_gpio            16384  0
mac_hid                16384  0
asus_wireless          20480  0
sch_fq_codel           20480  2
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
btrfs                1261568  0
xor                    24576  1 btrfs
zstd_compress         167936  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
i915                 1990656  22
rtsx_pci_sdmmc         28672  0
i2c_algo_bit           16384  1 i915
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
cryptd                 24576  1 ghash_clmulni_intel
drm_kms_helper        184320  1 i915
psmouse               155648  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
r8169                  90112  0
lpc_ich                24576  0
i2c_i801               32768  0
realtek                24576  1
rtsx_pci               77824  2 rtsx_pci_sdmmc,rtsx_pci_ms
drm                   491520  11 drm_kms_helper,i915
ahci                   40960  2
libahci                32768  1 ahci
wmi                    32768  1 asus_wmi
video                  49152  2 asus_wmi,i915
i2c_hid                28672  0
dw_dmac                16384  0
dw_dmac_core           28672  1 dw_dmac
hid                   131072  1 i2c_hid
lsusb

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04ca:2006 Lite-On Technology Corp. Broadcom BCM43142A0 Bluetooth Device
Bus 001 Device 002: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Regards,
infinito1971
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Linux Mint 20.1 - Wifi not working

Post by hglee »

infinito1971 wrote: Sun Jun 06, 2021 1:56 am I report below other useful information I found:


Too long without an inxi System Information+ report. With your laptop online by tether or otherwise:


Open a Terminal (Ctrl-Alt-T), click CODE:SELECT ALL, then copy-and-paste the following as one block of text into the Terminal window...

Code: Select all

W=wireless-info;I=/usr/local/bin;U=sudo;${U} wget -q -nv -t 5 -T 10 https://github.com/UbuntuForums/$W/raw/master/$W -P $I/;\
cd ~/Downloads;V=$W.txt;$U chmod +x $I/$W;$W>/dev/null;(inxi -Fxxxrz --usb;dkms status;modinfo -p wl;lspci -nnkD)>>$V;\
(lsusb -tv;rfkill list;(lsmod;dmesg)|egrep -i "wl|firm|fail|unab|blu|bt|bc";iwconfig;${U} os-prober;cat /proc/cmdline)>>$V;\
($U lshw -c network;mokutil --sb-state)>>$V 2>&1;tr -cd '\11\12\15\40-\176'<$V|nc termbin.com 9999;rm -f $W*.*

After a pause, a termbin.com URL will appear in the Terminal window. Paste that URL into a reply.


Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
infinito1971
Level 1
Level 1
Posts: 37
Joined: Sat Jun 05, 2021 6:24 am

Re: Linux Mint 20.1 - Wifi not working

Post by infinito1971 »

Hi hglee,
this is the url:

https://termbin.com/3j76

Regards,
infinito1971
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Linux Mint 20.1 - Wifi not working

Post by hglee »

infinito1971 wrote: Sun Jun 06, 2021 9:05 am Hi hglee,
this is the url:

https://termbin.com/xxxx


A couple of things to try:


Boot into Windows, then disable Fast StartUp in power options: How to Turn Off Fast Startup in Windows 10 (1m53s @YouTube)


Also, open a Terminal (Ctrl-Alt-T), click CODE:SELECT ALL, then copy-and-paste the following as one block of text into the Terminal window...

Code: Select all

sudo modprobe -rv bcma wl && sleep 5 && sudo modprobe -v wl;\
sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Reboot.


Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Locked

Return to “Networking”