Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

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
mgiagante

Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

Hi community!

I've done my research for almost a month but I can't find a solution for this.

Whenever I try to connect to my WiFi network, it starts to connect but then asks for the password once more. The password is indeed the right one since it works for other devices at home. My friend has the same problem, with the same Mint version and same wifi card.
The wired connection works correctly, it's just the wifi.

I'm pasting the command output I considered useful, but please let me know if any additional info is needed.

Thanks a lot for taking the time to read this.

$ inxi -S
Host: yaiyaichu-SVF14A16CLB Kernel: 4.10.0-27-generic x86_64 (64 bit)
Desktop: MATE 1.18.0 Distro: Linux Mint 18.2 Sonya

$ lspci | grep -i broadcom
07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

$ lspci -vv -s 07:00.0
07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Subsystem: Foxconn International, Inc. BCM43142 802.11b/g/n
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 7
Region 0: Memory at c0700000 (64-bit, non-prefetchable)
Capabilities: <access denied>
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.
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by Spearmint2 »

wifi requires 3 settings to connect. The proper SSID, the encryption method used (WEP WPA WPA2 WPA2PSK) and the password. Have you done all of that? Also run this;

Code: Select all

iwconfig
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

I went to the network managing tab and the SSID for the connection looks good. It's the same as for my other devices: "Fibertel WiFi217 2.4GHz".
In the Wi-Fi Security tab, I see "Security: WPA & WPA2 Personal". Also, I've made sure the password is right by clicking "Show password" and it's correct.

I executed the $ sudo iwconfig and this is what I get:

lo no wireless extensions.

wlp7s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=200 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

In case it's useful, I took a part that keeps repeating in my dmesg output after I try to connect to the wifi network:

[ 1267.932042] ERROR @wl_dev_intvar_get :
[ 1267.932044] error (-1)
[ 1267.932047] ERROR @wl_cfg80211_get_tx_power :
[ 1267.932047] error (-1)
[ 1269.935351] net_ratelimit: 2 callbacks suppressed
[ 1269.935352] ERROR @wl_dev_intvar_get

And I also found this in with $ dmesg | grep wl :

[ 25.701973] wl: loading out-of-tree module taints kernel.
[ 25.701977] wl: module license 'MIXED/Proprietary' taints kernel.
[ 25.703643] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 25.900675] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 26.959800] wl 0000:07:00.0 wlp7s0: renamed from wlan0
[ 34.288592] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready

Do you need me to get the SSID / Encryption in any other way? Just let me know

Thanks in advance
Last edited by mgiagante on Mon Nov 27, 2017 11:40 pm, edited 2 times in total.
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by Spearmint2 »

Is this a laptop with a manual switch for wifi?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

Spearmint2 wrote:Is this a laptop with a manual switch for wifi?
This is a Sony Vaio - SVF14A16CLB, and it does not have a manual switch for WiFi as far as I know.

I've found instructions on turning wifi on/off in these docs but they're all done through software http://docs.esupport.sony.com/pc/SVF13N ... l3_22.html
WharfRat

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by WharfRat »

Maybe a dumb question, but do you have broadcom-sta-dkms installed :?:
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

WharfRat wrote:Maybe a dumb question, but do you have broadcom-sta-dkms installed :?:
Just tried $ which broadcom-sta-dkms and got that it's not there. Do I need it?

I've tried all the drivers Mint has offered me through the Drivers section in the menu.
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by Spearmint2 »

Broadcom is always a problem. You could get a USB wifi device that isknown to work with Linux. I use this one.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
WharfRat

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by WharfRat »

mgiagante wrote:
WharfRat wrote:Maybe a dumb question, but do you have broadcom-sta-dkms installed :?:
Just tried $ which broadcom-sta-dkms and got that it's not there. Do I need it?

I've tried all the drivers Mint has offered me through the Drivers section in the menu.
Check the description of apt show broadcom-sta-dkms

The BCM43142 is listed.
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

I didn't have it. I installed it and now the difference is that I can't see any wifi networks to connect to, and every time I enable/disable wifi, the whole system hangs for some 5 seconds.

This is what gets added to the dmesg logs when I enable wifi (nothing seems to be added when I disable it):

[30280.265376] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media snd_usb_audio snd_usbmidi_lib wl(POE) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper snd_hda_codec_hdmi cryptd intel_cstate intel_rapl_perf snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep joydev input_leds serio_raw snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer rtsx_pci_ms snd cfg80211 memstick lpc_ich mei_me mei shpchp soundcore sony_laptop mac_hid parport_pc ppdev lp parport autofs4 btrfs
[30280.266031] CPU: 2 PID: 591 Comm: wl_event_handle Tainted: P OE 4.10.0-27-generic #30~16.04.2-Ubuntu
[30280.266786] wl_notify_scan_status+0x7c/0x320 [wl]
[30280.266879] wl_event_handler+0x60/0x1e0 [wl]
[30280.266996] ? wl_notify_scan_status+0x320/0x320 [wl]
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by JeremyB »

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
systemctl restart network-manager.service
Then get a newer version of bcmwl-kernel source

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb

Code: Select all

sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb
Reboot
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

I performed your steps and got this output:

Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 357524 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu3) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu3) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building only for 4.10.0-27-generic
Building for architecture x86_64
Building initial module for 4.10.0-27-generic
Done.

wl:
Running module version sanity check.
- Original module
- Found /lib/modules/4.10.0-27-generic/updates/dkms/wl.ko
- Storing in /var/lib/dkms/bcmwl/original_module/4.10.0-27-generic/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/4.10.0-27-generic/updates/

depmod.........

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-27-generic
Warning: No support for locale: en_US.utf8


I'll reboot now. Crossing fingers...
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

I'm getting the initial results: Wifi re-asking for the password indefinitely.

This is my dmesg | grep wl output:
$ dmesg | grep wl
[ 19.512927] wl: loading out-of-tree module taints kernel.
[ 19.512930] wl: module license 'MIXED/Proprietary' taints kernel.
[ 19.514739] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 19.606488] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 20.552611] wl 0000:07:00.0 wlp7s0: renamed from wlan0
[ 32.506849] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not read
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by JeremyB »

Please post results for

Code: Select all

dmesg | grep wl
mgiagante

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by mgiagante »

$ dmesg | grep wl
[ 19.512927] wl: loading out-of-tree module taints kernel.
[ 19.512930] wl: module license 'MIXED/Proprietary' taints kernel.
[ 19.514739] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 19.606488] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 20.552611] wl 0000:07:00.0 wlp7s0: renamed from wlan0
[ 32.506849] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by JeremyB »

You might have to disable IPv6 in Network Manager settings
wifi_pro

Re: Linux Mint 18.2 x86_64 asking for WiFi password indefinitely - Card: Broadcom BCM43142 802.11b/g/n

Post by wifi_pro »

Try linux mint 17.3. Does it work ?

I have the same problem, but with different make of USB wifi adaptor, the problem happened with 18.x+
Locked

Return to “Networking”