How can I remove modem-manager from boot?
I would like to remove modem-manager service from my boot, how can I do it ?
services modem-manager
add a comment |
I would like to remove modem-manager service from my boot, how can I do it ?
services modem-manager
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executingsystemctl status ModemManager.serviceshows that modem-manager is the culprit:Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'
– Roberto Tyley
Mar 18 '17 at 23:06
add a comment |
I would like to remove modem-manager service from my boot, how can I do it ?
services modem-manager
I would like to remove modem-manager service from my boot, how can I do it ?
services modem-manager
services modem-manager
asked Nov 12 '12 at 8:42
PostadelmagaPostadelmaga
4,31832137
4,31832137
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executingsystemctl status ModemManager.serviceshows that modem-manager is the culprit:Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'
– Roberto Tyley
Mar 18 '17 at 23:06
add a comment |
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executingsystemctl status ModemManager.serviceshows that modem-manager is the culprit:Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'
– Roberto Tyley
Mar 18 '17 at 23:06
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executing
systemctl status ModemManager.service shows that modem-manager is the culprit: Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'– Roberto Tyley
Mar 18 '17 at 23:06
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executing
systemctl status ModemManager.service shows that modem-manager is the culprit: Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'– Roberto Tyley
Mar 18 '17 at 23:06
add a comment |
5 Answers
5
active
oldest
votes
systemctl |grep Modem # (may show ModemManger.service)
systemctl [stop|start|enable|disable] ModemManager.service
This worked to disable UML-295 modem from being managed by ModemManger which in turn enabled web-control via http://mbb.vzw.com on CentOS 7.
Check after disabling via:
systemctl list-dependencies multi-user.target |grep Modem
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
add a comment |
This it looks to work fine:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Instead this doesn't work ( don't know y ):
"echo manual | sudo tee -a /etc/init/modemmanager.override"
2
As ofubuntu 14.04andLinux Mint 17.3, it isModemManager1; I'm now used to do alsosudo ugo-x /usr/sbin/ModemManager.
– metadings
Jun 12 '16 at 20:32
add a comment |
The simplest way is to:
sudo apt-get purge modemmanager
Works fine in 12.04 LTS. Nothing in my system had dependencies on modemmanager.
Or you could search for "modemmanager" in the Ubuntu Software Center and remove it from there (the title is "D-Bus service for managing modems").
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it withsudo apt-get install modemmanager, no?
– mivk
May 27 '13 at 17:39
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
add a comment |
If it is SysV init style symbolic links
update-rc.d [-n] [-f] base_name remove
If it is per user (X11 session), check the following folders and remote corresponding files:
~/.config/autostart
/etc/xdg/autostart
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
add a comment |
I found this had only a deleterious function when I tried the experimental version in Debian Sid and it failed to find my modem at all. That nearly doubled my speed and drops and failures became rare. I will probably remove it but for the time I want it to suspend function.
In /etc/init.d I stored this file:
#!/bin/sh
# NOMODEMMANAGER.sh DHM, Feb'19
# The ModemManager appears to slow down and interfere with the internet on my Dell laptop.
ModemManager --no-auto-scan
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f216114%2fhow-can-i-remove-modem-manager-from-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
systemctl |grep Modem # (may show ModemManger.service)
systemctl [stop|start|enable|disable] ModemManager.service
This worked to disable UML-295 modem from being managed by ModemManger which in turn enabled web-control via http://mbb.vzw.com on CentOS 7.
Check after disabling via:
systemctl list-dependencies multi-user.target |grep Modem
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
add a comment |
systemctl |grep Modem # (may show ModemManger.service)
systemctl [stop|start|enable|disable] ModemManager.service
This worked to disable UML-295 modem from being managed by ModemManger which in turn enabled web-control via http://mbb.vzw.com on CentOS 7.
Check after disabling via:
systemctl list-dependencies multi-user.target |grep Modem
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
add a comment |
systemctl |grep Modem # (may show ModemManger.service)
systemctl [stop|start|enable|disable] ModemManager.service
This worked to disable UML-295 modem from being managed by ModemManger which in turn enabled web-control via http://mbb.vzw.com on CentOS 7.
Check after disabling via:
systemctl list-dependencies multi-user.target |grep Modem
systemctl |grep Modem # (may show ModemManger.service)
systemctl [stop|start|enable|disable] ModemManager.service
This worked to disable UML-295 modem from being managed by ModemManger which in turn enabled web-control via http://mbb.vzw.com on CentOS 7.
Check after disabling via:
systemctl list-dependencies multi-user.target |grep Modem
edited Apr 22 '15 at 22:29
muru
1
1
answered Apr 22 '15 at 22:01
seg-11seg-11
13112
13112
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
add a comment |
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
working for Ubuntu 16.04. Deactivates for me most of my "SetLineState" on my USB-Trace.
– Cutton Eye
Mar 7 '18 at 13:22
add a comment |
This it looks to work fine:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Instead this doesn't work ( don't know y ):
"echo manual | sudo tee -a /etc/init/modemmanager.override"
2
As ofubuntu 14.04andLinux Mint 17.3, it isModemManager1; I'm now used to do alsosudo ugo-x /usr/sbin/ModemManager.
– metadings
Jun 12 '16 at 20:32
add a comment |
This it looks to work fine:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Instead this doesn't work ( don't know y ):
"echo manual | sudo tee -a /etc/init/modemmanager.override"
2
As ofubuntu 14.04andLinux Mint 17.3, it isModemManager1; I'm now used to do alsosudo ugo-x /usr/sbin/ModemManager.
– metadings
Jun 12 '16 at 20:32
add a comment |
This it looks to work fine:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Instead this doesn't work ( don't know y ):
"echo manual | sudo tee -a /etc/init/modemmanager.override"
This it looks to work fine:
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
Instead this doesn't work ( don't know y ):
"echo manual | sudo tee -a /etc/init/modemmanager.override"
edited May 28 '13 at 10:25
answered Nov 14 '12 at 4:16
PostadelmagaPostadelmaga
4,31832137
4,31832137
2
As ofubuntu 14.04andLinux Mint 17.3, it isModemManager1; I'm now used to do alsosudo ugo-x /usr/sbin/ModemManager.
– metadings
Jun 12 '16 at 20:32
add a comment |
2
As ofubuntu 14.04andLinux Mint 17.3, it isModemManager1; I'm now used to do alsosudo ugo-x /usr/sbin/ModemManager.
– metadings
Jun 12 '16 at 20:32
2
2
As of
ubuntu 14.04 and Linux Mint 17.3, it is ModemManager1; I'm now used to do also sudo ugo-x /usr/sbin/ModemManager.– metadings
Jun 12 '16 at 20:32
As of
ubuntu 14.04 and Linux Mint 17.3, it is ModemManager1; I'm now used to do also sudo ugo-x /usr/sbin/ModemManager.– metadings
Jun 12 '16 at 20:32
add a comment |
The simplest way is to:
sudo apt-get purge modemmanager
Works fine in 12.04 LTS. Nothing in my system had dependencies on modemmanager.
Or you could search for "modemmanager" in the Ubuntu Software Center and remove it from there (the title is "D-Bus service for managing modems").
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it withsudo apt-get install modemmanager, no?
– mivk
May 27 '13 at 17:39
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
add a comment |
The simplest way is to:
sudo apt-get purge modemmanager
Works fine in 12.04 LTS. Nothing in my system had dependencies on modemmanager.
Or you could search for "modemmanager" in the Ubuntu Software Center and remove it from there (the title is "D-Bus service for managing modems").
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it withsudo apt-get install modemmanager, no?
– mivk
May 27 '13 at 17:39
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
add a comment |
The simplest way is to:
sudo apt-get purge modemmanager
Works fine in 12.04 LTS. Nothing in my system had dependencies on modemmanager.
Or you could search for "modemmanager" in the Ubuntu Software Center and remove it from there (the title is "D-Bus service for managing modems").
The simplest way is to:
sudo apt-get purge modemmanager
Works fine in 12.04 LTS. Nothing in my system had dependencies on modemmanager.
Or you could search for "modemmanager" in the Ubuntu Software Center and remove it from there (the title is "D-Bus service for managing modems").
answered May 25 '13 at 10:24
mivkmivk
2,3232434
2,3232434
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it withsudo apt-get install modemmanager, no?
– mivk
May 27 '13 at 17:39
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
add a comment |
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it withsudo apt-get install modemmanager, no?
– mivk
May 27 '13 at 17:39
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
you are right but does you need it for connection with mobile phone ?
– Postadelmaga
May 25 '13 at 19:51
1
1
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it with
sudo apt-get install modemmanager, no?– mivk
May 27 '13 at 17:39
@Postadelmaga: Well, I guess it depends how your software connects to your phone. If you find you do need it after all, you can always re-install it with
sudo apt-get install modemmanager, no?– mivk
May 27 '13 at 17:39
3
3
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
you are right, but what happen if I have no internet connection in that moment ( and y should I use my phone to navigate if I have internet :) What I'm looking for is a way to not load it every boot, but still be able to run it if I need it ....
– Postadelmaga
May 28 '13 at 10:22
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
"great" solution ... did you tested it ? ... for long time ?!? BE CUZ, AFTER SOME UPDATEZ, THAT MF PACKET WILL GET REINSTALLED, it is considered BULLSHlT "REQUIRED"
– THESorcerer
Jan 26 '18 at 8:13
add a comment |
If it is SysV init style symbolic links
update-rc.d [-n] [-f] base_name remove
If it is per user (X11 session), check the following folders and remote corresponding files:
~/.config/autostart
/etc/xdg/autostart
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
add a comment |
If it is SysV init style symbolic links
update-rc.d [-n] [-f] base_name remove
If it is per user (X11 session), check the following folders and remote corresponding files:
~/.config/autostart
/etc/xdg/autostart
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
add a comment |
If it is SysV init style symbolic links
update-rc.d [-n] [-f] base_name remove
If it is per user (X11 session), check the following folders and remote corresponding files:
~/.config/autostart
/etc/xdg/autostart
If it is SysV init style symbolic links
update-rc.d [-n] [-f] base_name remove
If it is per user (X11 session), check the following folders and remote corresponding files:
~/.config/autostart
/etc/xdg/autostart
edited Apr 22 '15 at 22:29
muru
1
1
answered Nov 12 '12 at 8:57
Terry WangTerry Wang
6,37932224
6,37932224
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
add a comment |
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
thank u but it is not a SysV init ... it is a upstart service, see my answer below
– Postadelmaga
Nov 14 '12 at 4:17
add a comment |
I found this had only a deleterious function when I tried the experimental version in Debian Sid and it failed to find my modem at all. That nearly doubled my speed and drops and failures became rare. I will probably remove it but for the time I want it to suspend function.
In /etc/init.d I stored this file:
#!/bin/sh
# NOMODEMMANAGER.sh DHM, Feb'19
# The ModemManager appears to slow down and interfere with the internet on my Dell laptop.
ModemManager --no-auto-scan
add a comment |
I found this had only a deleterious function when I tried the experimental version in Debian Sid and it failed to find my modem at all. That nearly doubled my speed and drops and failures became rare. I will probably remove it but for the time I want it to suspend function.
In /etc/init.d I stored this file:
#!/bin/sh
# NOMODEMMANAGER.sh DHM, Feb'19
# The ModemManager appears to slow down and interfere with the internet on my Dell laptop.
ModemManager --no-auto-scan
add a comment |
I found this had only a deleterious function when I tried the experimental version in Debian Sid and it failed to find my modem at all. That nearly doubled my speed and drops and failures became rare. I will probably remove it but for the time I want it to suspend function.
In /etc/init.d I stored this file:
#!/bin/sh
# NOMODEMMANAGER.sh DHM, Feb'19
# The ModemManager appears to slow down and interfere with the internet on my Dell laptop.
ModemManager --no-auto-scan
I found this had only a deleterious function when I tried the experimental version in Debian Sid and it failed to find my modem at all. That nearly doubled my speed and drops and failures became rare. I will probably remove it but for the time I want it to suspend function.
In /etc/init.d I stored this file:
#!/bin/sh
# NOMODEMMANAGER.sh DHM, Feb'19
# The ModemManager appears to slow down and interfere with the internet on my Dell laptop.
ModemManager --no-auto-scan
edited yesterday
Kevin Bowen
14.5k155970
14.5k155970
answered yesterday
dhmdhm
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f216114%2fhow-can-i-remove-modem-manager-from-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Found this question after getting intermittent "SAM-BA operation failed" error using Arduino IDE to flash an Adafruit Feather M0- see digistump.com/board/index.php/… . Executing
systemctl status ModemManager.serviceshows that modem-manager is the culprit:Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'– Roberto Tyley
Mar 18 '17 at 23:06