error: couldn't find the ModemManager process in the bus

Bernd Eggink monoped at sudrala.de
Wed Jul 29 03:48:46 PDT 2015


On 28.07.2015 16:18, Aleksander Morgado wrote:
> On Tue, Jul 28, 2015 at 7:33 PM, Bernd Eggink <monoped at sudrala.de> wrote:
>>>> Thank you Aleksander.
>>>>
>>>> I'm on Ubuntu so I tried this without success:
>>>>
>>>>     jmss at aida:~$ sudo update-rc.d modemmanager defaults
>>>>     update-rc.d: /etc/init.d/modemmanager: file does not exist
>>>>
>>>> Then I looked inside /etc/init/modemmanager.conf and saw:
>>>>
>>>>     start on starting network-manager
>>>>     stop on stopped network-manager
>>>>
>>>> Maybe I'm not running network-manager since this is a server without GUI?
>>>
>>>
>>> Well, NetworkManager can be used in servers without GUI.
>>>
>>> Check if it is installed, with e.g.:
>>> $ dpkg -l | grep network
>>
>> And ModemManager can be used without NetworkManager. On my system (Crux), I
>> do everything with mmcli and a couple of scripts.
>
> Just wondering, you're parsing mmcli text responses as well? I'm
> worried that if we ever change the mmcli outputs (or just the format
> of the outputs) things will start to break out there... there's no
> guarantee that the text responses will always be kept the same...

That's right, but if something changes, I'll certainly notice it... And 
then I'll just have to change a few regular expressions in a script, a 
matter of 2 minutes.

- Bernd


More information about the ModemManager-devel mailing list