On 9/27/21 1:16 AM, Andrei Borzenkov wrote:
On Mon, Sep 27, 2021 at 10:14 AM Per Jessen
wrote: Marc Chamberlin wrote:
Thanks Per, and can do -
marcslaptop:/var/log # ifdown wlan0 wlan0 device-ready marcslaptop:/var/log # cat /etc/sysconfig/network/ifcfg-wlan0 MTU='0' BOOTPROTO='dhcp' STARTMODE='auto' ZONE='internal' WIRELESS_ESSID='ChamberlinCupola' WIRELESS_AUTH_MODE='psk' WIRELESS_MODE='managed' WIRELESS_WPA_PSK='xxxxxxxxxxxxxxx' WIRELESS_AP_SCANMODE='0' Comparing to one of my systems with wicked and wifi - I have WIRELESS_AP_SCANMODE='1'
That sounds quite probable. From the man page
Mode 0 means the driver performs the scan. Mode 1 means wpa_supplicant takes care of scanning. Mode 2 is basically the same as mode 0 but the access point gets chosen by security policy and SSID. This mode does not support multiple network settings. Default is 1 for most drivers.
Usually scanning is controlled by network management programs. I wonder if there are any drivers that perform periodical scans automatically. And even if they do, what is the interval between these scans? Thanks Per, Andrie - Interesting! I set the WIRELESS_AP_SCANMODE='1' on my laptop, in
/etc/sysconfig/network/ifcfg-wlan0 and executed ifdown wlan0 followed by ifup wlan0 and it worked! So I tried it with Yast again and discovered that by default Yast is setting WIRELESS_AP_SCANMODE="0" This is a setting (found in Expert Settings subpanel) for wlan0 edit/setup for the wlan0 interface. I have never messed with it, didn't even know what it's purpose was, but by setting it to 1, that does the trick and Yast will also set up the wlan0 interface properly. So now the questions becomes - Why is Yast always setting WIRELESS_AP_SCANMODE="0" by default? Especially if, as you stated, the default is 1 for most drivers? How do I coerce Yast into setting the WIRELESS_AP_SCANMODE='1' by default and keep that setting persistent? Feels like we are starting to make progress on solving this issue! I will look forward to hearing additional thoughts, Thanks again for your help and insights. Marc... -- *"The Truth is out there" - Spooky* *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed and the electronic signature is attached. If you know how, you can use my public key to prove this email indeed came from me and has not been modified in transit. My public key, which can be used for sending encrypted email to me also, can be found at - https://keys.openpgp.org/search?q=marc@marcchamberlin.com or just ask me for it and I will send it to you as an attachment. If you don't understand all this geek speak, no worries, just ignore this explanation and ignore the signature key attached to this email (it will look like gibberish if you open it) and/or ask me to explain it further if you like./)