I wouldn't recommend using ifconfig to enable or disable your second network card. It is somewhat deprecated. Try using ifup and ifdown.
name=Matthew%20Campbell&email=trenix25%40pm.me -------- Original Message -------- On Jul 5, 2020, 9:23 PM, Borden Rhodes wrote: >> Use ps x to see how many copies of wpa_supplicant are running. If you have >> multiple copies started from the command line the wifi won't stay connected. >> I had the same problem. > > Thank you for the suggestion. I checked when it started dropping and, not only > was there one instance of wpa_supplicant running, it was the same instance > (judging from its PID) > >> Keep off the Intel card when you use the USB dongle, maybe one interfere with >> the other > > Another good suggestion. I've tried disabling it from ifconfig. The interfaces > use consistent device naming, so the names shouldn't be getting mixed up. > > I've isolated, what I think are, the journal lines from when my connection > dropped today: > > wpa_supplicant[1555]: wlp10s0: CTRL-EVENT-DISCONNECTED bssid=a0:##:##:##:##:0a > reason=4 locally_generated=1 > wpa_supplicant[1555]: dbus: wpa_dbus_property_changed: no property > SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0 > wpa_supplicant[1555]: wlp10s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD > wpa_supplicant[1555]: wlp10s0: SME: Trying to authenticate with > a0:##:##:##:##:0a (SSID='WiFiNetwork' freq=2462 MHz) > wpa_supplicant[1555]: wlp10s0: Trying to associate with a0:##:##:##:##:0a > (SSID='MyNetwork' freq=2462 MHz) > wpa_supplicant[1555]: wlp10s0: Associated with a0:##:##:##:##:0a > wpa_supplicant[1555]: wlp10s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 > wpa_supplicant[1555]: wlp10s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE > type=COUNTRY alpha2=CA > wpa_supplicant[1555]: wlp10s0: WPA: Key negotiation completed with > a0:##:##:##:##:0a [PTK=CCMP GTK=CCMP] > wpa_supplicant[1555]: wlp10s0: CTRL-EVENT-CONNECTED - Connection to > a0:##:##:##:##:0a completed [id=0 id_str=] > > For the purposes of these log entries, "WiFiNetwork" is the SSID of my > network, but the log literally shows "MyNetwork" in the next line when > it's trying to associate. I have no idea what this network is and I > can't find it configured anywhere. So is it possible that someone's > trying to MAC-jack my laptop?