Hi Danilo, my answers are below.

> Does any other command work?

Yes, I can work, as long as I don't need internet access.

> Do you see any zombie (<defunct>) process in "ps aux"?

`ps aux | grep defunct` returns empty.

> Does it hang forever? If you wait, let's say, 2 minutes, does it
unblock?

Yes it hangs forever. I have waited for sure more than 15 minutes in one
occasion.

> Have you made any changes to your /etc/nsswitch.conf file? I'm asking
because setting "systemd" as the first option for "password" and/or
"group" is one of the things that triggers the problem.

I have made no changes to that file.

> If all the above is OK, I'd suggest trying to boot with a previous
kernel version. Maybe a recent kernel update is causing the problem.

Past experiences switching kernels were not that fortunate. But I will
give it a try.

Thank you.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2080489

Title:
  Network Manager stops functioning on Ubuntu 24.04

Status in network-manager package in Ubuntu:
  New

Bug description:
  I installed Ubuntu 24.04 about a month ago on a Asus Vivobook. Soon
  after the NetworkManager started misbehaving, with all connections to
  the internet becoming idle now and then. When this event happens the
  only way to restore internet access is to reboot the system. If
  initially these events were occasional, they now take place 3 or 4
  times per day, often after signing in from the lock screen.

  So far I was not able to verify whether NetworkManager is actually
  crashing, the Settings programme reports "NetworkManager not running"
  (see attached image). However, in the command line `systemctl` reports
  an active service:

  ```
  $ systemctl status NetworkManager
  ● NetworkManager.service - Network Manager
       Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled>
       Active: active (running) since Sun 2024-08-27 18:21:44 WEST; 2h 18min a>
         Docs: man:NetworkManager(8)
     Main PID: 1149 (NetworkManager)
        Tasks: 4 (limit: 18646)
       Memory: 12.2M (peak: 28.6M)
          CPU: 836ms
       CGroup: /system.slice/NetworkManager.service
               └─1149 /usr/sbin/NetworkManager --no-daemon

  ago 27 19:34:08 Symbolic NetworkManager[1149]: <info>  [1724006048.8961] man>
  ago 27 19:34:08 Symbolic NetworkManager[1149]: <info>  [1724006048.8965] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1482] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1484] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1488] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1488] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1489] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.2049] dev>
  ago 27 20:33:50 Symbolic NetworkManager[1149]: <info>  [1724009630.5340] man>
  ago 27 20:33:50 Symbolic NetworkManager[1149]: <info>  [1724009630.5344] dev>
  ```

  But if I try to restart the service, the command line just hangs up:

  ```
  $ ping 1.1.1.1
  ping: connect: Network is unreachable

  $ sudo systemctl restart NetworkManager

  ```

  Also from `ifconfig` there is no response:

  ```
  $ ifconfig -a

  ```

  Please let me know if there is further useful information I can
  report.

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2080489/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to