Tethering not working: Activation failed












0














I am trying to connect to the internet on my mobile phone through tethering. I cannot seem to do this through any of the three methods: bluetooth, wifi hotspot, or usb.



I am using Ubuntu 18.04 and a Huawei Nova.



The phone shows that a device is connected when using bluetooth and wifi tethering but Ubuntu cannot seem to connect. I keep getting an Activation failed message.



I am using the same laptop that I used Ubuntu 16.04 on and tethering was working out of the box. The Ubuntu 16.04 was a regular install compared to this (minimal) installation. Might this have to do with the minimal installation? Some package might not be installed?



Update: Following this post I set the configuration file similarly except for the domain which I left commented. dnsmasq starts when I disable and stop systemd-resolved but the problem persists.










share|improve this question
























  • Do you have dnsmasq installed and configured? dpkg -l dnsmasq
    – heynnema
    Dec 26 '18 at 16:40










  • No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
    – user10853
    Dec 27 '18 at 8:55










  • What kind of configuration?
    – user10853
    Dec 27 '18 at 8:57










  • /etc/dnsmasq.conf, and you can man dnsmasq.
    – heynnema
    Dec 27 '18 at 18:06










  • Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
    – user10853
    Dec 30 '18 at 14:26
















0














I am trying to connect to the internet on my mobile phone through tethering. I cannot seem to do this through any of the three methods: bluetooth, wifi hotspot, or usb.



I am using Ubuntu 18.04 and a Huawei Nova.



The phone shows that a device is connected when using bluetooth and wifi tethering but Ubuntu cannot seem to connect. I keep getting an Activation failed message.



I am using the same laptop that I used Ubuntu 16.04 on and tethering was working out of the box. The Ubuntu 16.04 was a regular install compared to this (minimal) installation. Might this have to do with the minimal installation? Some package might not be installed?



Update: Following this post I set the configuration file similarly except for the domain which I left commented. dnsmasq starts when I disable and stop systemd-resolved but the problem persists.










share|improve this question
























  • Do you have dnsmasq installed and configured? dpkg -l dnsmasq
    – heynnema
    Dec 26 '18 at 16:40










  • No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
    – user10853
    Dec 27 '18 at 8:55










  • What kind of configuration?
    – user10853
    Dec 27 '18 at 8:57










  • /etc/dnsmasq.conf, and you can man dnsmasq.
    – heynnema
    Dec 27 '18 at 18:06










  • Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
    – user10853
    Dec 30 '18 at 14:26














0












0








0







I am trying to connect to the internet on my mobile phone through tethering. I cannot seem to do this through any of the three methods: bluetooth, wifi hotspot, or usb.



I am using Ubuntu 18.04 and a Huawei Nova.



The phone shows that a device is connected when using bluetooth and wifi tethering but Ubuntu cannot seem to connect. I keep getting an Activation failed message.



I am using the same laptop that I used Ubuntu 16.04 on and tethering was working out of the box. The Ubuntu 16.04 was a regular install compared to this (minimal) installation. Might this have to do with the minimal installation? Some package might not be installed?



Update: Following this post I set the configuration file similarly except for the domain which I left commented. dnsmasq starts when I disable and stop systemd-resolved but the problem persists.










share|improve this question















I am trying to connect to the internet on my mobile phone through tethering. I cannot seem to do this through any of the three methods: bluetooth, wifi hotspot, or usb.



I am using Ubuntu 18.04 and a Huawei Nova.



The phone shows that a device is connected when using bluetooth and wifi tethering but Ubuntu cannot seem to connect. I keep getting an Activation failed message.



I am using the same laptop that I used Ubuntu 16.04 on and tethering was working out of the box. The Ubuntu 16.04 was a regular install compared to this (minimal) installation. Might this have to do with the minimal installation? Some package might not be installed?



Update: Following this post I set the configuration file similarly except for the domain which I left commented. dnsmasq starts when I disable and stop systemd-resolved but the problem persists.







18.04 huawei tethering






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 30 '18 at 14:29







user10853

















asked Dec 26 '18 at 15:33









user10853user10853

5061426




5061426












  • Do you have dnsmasq installed and configured? dpkg -l dnsmasq
    – heynnema
    Dec 26 '18 at 16:40










  • No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
    – user10853
    Dec 27 '18 at 8:55










  • What kind of configuration?
    – user10853
    Dec 27 '18 at 8:57










  • /etc/dnsmasq.conf, and you can man dnsmasq.
    – heynnema
    Dec 27 '18 at 18:06










  • Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
    – user10853
    Dec 30 '18 at 14:26


















  • Do you have dnsmasq installed and configured? dpkg -l dnsmasq
    – heynnema
    Dec 26 '18 at 16:40










  • No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
    – user10853
    Dec 27 '18 at 8:55










  • What kind of configuration?
    – user10853
    Dec 27 '18 at 8:57










  • /etc/dnsmasq.conf, and you can man dnsmasq.
    – heynnema
    Dec 27 '18 at 18:06










  • Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
    – user10853
    Dec 30 '18 at 14:26
















Do you have dnsmasq installed and configured? dpkg -l dnsmasq
– heynnema
Dec 26 '18 at 16:40




Do you have dnsmasq installed and configured? dpkg -l dnsmasq
– heynnema
Dec 26 '18 at 16:40












No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
– user10853
Dec 27 '18 at 8:55




No it was not installed. I installed it however it still fails to connect. Moreover, during booting of the system there's a [Failed] Failed to start dnsmas.
– user10853
Dec 27 '18 at 8:55












What kind of configuration?
– user10853
Dec 27 '18 at 8:57




What kind of configuration?
– user10853
Dec 27 '18 at 8:57












/etc/dnsmasq.conf, and you can man dnsmasq.
– heynnema
Dec 27 '18 at 18:06




/etc/dnsmasq.conf, and you can man dnsmasq.
– heynnema
Dec 27 '18 at 18:06












Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
– user10853
Dec 30 '18 at 14:26




Yes it is installed. The config file is the default. It is commented out. I will update my question with the lines I commented out and edited.
– user10853
Dec 30 '18 at 14:26










1 Answer
1






active

oldest

votes


















0















  1. after installing dnsmasq, you need to configure it. Check /etc/dnsmasq.conf.


  2. you can temporarily try setting a unused static IP/DNS addresses in the phone, and see if you can reach the Internet then.


  3. if you're running both dnsmasq and systemd-resolved...



Do a ps auxc | grep -i dns and ps auxc | grep -i resolv and look for dnsmasq and systemd-resolved, and if both are running, you need to disable the DNS part of systemd-resolved by editing /etc/systemd/resolved.conf and...



change:



#DNSStubListener=yes


to:



DNSStubListener=no





share|improve this answer





















  • This entry does not exist in the commented out content. Adding it to the end results in an error about it.
    – user10853
    Dec 30 '18 at 14:25










  • @user10853 what file are you editing?
    – heynnema
    Dec 30 '18 at 16:28











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104681%2ftethering-not-working-activation-failed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0















  1. after installing dnsmasq, you need to configure it. Check /etc/dnsmasq.conf.


  2. you can temporarily try setting a unused static IP/DNS addresses in the phone, and see if you can reach the Internet then.


  3. if you're running both dnsmasq and systemd-resolved...



Do a ps auxc | grep -i dns and ps auxc | grep -i resolv and look for dnsmasq and systemd-resolved, and if both are running, you need to disable the DNS part of systemd-resolved by editing /etc/systemd/resolved.conf and...



change:



#DNSStubListener=yes


to:



DNSStubListener=no





share|improve this answer





















  • This entry does not exist in the commented out content. Adding it to the end results in an error about it.
    – user10853
    Dec 30 '18 at 14:25










  • @user10853 what file are you editing?
    – heynnema
    Dec 30 '18 at 16:28
















0















  1. after installing dnsmasq, you need to configure it. Check /etc/dnsmasq.conf.


  2. you can temporarily try setting a unused static IP/DNS addresses in the phone, and see if you can reach the Internet then.


  3. if you're running both dnsmasq and systemd-resolved...



Do a ps auxc | grep -i dns and ps auxc | grep -i resolv and look for dnsmasq and systemd-resolved, and if both are running, you need to disable the DNS part of systemd-resolved by editing /etc/systemd/resolved.conf and...



change:



#DNSStubListener=yes


to:



DNSStubListener=no





share|improve this answer





















  • This entry does not exist in the commented out content. Adding it to the end results in an error about it.
    – user10853
    Dec 30 '18 at 14:25










  • @user10853 what file are you editing?
    – heynnema
    Dec 30 '18 at 16:28














0












0








0







  1. after installing dnsmasq, you need to configure it. Check /etc/dnsmasq.conf.


  2. you can temporarily try setting a unused static IP/DNS addresses in the phone, and see if you can reach the Internet then.


  3. if you're running both dnsmasq and systemd-resolved...



Do a ps auxc | grep -i dns and ps auxc | grep -i resolv and look for dnsmasq and systemd-resolved, and if both are running, you need to disable the DNS part of systemd-resolved by editing /etc/systemd/resolved.conf and...



change:



#DNSStubListener=yes


to:



DNSStubListener=no





share|improve this answer













  1. after installing dnsmasq, you need to configure it. Check /etc/dnsmasq.conf.


  2. you can temporarily try setting a unused static IP/DNS addresses in the phone, and see if you can reach the Internet then.


  3. if you're running both dnsmasq and systemd-resolved...



Do a ps auxc | grep -i dns and ps auxc | grep -i resolv and look for dnsmasq and systemd-resolved, and if both are running, you need to disable the DNS part of systemd-resolved by editing /etc/systemd/resolved.conf and...



change:



#DNSStubListener=yes


to:



DNSStubListener=no






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 27 '18 at 11:47









heynnemaheynnema

18.2k22054




18.2k22054












  • This entry does not exist in the commented out content. Adding it to the end results in an error about it.
    – user10853
    Dec 30 '18 at 14:25










  • @user10853 what file are you editing?
    – heynnema
    Dec 30 '18 at 16:28


















  • This entry does not exist in the commented out content. Adding it to the end results in an error about it.
    – user10853
    Dec 30 '18 at 14:25










  • @user10853 what file are you editing?
    – heynnema
    Dec 30 '18 at 16:28
















This entry does not exist in the commented out content. Adding it to the end results in an error about it.
– user10853
Dec 30 '18 at 14:25




This entry does not exist in the commented out content. Adding it to the end results in an error about it.
– user10853
Dec 30 '18 at 14:25












@user10853 what file are you editing?
– heynnema
Dec 30 '18 at 16:28




@user10853 what file are you editing?
– heynnema
Dec 30 '18 at 16:28


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104681%2ftethering-not-working-activation-failed%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido