Bug 246126 - bsdinstall fails to report wireless network scan failure
Summary: bsdinstall fails to report wireless network scan failure
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: install
Depends on:
Blocks:
 
Reported: 2020-05-02 15:28 UTC by Ed Maste
Modified: 2022-11-22 18:10 UTC (History)
4 users (show)

See Also:


Attachments
Framebuffer from installer (6.19 KB, text/plain)
2022-11-22 18:07 UTC, Death From Boredom
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2020-05-02 15:28:47 UTC
attempting to use bsdinstall on an x220 reports "No wireless networks were found. Rescan?" after 5s scan delay + a few more seconds

from another vty running "wpa_cli scan; sleep 5; wpa_cli scan_results" shows:
Selected interface 'wlan0'
OK
Selected interface 'wlan0'
'SCAN_RESULTS' command timed out.

It's not clear why ssid scan is failing, but in any case bsdinstall should report that there was an error, not just that no networks were found.

Reproducible on my X220 on 12.1-RELEASE and most recent 13 snapshot as of May 2 2020.
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2022-04-23 13:55:46 UTC
Sorry, if I am missing it, which hardware do you have (or had) in that machine?
Comment 2 Bjoern A. Zeeb freebsd_committer freebsd_triage 2022-04-23 14:01:13 UTC
Also for others encountering this;  can you also break into the shell and not just use wpa_cli but manually try to force

ifconfig wlan0 scan

If that commands comes back immediately, repeat it a few more times and see if it "hangs" for a few seconds before coming back to the shell and see if that makes a difference.

And please report the driver/hw (PCI IDs or USB IDs ideally; pciconf -lv drvname0 or usbconfig -d X.Y dump_device_desc  with drvname0 or X.Y replaced will tell).
Comment 3 Death From Boredom 2022-11-22 18:07:59 UTC
Created attachment 238255 [details]
Framebuffer from installer
Comment 4 Death From Boredom 2022-11-22 18:10:39 UTC
Hi,

I have the same problem from some previous versions, I couldn't say which one. It worked fine in the past. If you are interested I could download the 13.0 and 12.3 installers to check. It happens with memstick and mini-memstick for me.

Bsdinstall recognizes the interface but does not return networks. I change to the tty and run "ifconfig wlan0 up" then the installer shows the networks on rescan. It's an old laptop:

$ uname -a
FreeBSD hostname 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
$ pciconf -lv wpi0
wpi0@pci0:2:0:0:        class=0x028000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x4222 subvendor=0x8086 subdevice=0x1001
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 3945ABG [Golan] Network Connection'
    class      = network

*Attaching framebuffer from installer.

Regards.