[SOLVED] wifi cannot scan the network

Help with issues regarding installation of Debian

[SOLVED] wifi cannot scan the network

Postby theob » 2018-08-31 17:10

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.
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

Postby arochester » 2018-08-31 17:49

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?
arochester
 
Posts: 1334
Joined: 2010-12-07 19:55

Re: wifi cannot scan the network

Postby stevepusser » 2018-08-31 18:47

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...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10126
Joined: 2009-10-06 05:53

Re: wifi cannot scan the network

Postby theob » 2018-09-01 00:59

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?
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

Postby Head_on_a_Stick » 2018-09-01 10:31

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.
I suffer from depression and may lash out occasionally, try not to take it personally.
User avatar
Head_on_a_Stick
 
Posts: 8170
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: wifi cannot scan the network

Postby theob » 2018-09-01 15:57

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?
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

Postby bw123 » 2018-09-01 16:27

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.
User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: wifi cannot scan the network

Postby theob » 2018-09-02 01:56

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
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

Postby bw123 » 2018-09-02 08:24

User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: wifi cannot scan the network

Postby theob » 2018-09-02 11:54

I have already been through this, but I can't find any network settings in my BIOS.
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: wifi cannot scan the network

Postby bw123 » 2018-09-02 12:11

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.
User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: wifi cannot scan the network

Postby theob » 2018-09-02 12:13

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.
theob
 
Posts: 6
Joined: 2018-08-31 16:40

Re: [SOLVED] wifi cannot scan the network

Postby GarryRicketson » 2018-09-02 12:22

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
GarryRicketson
 
Posts: 5161
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] wifi cannot scan the network

Postby Debian_purist » 2018-09-05 11:57

yep , the sadly famous F3 on lappys . . .
Debian_purist
 
Posts: 16
Joined: 2017-07-15 14:45


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable