It is currently Thu Aug 17, 2017 1:37 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Modem Manager Service not started - 14R Alpha4
PostPosted: Tue Feb 03, 2015 6:44 am 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
Hi Folks,

The Modem Manager service is not being started.

I had a look in /etc/init.d/.depend.start and can see that Network Manager is included but not Modem Manager.

Do I simply need to modify this file to include the Modem Manager? If so, what do I need to add and or modify?

Or is there some other way that this needs to be done?

How can I start the service manually?

Thanks, Michael.


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Tue Feb 03, 2015 11:35 pm 
Offline

Joined: Wed Jan 08, 2014 7:27 pm
Posts: 145
Code:
sudo service ModemManager start


I just read your thread about the 3G modem.Did you get it to work,and if where was the mistake?


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Wed Feb 04, 2015 2:10 am 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
caprea wrote:
Code:
sudo service ModemManager start


I just read your thread about the 3G modem.Did you get it to work,and if where was the mistake?


Hi,

When I tried "sudo service ModemManager start", the following response was received.

Code:
ModemManager: unrecognized service


Is this because there is not a corresponding script in /etc/init.d ?

There is a ModemManager executable file in /usr/sbin and there is a ModemManager.service file in /lib/systemd/system.

The NetworkManager service is being started when the system is initialised.

How do we make the ModemManager service recognised and started when the system is initialised?

Thanks, MTB.


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Thu Feb 05, 2015 1:56 am 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1181
The modem manager program should be started by networkmanager. That's why there is not a separate modemmanager service that you can start and stop. For example:
Quote:
modem-manager is complementary program to NetworkManager and it is used to
manage modems. You don't have to execute it manually. It is run automatically
by NetworkManager. So, you just have to plug your modem and that's it.

I'm not certain this applies to antiX-14 but this might be a good place to start.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Thu Feb 05, 2015 4:20 am 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
BitJam wrote:
The modem manager program should be started by networkmanager. That's why there is not a separate modemmanager service that you can start and stop. For example:
Quote:
modem-manager is complementary program to NetworkManager and it is used to
manage modems. You don't have to execute it manually. It is run automatically
by NetworkManager. So, you just have to plug your modem and that's it.

I'm not certain this applies to antiX-14 but this might be a good place to start.


Hi BitJam,

I thought that was what was supposed to be happening but I couldn't find where NetworkManager is supposed to initiate ModemManager.

NetworkManager appears as a process in the Process Viewer (htop) but not ModemManager after the system is started.

nm-applet is also not being started.

In /usr/share/dbus-1/system-services are the following files.

org.freedesktop.NetworkManager.service

Code:
# This D-Bus service activation file is only for systemd support since
# an auto-activated NetworkManager would be quite surprising for those people
# who have NM installed but turned off.  Thus the Exec path available to
# D-Bus is /bin/false, but systemd knows the real Exec path due to the NM
# systemd .service file.

[D-BUS Service]
Name=org.freedesktop.NetworkManager
Exec=/bin/false
User=root
SystemdService=dbus-org.freedesktop.NetworkManager.service


org.freedesktop.ModemManager1.service

Code:
# This D-Bus service activation file is only for systemd support since
# an auto-activated ModemManager would be quite surprising for those people
# who have MM installed but turned off.  Thus the Exec path available to
# D-Bus is /bin/false, but systemd knows the real Exec path due to the MM
# systemd .service file.

[D-BUS Service]
Name=org.freedesktop.ModemManager1
Exec=/usr/bin/ModemManager
User=root
SystemdService=dbus-org.freedesktop.ModemManager1.service


Should the above file be renamed to org.freedesktop.ModemManager.service with the Name parameter changed to "org.freedesktop.ModemManager"?

I couldn't find any logs to see what is happening when Network Manager is started.

When the modem is connected to a USB port it is switched (converted) correctly (attached to ttyUSB0, ttyUSB1 and ttyUSB2).

When I start nm-applet there is no option displayed for "Enable Mobile Broadband" when I right-click on its systray icon.

antiX-14RAlpha4 is using SysVinit.

Is there something missing pertaining to SysVinit?

Thanks, MTB.


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Thu Feb 05, 2015 5:23 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Quote:
antiX-14RAlpha4 is using SysVinit.

Is there something missing pertaining to SysVinit?


Yep

When I experimented with installing network manager in Antix 14 patch5 version testing. It wanted to pull in systemd libraries.
Which because I was running sysvinit. It said it could not do. I did not post about it because
I had other issues on my IBM T23 posts I was dealing with.

Quote:
dep: libpam-systemd
system and service manager - PAM module


dep: libsystemd0
systemd utility library


From https://packages.debian.org/jessie/network-manager

So I bailed on the idea of installing network manager in my testing install.
I am actually surprised you got a successful install going with testing repos.
But. It don't sound like it was all the way successful.
I guess you can individually search out each dependency in the link I provided and see if it got installed or not.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Thu Feb 05, 2015 5:23 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2187
there is a seperate modemanager-gui available in the repos...no experience with it, and I have no way to test it.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: Modem Manager Service not started - 14R Alpha4
PostPosted: Fri Feb 06, 2015 7:12 am 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
Hi Folks,

A bit of success to report. :) I say a bit because there is still a problem to solve with Network Manager which is outside of my programming capabilities at present and the foreseeable future.

After further analysis and trial and error based on the above suggestions by Roky and D.O., I was able to determine that the Modem Manager service could be activated by installing the modem-manager-gui package and then activating the Modem Manager GUI applet from the Applications/System Tools sub-menu.

Once the Modem Manager service was activated, the Modem Manager GUI applet could be shut down (Quit) and the nm-applet could be launched with the Enable Mobile Broadband option becoming displayed in the right-click context menu from the systray icon.

The Modem was also recognised when creating a Mobile Broadband Network Connection.

However, the password was not being remembered for the Network Connection that I added for the Modem. This was partly solved by installing the gnome-keyring package but it appears to only work whilst the session is active. After rebooting, when I Edit the Connection and enter the keyring password, when prompted, the Password field for the Network Connection is vacant again. The same issue exists if attempting to activate the connection is your first interaction with the nm-applet. I haven't been able to find a solution for this. Is it a Live environment problem?

So, it appears that Network Manager has been broken with regards to launching the Modem Manager service. I've since discovered that this may be due to it expecting bloody systemd to be PID 1 which has probably been cause by some systemd moronic proponent or elitist schmuck. This was noted on the associated Debian bugs page 24/11/2014.

From that bug report, I discovered that executing the command sudo /usr/sbin/ModemManager from a Terminal will also activate the Modem Manager service. So, there is no need to install the modem-manager-gui package which can't be used for establishing a connection anyway.

If the Debian Wheezy repository was added to Synaptic and the Network Manager packages etc were downgraded, does anyone think that would provide a more reliable and convenient solution?

Thanks and hasta pronto, Sherlock :wink:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred