>networkmanager-0.9.8.8 not start modemmanager when modem connected on OpenRC Reproducible: Always Steps to Reproduce: 1. Install >networkmanager-0.9.8.8 2. Connect 3g modem 3. wait for the display of mobile connections NetworkManager-0.9.8.8 to connect 3g modem launched modemmanager. When using OpenRC. I do not remember exactly, but there was news that using SystemD networkmanager will not run modemmanager, but I use OpenRC And networkmanager-0.9.8.10-r1 on OpenRC such behavior.
1) Please post your `emerge --info net-misc/networkmanager' output in a comment. 2) Please attach networkmanager's output (log) to this bug report.
Here is an excerpt from the news on NetworkManager-0.9.8.9: "* NetworkManager no longer tries to start ModemManager itself on systemd-using systems " https://download.gnome.org/sources/NetworkManager/0.9/NetworkManager-0.9.8.9.news Some distributions that use the system initialization is different from SуstemD already added init script for ModemManager. I think that this change also affected the work NetworkManager in the case of the use of OpenRC. But in any case, if I install NetvorkManager-0.9.8.8 everything works fine. When I connect USB 3g modem NetworkManager after a while execute ModemManager and in the mobile connections list appears the icon to start the connection. networkmanager's output (log) will add later.
Please address comment #1's requests for information.
Created attachment 386150 [details] emerge --info
Created attachment 386152 [details] NetworkManager-0.9.8.8 log NM-0.9.8.8 running: NetworkManager --no-daemon > /tmp/nw-0.9.8.8 2> & 1 , then connected 3g modem, after a while NM launches ModemManager. ModemManager determines the modem and then I activate the modem connection.
Created attachment 386154 [details] NetworkManager-0.9.8.10-r1 log NM-0.9.8.10-r1 running: NetworkManager --no-daemon> /tmp/nw-0.9.8.10 2> & 1 , then connected 3g modem and that's it. NM does not start ModemManager.
So I think to start ModemManager need to add init script. If the initialization system is OpenRC. What I have in the [url=https://bugs.gentoo.org/show_bug.cgi?id=524534#c2]second[/url] comments.
Please try simply running manually "nm-applet" from a terminal (it was autostarted some time ago, later upstream started to play with the way it was autostarted and...)
(In reply to Pacho Ramos from comment #8) > Please try simply running manually "nm-applet" from a terminal (it was > autostarted some time ago, later upstream started to play with the way it > was autostarted and...) I have KDE, so nm-applet is not installed, and installed kde-misc/networkmanagement-0.9.0.11.
Here are themes on the forum that describe exactly the same problem: http://forums.gentoo.org/viewtopic-t-998610.html http://forums.gentoo.org/viewtopic-p-7611012.html I think these themes can be considered as a confirmation of the problem.
Created attachment 386320 [details] ModemManager init script A simple init script to start ModemManager.
Please provide the full networkmanager build.log. Looks like you are building it with USE=-systemd but, for some reason, it keeps not trying to start ModemManager even if it should per: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-0-9-8&id=86b8b602942038a370914006e61af64ab15ee0b8 https://bugzilla.gnome.org/show_bug.cgi?id=703040 Also would be interesting to test with 0.9.10.0 :|
Created attachment 386500 [details] NetworkManager-0.9.8.10-r1 build.log
Created attachment 386502 [details] NetworkManager-0.9.10.0 build.log
(In reply to Pacho Ramos from comment #12) > Please provide the full networkmanager build.log. Looks like you are > building it with USE=-systemd but, for some reason, it keeps not trying to > start ModemManager even if it should per: > http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-0-9- > 8&id=86b8b602942038a370914006e61af64ab15ee0b8 > https://bugzilla.gnome.org/show_bug.cgi?id=703040 > > Also would be interesting to test with 0.9.10.0 :| When using NM-0.9.10.0 also present this problem.
Created attachment 386504 [details] networkmanager-0.9.10.0-r1.ebuild If you make changes to the ebuild and remove specifying directory with units of systemd, ie "$(systemd_with_unitdir)" Then at the configuration stage will not have the option "--with-systemdsystemunitdir=/usr/lib/systemd/system". In this case, NetworkManager will run ModemManager immediately after its start. I.e. ModemManager will run always and not only when connecting a 3g modem.
Created attachment 386506 [details] Build log diff. Here is a comparison of logs before and after the changes in the ebuild.
Good catch
+*networkmanager-0.9.10.0-r1 (13 Oct 2014) + + 13 Oct 2014; Pacho Ramos <pacho@gentoo.org> + +files/networkmanager-0.9.10.0-arpingpath.patch, + +networkmanager-0.9.10.0-r1.ebuild: + Ifnet plugin is now disabled because of it being unattended and unmaintained + for a long time, leading to some unfixed bugs and new problems appearing + (#443596, #458274, #493370, #498372, #523700). If some day somebody volunteers + for fixing/maintaining that plugin and forwarding all that fixes to upstream + it could be re-enabled of course. Append configure option regarding systemd + unit files install path only when systemd support is enabled to prevent + HAVE_SYSTEMD to be true (#524534 by Konstantin Ivanov). Ensure arping is found + (#523632 by Kobboi). +
*** Bug 529440 has been marked as a duplicate of this bug. ***