Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] wifi cannot scan the network

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
theob
Posts: 6
Joined: 2018-08-31 16:40

[SOLVED] wifi cannot scan the network

#1 Post by theob »

Hi, I am trying to install debian stable on a DELL inspiron 15z 5523 but I am having some issues with the wireless configuration. I may have missed something obvious but I've been stuck trying to solve this problem for far too long...

- the lspci output is:

Code: Select all

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
07:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
09:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
It shows BCM43142 Network Controller, so I installed the wl driver following the debian documentation. This makes de GNOME Network Manager detect the device but somehow it still cannot us it to scan the network. Here is the output of 'iwlist wlp7s0 scan':

Code: Select all

wlp7s0    Interface doesn't support scanning : Invalid argument
and the 'journalctl -r' lines corresponding to it:

Code: Select all

août 31 19:52:09 debian wpa_supplicant[640]: wlp7s0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
août 31 19:52:09 debian kernel: ERROR @wl_cfg80211_scan : 
août 31 19:52:09 debian kernel: WLC_SCAN error (-22)
I don't understand what happens. Here are some other commands output that may be useful:

- lsusb:

Code: Select all

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45:6448 Microdia 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- ip a:

Code: Select all

3: wlp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default qlen 1000
    link/ether e0:06:e6:d5:10:93 brd ff:ff:ff:ff:ff:ff
- iwconfig:

Code: Select all

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:off
I thank you all in advance for the time you're spending trying to help me, and please forgive me for bothering you if this has an obvious fix.
Last edited by theob on 2018-09-02 12:14, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: wifi cannot scan the network

#2 Post by arochester »

I installed the wl driver following the debian documentation
Which firmware did you install?

Broadcom BCM43142 (PCI ID 14e4:4365) = broadcom-sta-dkms

Did you reboot for it to take effect?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: wifi cannot scan the network

#3 Post by stevepusser »

The firmware is included in the non-free blobs that the "wl" hybrid driver installs.

Did you reboot after installing the driver? I don't think it'll help in your case, but it does blacklist some other modules.

Maybe it's some rfkill hard or soft switch that's messing up your connection...
MX Linux packager and developer

theob
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

#4 Post by theob »

Hi!

Yes wl does include the broadcom-sta-dkms driver given what I read. I rebooted the machine which led the GNOME Network Manager to recognize the device and to display the wifi menu on the top right corner. So I think ly driver installation has been successful (I even did a complete installation again to make sure of what I did).

Concerning rfkill, I get this using 'rfkill list':

Code: Select all

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
Does that seems you correct?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: wifi cannot scan the network

#5 Post by Head_on_a_Stick »

theob wrote:

Code: Select all

août 31 19:52:09 debian kernel: ERROR @wl_cfg80211_scan : 
août 31 19:52:09 debian kernel: WLC_SCAN error (-22)
https://bbs.archlinux.org/viewtopic.php?id=165990

tl;dr: install crda.
deadbang

theob
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

#6 Post by theob »

Sadly I already have the "crda" package installed :/

Is there a way to check my wl configuration? Or the results I provided already show that it's properly set up?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: wifi cannot scan the network

#7 Post by bw123 »

lspci -k will show if the wl module is available and in use
lsmod might show if conflicting modules are loaded

When you post commands and output, it's better to copy and paste the entire command and all of the output. Don't edit out anything, paste the entire command and everything until the new prompt in your code block.
resigned by AI ChatGPT

theob
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

#8 Post by theob »

Ok, there are the results. Here it seems that there is bcma in use too while I used 'modprobe -r bcma' as specified in the wiki. Is it a problem?

Code: Select all

# lspci -k

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
	Subsystem: Dell 3rd Gen Core processor DRAM Controller
	Kernel driver in use: ivb_uncore
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
	Subsystem: Dell 3rd Gen Core processor Graphics Controller
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
	Subsystem: Dell 7 Series/C210 Series Chipset Family USB xHCI Host Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Dell 7 Series/C216 Chipset Family MEI Controller
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
	Subsystem: Dell 7 Series/C216 Chipset Family USB Enhanced Host Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
	Subsystem: Dell 7 Series/C216 Chipset Family High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
	Subsystem: Dell 7 Series/C216 Chipset Family USB Enhanced Host Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
	Subsystem: Dell HM77 Express Chipset LPC Controller
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
	Subsystem: Dell 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
	Subsystem: Dell 7 Series/C216 Chipset Family SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
07:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
	Subsystem: Dell Wireless 1704 802.11n + BT 4.0
	Kernel driver in use: wl
	Kernel modules: bcma, wl
09:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
	Subsystem: Dell AR8161 Gigabit Ethernet
	Kernel driver in use: alx
	Kernel modules: alx
And here it seems that wl is not in use, is it?

Code: Select all

#lsmod

Module                  Size  Used by
fuse                   98304  3
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
intel_rapl             20480  0
dell_wmi               16384  0
x86_pkg_temp_thermal    16384  0
sparse_keymap          16384  1 dell_wmi
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             200704  0
kvm                   598016  1 kvm_intel
dell_laptop            20480  0
dell_smbios            16384  2 dell_wmi,dell_laptop
dcdbas                 16384  1 dell_smbios
irqbypass              16384  1 kvm
snd_hda_codec_hdmi     49152  1
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
wl                   6443008  0
dell_smm_hwmon         16384  0
uvcvideo               90112  0
rtsx_usb_ms            20480  0
snd_hda_codec_idt      57344  1
videobuf2_vmalloc      16384  1 uvcvideo
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
videobuf2_memops       16384  1 videobuf2_vmalloc
memstick               20480  1 rtsx_usb_ms
ghash_clmulni_intel    16384  0
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
intel_cstate           16384  0
intel_uncore          118784  0
joydev                 20480  0
intel_rapl_perf        16384  0
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
evdev                  24576  15
i915                 1257472  15
media                  40960  2 uvcvideo,videodev
snd_hda_intel          36864  6
pcspkr                 16384  0
serio_raw              16384  0
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
cfg80211              589824  1 wl
snd_hda_core           86016  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep              16384  1 snd_hda_codec
drm_kms_helper        155648  1 i915
rfkill                 24576  5 dell_laptop,cfg80211
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              32768  1 snd_pcm
drm                   360448  8 i915,drm_kms_helper
mei_me                 36864  0
snd                    86016  20 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
i2c_algo_bit           16384  1 i915
mei                   102400  1 mei_me
sg                     32768  0
soundcore              16384  1 snd
shpchp                 36864  0
lpc_ich                24576  0
wmi                    16384  1 dell_wmi
battery                20480  0
video                  40960  3 dell_wmi,dell_laptop,i915
button                 16384  1 i915
ac                     16384  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  2
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  3 ext4
rtsx_usb_sdmmc         28672  0
mmc_core              147456  1 rtsx_usb_sdmmc
rtsx_usb               24576  2 rtsx_usb_sdmmc,rtsx_usb_ms
mfd_core               16384  2 lpc_ich,rtsx_usb
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  5
crc32c_intel           24576  4
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
psmouse               135168  0
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
ahci                   36864  3
libahci                32768  1 ahci
libata                249856  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
xhci_hcd              188416  1 xhci_pci
ehci_hcd               81920  1 ehci_pci
alx                    45056  0
mdio                   16384  1 alx
usbcore               253952  6 uvcvideo,ehci_hcd,xhci_pci,rtsx_usb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
thermal                20480  0

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: wifi cannot scan the network

#9 Post by bw123 »

resigned by AI ChatGPT

theob
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

#10 Post by theob »

I have already been through this, but I can't find any network settings in my BIOS.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: wifi cannot scan the network

#11 Post by bw123 »

theob wrote:I have already been through this, but I can't find any network settings in my BIOS.
If there's no wireless/bluetooth/radio setting in the BIOS, nothing blocked at all with rfkill, no hardware switch, or keyboard on/off Fn key like F2, then I'd probably try uninstall the module and rebuild it. Pay close attn for any errors.

Maybe if you pull it and reinsert you get an error?

Code: Select all

# modprobe -r wl
# modprobe wl
Last edited by bw123 on 2018-09-02 12:13, edited 1 time in total.
resigned by AI ChatGPT

theob
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

#12 Post by theob »

Ok, I am a bit ashamed but some key was controling the wifi too and I had not though about it before... Thanks all for your support and again, sorry for bothering.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] wifi cannot scan the network

#13 Post by GarryRicketson »

Heh , heh, no problem, and you aren't the first one. I have a laptop that tricked me in the same way, all though I never did ask here, I spent several hours trying various things ,searches, re-installing, finally I noticed a "button" sort of thing, that turns the wifi on or off, and that is all it was.

User avatar
Debian_purist
Posts: 39
Joined: 2017-07-15 14:45

Re: [SOLVED] wifi cannot scan the network

#14 Post by Debian_purist »

yep , the sadly famous F3 on lappys . . .

Post Reply