Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136925182
D51312.id158569.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
793 B
Referenced Files
None
Subscribers
None
D51312.id158569.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -200,6 +200,12 @@
while :; do
SCANSSID=0
+ # While wpa_supplicant may IFF_UP the interface, we do not want to rely
+ # in this. In case the script is run manually (outside the installer,
+ # e.g., for testing) wpa_supplicant may be running and the wlanN
+ # interface may be down (especially if dialog_country_select is not
+ # run successfully either) and scanning will not work.
+ f_eval_catch -d wlanconfig ifconfig "ifconfig $WLAN_IFACE up"
f_eval_catch -d wlanconfig wpa_cli "wpa_cli scan"
f_dialog_title "Scanning"
f_dialog_pause "Waiting 5 seconds to scan for wireless networks..." 5 ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 21, 4:52 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25778459
Default Alt Text
D51312.id158569.diff (793 B)
Attached To
Mode
D51312: bsdinstall: wlanconfig: make sure the interface is up before scanning
Attached
Detach File
Event Timeline
Log In to Comment