Bug 381404 - Network disconnected on start
Summary: Network disconnected on start
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Ubuntu Linux
: NOR critical
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-19 16:13 UTC by lnxusr
Modified: 2024-12-23 18:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lnxusr 2017-06-19 16:13:21 UTC
Network is disconnected on system startup.  In order to have networking, I have to manually connect via network manager when I log in.  This also has affects NFS mounting, which I also have to manually mount after starting the network.  This has been ongoing since my upgrade to 17.04.
Comment 1 Jan Grulich 2017-06-20 07:45:16 UTC
Check whether your connection is configured to be automatically activated, otherwise you will end up doing it manually.
Comment 2 lnxusr 2017-06-20 15:51:37 UTC
(In reply to Jan Grulich from comment #1)
> Check whether your connection is configured to be automatically activated,
> otherwise you will end up doing it manually.

Yes, it's set to automatically connect and allow all users to connect, although the advanced button next to this option is grayed out.
Comment 3 Jan Grulich 2017-06-21 11:07:05 UTC
Ok, maybe there will be something in NetworkManager logs, can you please attach them here? You can use "journalctl -u NetworkManager --since today"
Comment 4 pgkos.bugzilla 2017-07-16 08:58:40 UTC
I am not sure if this is the same bug, but I have a similar problem since plasma 5.10.

By default, my ethernet connection is named enp2s0. If I try to edit this connection (e.g. static IP address or name), I cannot save the changes (they are completely ignored, Apply button is greyed-out).

I can add an another connection with a custom name, and then manually connect to it, then it works, but only until a reboot. Then I have to manually connect via my connection, as it still automatically connects to enp2s0.

Then I tried another method - I tried to edit the enp2s0 connection using nmtui. After I made the changes and tried to save them, I got the following error message in nmtui:


Unable to save connection: message recipient disconnected from message bus without replying


Then I opened dbus-monitor --session, and, while monitoring, I opened nmtui and edited the connection. The issue disappeared! Somehow having the dbus monitor in the background prevented the issue from happening.

Now I have a fully working and configured connection which persists across reboots.
Comment 5 Jan Grulich 2017-09-11 12:24:08 UTC
(In reply to pgkos.bugzilla from comment #4)
> I am not sure if this is the same bug, but I have a similar problem since
> plasma 5.10.
> 
> By default, my ethernet connection is named enp2s0. If I try to edit this
> connection (e.g. static IP address or name), I cannot save the changes (they
> are completely ignored, Apply button is greyed-out).
> 
> I can add an another connection with a custom name, and then manually
> connect to it, then it works, but only until a reboot. Then I have to
> manually connect via my connection, as it still automatically connects to
> enp2s0.
> 
> Then I tried another method - I tried to edit the enp2s0 connection using
> nmtui. After I made the changes and tried to save them, I got the following
> error message in nmtui:
> 
> 
> Unable to save connection: message recipient disconnected from message bus
> without replying
> 
> 
> Then I opened dbus-monitor --session, and, while monitoring, I opened nmtui
> and edited the connection. The issue disappeared! Somehow having the dbus
> monitor in the background prevented the issue from happening.
> 
> Now I have a fully working and configured connection which persists across
> reboots.

See bug 383505.
Comment 6 Jan Grulich 2017-10-02 08:25:40 UTC
Closing. The initial problem doesn't really seem to be problem in plasma-nm. The other issues where you are unable to edit your connection is duplicate of bug 383505.
Comment 7 Ben Cooksley 2024-12-23 18:23:50 UTC
Bulk transfer as requested in T17796