Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224421 > unrolled thread

Fwd: How do I troubleshoot wireless network dropping?

Started byBorden Rhodes <borden@bordenrhodes.com>
First post2020-07-06 06:40 +0200
Last post2020-07-07 20:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Fwd: How do I troubleshoot wireless network dropping? Borden Rhodes <borden@bordenrhodes.com> - 2020-07-06 06:40 +0200
    Re: Fwd: How do I troubleshoot wireless network dropping? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-06 08:10 +0200
    Fw: Fwd: How do I troubleshoot wireless network dropping? Matthew Campbell <trenix25@pm.me> - 2020-07-06 21:50 +0200
      Re: Fw: Fwd: How do I troubleshoot wireless network dropping? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-07 20:30 +0200

#224421 — Fwd: How do I troubleshoot wireless network dropping?

FromBorden Rhodes <borden@bordenrhodes.com>
Date2020-07-06 06:40 +0200
SubjectFwd: How do I troubleshoot wireless network dropping?
Message-ID<Apr57-84g-5@gated-at.bofh.it>
> 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?

[toc] | [next] | [standalone]


#224428

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-07-06 08:10 +0200
Message-ID<Apsue-EY-13@gated-at.bofh.it>
In reply to#224421

[Multipart message — attachments visible in raw view] — view raw

On Lu, 06 iul 20, 00:23:17, Borden Rhodes wrote:
> 
> 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?
 
Do you have any other network management tool installed, like Network 
Manager? If yes, try stopping it

    systemctl stop network-manager


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#224456

FromMatthew Campbell <trenix25@pm.me>
Date2020-07-06 21:50 +0200
Message-ID<ApFhL-8d1-1@gated-at.bofh.it>
In reply to#224421

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [prev] | [next] | [standalone]


#224523

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-07-07 20:30 +0200
Message-ID<Aq0vT-4xg-15@gated-at.bofh.it>
In reply to#224456

[Multipart message — attachments visible in raw view] — view raw

On Lu, 06 iul 20, 19:44:06, Matthew Campbell wrote:
> I wouldn't recommend using ifconfig to enable or disable your second 
> network card. It is somewhat deprecated. Try using ifup and ifdown.

Apples and... apple pie?

ifupdown is a network management tool, relying on other low level tools 
to do the actual work. In the past that was 'ifconfig' and others from 
the 'net-tools' package, now it is 'ip' and other tools from the 
'iproute2' package.

Additionally 'ifup' and 'ifdown' are useless if the wireless adapter(s) 
are not configured via 'ifupdown'.

So far the OP hasn't provided any information on what network management 
tool is in use, we can only guess.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web