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


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

network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

Started byAlan Tu <8libra@gmail.com>
First post2020-03-28 19:50 +0100
Last post2020-03-28 20:50 +0100
Articles 5 — 3 participants

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


Contents

  network-manager takes 1-4 restarts in order to recognize and connect  to already-configured wifi network, USB dongle NIC Alan Tu <8libra@gmail.com> - 2020-03-28 19:50 +0100
    Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC deloptes <deloptes@gmail.com> - 2020-03-28 20:10 +0100
      Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC Alan Tu <8libra@gmail.com> - 2020-03-28 20:10 +0100
        Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC deloptes <deloptes@gmail.com> - 2020-03-28 20:30 +0100
          Re: network-manager takes 1-4 restarts in order to recognize and  connect to already-configured wifi network, USB dongle NIC Brian <ad44@cityscape.co.uk> - 2020-03-28 20:50 +0100

#220626 — network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

FromAlan Tu <8libra@gmail.com>
Date2020-03-28 19:50 +0100
Subjectnetwork-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC
Message-ID<zPoGR-7TT-9@gated-at.bofh.it>
Hello, I have a "Debian testing" system installed with Mate. It has
network-manager 1.22.8-1.

My network adapter is an Asus USB dongle based on rtl8814au, I
compiled and installed a kernel module for it and the network works
great, once it gets going.

My problem is, when I boot the system and it gets to the mate login
prompt, the network isn't connected. Then, even after I log in to the
Mate desktop, I'm usually asked for the WPA wifi credentials.

After trial and error, the best fix is for me to get into a terminal
and restart network-manager:
# systemctl restart network-manager

After one to four times of this, eventually network-manager
establishes the network connection.

I think this probably has something to do with network-manager not
recognizing that the USB dongle is plugged in, even though the kernel
module is loaded.

What can I do to troubleshoot this problem, potentially filing a bug?

Or, maybe this is a problem with the kernel module for the USB adapter?

Alan

[toc] | [next] | [standalone]


#220627 — Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

Fromdeloptes <deloptes@gmail.com>
Date2020-03-28 20:10 +0100
SubjectRe: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC
Message-ID<zPp0d-8fU-3@gated-at.bofh.it>
In reply to#220626
Alan Tu wrote:

> After trial and error, the best fix is for me to get into a terminal
> and restart network-manager:
> # systemctl restart network-manager
> 
> After one to four times of this, eventually network-manager
> establishes the network connection.

Have you configured the network-card/connection in NetworkManager?
If not - do so and set to auto connect - otherwise it will not connect
automatically.

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


#220629 — Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

FromAlan Tu <8libra@gmail.com>
Date2020-03-28 20:10 +0100
SubjectRe: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC
Message-ID<zPp0d-8fU-9@gated-at.bofh.it>
In reply to#220627
The network was and is configured in network-manager. I should add that one out of six or seven times, the connection is established automatically at boot.
Alan 

Sent from my iPhone

> On Mar 28, 2020, at 12:02, deloptes <deloptes@gmail.com> wrote:
> 
> Alan Tu wrote:
> 
>> After trial and error, the best fix is for me to get into a terminal
>> and restart network-manager:
>> # systemctl restart network-manager
>> 
>> After one to four times of this, eventually network-manager
>> establishes the network connection.
> 
> Have you configured the network-card/connection in NetworkManager?
> If not - do so and set to auto connect - otherwise it will not connect
> automatically.
> 

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


#220631 — Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

Fromdeloptes <deloptes@gmail.com>
Date2020-03-28 20:30 +0100
SubjectRe: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC
Message-ID<zPpjz-8mI-1@gated-at.bofh.it>
In reply to#220629
Alan Tu wrote:

> The network was and is configured in network-manager. I should add that
> one out of six or seven times, the connection is established automatically
> at boot. Alan

Do you have anything in /etc/network/interfaces except lo?

There should not be anything

furthermore NetworkManager saves configuration under /var/lib/NetworkManager

But it could be something else in your configuration - look in the
journal/log or systemctl and post here 

sudo systemctl -l status network-manager    

regards

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


#220632 — Re: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC

FromBrian <ad44@cityscape.co.uk>
Date2020-03-28 20:50 +0100
SubjectRe: network-manager takes 1-4 restarts in order to recognize and connect to already-configured wifi network, USB dongle NIC
Message-ID<zPpCV-8ub-1@gated-at.bofh.it>
In reply to#220631
On Sat 28 Mar 2020 at 20:28:15 +0100, deloptes wrote:

> Alan Tu wrote:
> 
> > The network was and is configured in network-manager. I should add that
> > one out of six or seven times, the connection is established automatically
> > at boot. Alan
> 
> Do you have anything in /etc/network/interfaces except lo?
> 
> There should not be anything

There needn't even be a lo entry. See the changelog for ipupdown.

-- 
Brian.

[toc] | [prev] | [standalone]


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


csiph-web