How can I share my WiFi connection through Bluetooth?











up vote
5
down vote

favorite












I'm trying to setup a NAT on a Raspberry Pi using a WiFi and Bluetooth dongle. The idea would be to access my WiFi (obviously I've got that part working) and make this connection available to devices that have Bluetooth, but no WiFi.



Bluetooth seems to be a complete mess, at least when it comes to coherent documentation.



Obviously I've Googled the problem. The most recent posts (typically 5-6 years old) are typically referring to config files that don't exist in current distributions.



I'm trying to set it up on Debian 8, or for testing on a VM, Ubuntu 16.04.










share|improve this question
























  • by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
    – strugee
    Nov 1 '16 at 23:11










  • Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
    – Mulle
    Nov 1 '16 at 23:27












  • NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
    – thaller
    Nov 2 '16 at 7:18

















up vote
5
down vote

favorite












I'm trying to setup a NAT on a Raspberry Pi using a WiFi and Bluetooth dongle. The idea would be to access my WiFi (obviously I've got that part working) and make this connection available to devices that have Bluetooth, but no WiFi.



Bluetooth seems to be a complete mess, at least when it comes to coherent documentation.



Obviously I've Googled the problem. The most recent posts (typically 5-6 years old) are typically referring to config files that don't exist in current distributions.



I'm trying to set it up on Debian 8, or for testing on a VM, Ubuntu 16.04.










share|improve this question
























  • by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
    – strugee
    Nov 1 '16 at 23:11










  • Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
    – Mulle
    Nov 1 '16 at 23:27












  • NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
    – thaller
    Nov 2 '16 at 7:18















up vote
5
down vote

favorite









up vote
5
down vote

favorite











I'm trying to setup a NAT on a Raspberry Pi using a WiFi and Bluetooth dongle. The idea would be to access my WiFi (obviously I've got that part working) and make this connection available to devices that have Bluetooth, but no WiFi.



Bluetooth seems to be a complete mess, at least when it comes to coherent documentation.



Obviously I've Googled the problem. The most recent posts (typically 5-6 years old) are typically referring to config files that don't exist in current distributions.



I'm trying to set it up on Debian 8, or for testing on a VM, Ubuntu 16.04.










share|improve this question















I'm trying to setup a NAT on a Raspberry Pi using a WiFi and Bluetooth dongle. The idea would be to access my WiFi (obviously I've got that part working) and make this connection available to devices that have Bluetooth, but no WiFi.



Bluetooth seems to be a complete mess, at least when it comes to coherent documentation.



Obviously I've Googled the problem. The most recent posts (typically 5-6 years old) are typically referring to config files that don't exist in current distributions.



I'm trying to set it up on Debian 8, or for testing on a VM, Ubuntu 16.04.







networking wifi networkmanager bluetooth






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 1 '16 at 23:29









strugee

8,1241253102




8,1241253102










asked Nov 1 '16 at 22:29









Mulle

263




263












  • by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
    – strugee
    Nov 1 '16 at 23:11










  • Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
    – Mulle
    Nov 1 '16 at 23:27












  • NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
    – thaller
    Nov 2 '16 at 7:18




















  • by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
    – strugee
    Nov 1 '16 at 23:11










  • Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
    – Mulle
    Nov 1 '16 at 23:27












  • NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
    – thaller
    Nov 2 '16 at 7:18


















by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
– strugee
Nov 1 '16 at 23:11




by "raspberry" I assume you mean a Raspberry Pi? also, I don't know offhand the exact steps to do this, but I'm betting that the easiest solution will be to just install NetworkManager.
– strugee
Nov 1 '16 at 23:11












Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
– Mulle
Nov 1 '16 at 23:27






Sorry, yes. By raspberry I mean a Raspberry Pi in any of it's versions and forms. It was only mentioned to motivate the problem. The NetworkManager, as far as I understood so far, does not connect the bits and bolts of the bluetooth stack. It might somehow help creating bridge devices. My point is rather the complete lag of up-to-date documentation on the entire process
– Mulle
Nov 1 '16 at 23:27














NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
– thaller
Nov 2 '16 at 7:18






NetworkManager cannot do the server-side of Bluetooth (at least, it cannot create such a setup, you might be able to use NetworkManager to configure IP and NAT on top of the devices you created). I suspect the way to do that is using bluez...
– thaller
Nov 2 '16 at 7:18












2 Answers
2






active

oldest

votes

















up vote
0
down vote













I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked answer:



In order to share a wifi connection over bluetooth so that other devices can access the internet through this wifi connection, this worked for me:





  1. Install blueman package.



    $ sudo apt install blueman




  2. From a terminal window, open Blueman Local Services:



    $ blueman-services




Blueman Local Services window




  1. Just fill the above window as specified and click "Apply" (if it is grayed, just change anything and revert).



  2. Open Blueman Manager to make it easier to connect devices.



    $ blueman-manager




Blue Manager window



Then, to use this connection from my Android phone:




  1. Pair Android 6.0.1 phone and computer


1.1 Enable bluetooth



1.2 Enter bluetooth settings and make device discoverable



1.3 On PC, click "Search", find your phone and click the Keys button on the toolbar.



1.4 Confirm pairing both on your phone AND on PC.



1.5 Optionally you can mark this connection as "Trusted" by clicking the Star button on the Blueman Manager window.




  1. Enable network connection from Android phone


2.1 Enter bluetooth settings and click the area pointed by the following image.



Bluetooth settings



2.2 From the screen that will open, turn on the "Internet access" option.



Bluetooth device configuration



That's it. Within a few seconds, I had internet.



The procedure is very similar if you want to connect another device to the internet, such as a Windows PC. Just pair and enable internet through the connection.



My OS:



$ cat /etc/issue
Ubuntu 17.10 n l


Bottom note: I know the OP asked for the procedure for a Raspberry Pi, but, as it is Debian-based, everything I wrote applies.






share|improve this answer




























    up vote
    -1
    down vote













    You can share your internet connection on Linux through blueman



    it can be installed on debian based distro through:



    apt-get install blueman


    From the blueman-applet (network-manager on Ubuntu ..) choose Network then Local service then Check Network access Point NAP and Apply






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      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',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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%2funix.stackexchange.com%2fquestions%2f320428%2fhow-can-i-share-my-wifi-connection-through-bluetooth%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked answer:



      In order to share a wifi connection over bluetooth so that other devices can access the internet through this wifi connection, this worked for me:





      1. Install blueman package.



        $ sudo apt install blueman




      2. From a terminal window, open Blueman Local Services:



        $ blueman-services




      Blueman Local Services window




      1. Just fill the above window as specified and click "Apply" (if it is grayed, just change anything and revert).



      2. Open Blueman Manager to make it easier to connect devices.



        $ blueman-manager




      Blue Manager window



      Then, to use this connection from my Android phone:




      1. Pair Android 6.0.1 phone and computer


      1.1 Enable bluetooth



      1.2 Enter bluetooth settings and make device discoverable



      1.3 On PC, click "Search", find your phone and click the Keys button on the toolbar.



      1.4 Confirm pairing both on your phone AND on PC.



      1.5 Optionally you can mark this connection as "Trusted" by clicking the Star button on the Blueman Manager window.




      1. Enable network connection from Android phone


      2.1 Enter bluetooth settings and click the area pointed by the following image.



      Bluetooth settings



      2.2 From the screen that will open, turn on the "Internet access" option.



      Bluetooth device configuration



      That's it. Within a few seconds, I had internet.



      The procedure is very similar if you want to connect another device to the internet, such as a Windows PC. Just pair and enable internet through the connection.



      My OS:



      $ cat /etc/issue
      Ubuntu 17.10 n l


      Bottom note: I know the OP asked for the procedure for a Raspberry Pi, but, as it is Debian-based, everything I wrote applies.






      share|improve this answer

























        up vote
        0
        down vote













        I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked answer:



        In order to share a wifi connection over bluetooth so that other devices can access the internet through this wifi connection, this worked for me:





        1. Install blueman package.



          $ sudo apt install blueman




        2. From a terminal window, open Blueman Local Services:



          $ blueman-services




        Blueman Local Services window




        1. Just fill the above window as specified and click "Apply" (if it is grayed, just change anything and revert).



        2. Open Blueman Manager to make it easier to connect devices.



          $ blueman-manager




        Blue Manager window



        Then, to use this connection from my Android phone:




        1. Pair Android 6.0.1 phone and computer


        1.1 Enable bluetooth



        1.2 Enter bluetooth settings and make device discoverable



        1.3 On PC, click "Search", find your phone and click the Keys button on the toolbar.



        1.4 Confirm pairing both on your phone AND on PC.



        1.5 Optionally you can mark this connection as "Trusted" by clicking the Star button on the Blueman Manager window.




        1. Enable network connection from Android phone


        2.1 Enter bluetooth settings and click the area pointed by the following image.



        Bluetooth settings



        2.2 From the screen that will open, turn on the "Internet access" option.



        Bluetooth device configuration



        That's it. Within a few seconds, I had internet.



        The procedure is very similar if you want to connect another device to the internet, such as a Windows PC. Just pair and enable internet through the connection.



        My OS:



        $ cat /etc/issue
        Ubuntu 17.10 n l


        Bottom note: I know the OP asked for the procedure for a Raspberry Pi, but, as it is Debian-based, everything I wrote applies.






        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked answer:



          In order to share a wifi connection over bluetooth so that other devices can access the internet through this wifi connection, this worked for me:





          1. Install blueman package.



            $ sudo apt install blueman




          2. From a terminal window, open Blueman Local Services:



            $ blueman-services




          Blueman Local Services window




          1. Just fill the above window as specified and click "Apply" (if it is grayed, just change anything and revert).



          2. Open Blueman Manager to make it easier to connect devices.



            $ blueman-manager




          Blue Manager window



          Then, to use this connection from my Android phone:




          1. Pair Android 6.0.1 phone and computer


          1.1 Enable bluetooth



          1.2 Enter bluetooth settings and make device discoverable



          1.3 On PC, click "Search", find your phone and click the Keys button on the toolbar.



          1.4 Confirm pairing both on your phone AND on PC.



          1.5 Optionally you can mark this connection as "Trusted" by clicking the Star button on the Blueman Manager window.




          1. Enable network connection from Android phone


          2.1 Enter bluetooth settings and click the area pointed by the following image.



          Bluetooth settings



          2.2 From the screen that will open, turn on the "Internet access" option.



          Bluetooth device configuration



          That's it. Within a few seconds, I had internet.



          The procedure is very similar if you want to connect another device to the internet, such as a Windows PC. Just pair and enable internet through the connection.



          My OS:



          $ cat /etc/issue
          Ubuntu 17.10 n l


          Bottom note: I know the OP asked for the procedure for a Raspberry Pi, but, as it is Debian-based, everything I wrote applies.






          share|improve this answer












          I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked answer:



          In order to share a wifi connection over bluetooth so that other devices can access the internet through this wifi connection, this worked for me:





          1. Install blueman package.



            $ sudo apt install blueman




          2. From a terminal window, open Blueman Local Services:



            $ blueman-services




          Blueman Local Services window




          1. Just fill the above window as specified and click "Apply" (if it is grayed, just change anything and revert).



          2. Open Blueman Manager to make it easier to connect devices.



            $ blueman-manager




          Blue Manager window



          Then, to use this connection from my Android phone:




          1. Pair Android 6.0.1 phone and computer


          1.1 Enable bluetooth



          1.2 Enter bluetooth settings and make device discoverable



          1.3 On PC, click "Search", find your phone and click the Keys button on the toolbar.



          1.4 Confirm pairing both on your phone AND on PC.



          1.5 Optionally you can mark this connection as "Trusted" by clicking the Star button on the Blueman Manager window.




          1. Enable network connection from Android phone


          2.1 Enter bluetooth settings and click the area pointed by the following image.



          Bluetooth settings



          2.2 From the screen that will open, turn on the "Internet access" option.



          Bluetooth device configuration



          That's it. Within a few seconds, I had internet.



          The procedure is very similar if you want to connect another device to the internet, such as a Windows PC. Just pair and enable internet through the connection.



          My OS:



          $ cat /etc/issue
          Ubuntu 17.10 n l


          Bottom note: I know the OP asked for the procedure for a Raspberry Pi, but, as it is Debian-based, everything I wrote applies.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          Alexandre Schmidt

          1113




          1113
























              up vote
              -1
              down vote













              You can share your internet connection on Linux through blueman



              it can be installed on debian based distro through:



              apt-get install blueman


              From the blueman-applet (network-manager on Ubuntu ..) choose Network then Local service then Check Network access Point NAP and Apply






              share|improve this answer

























                up vote
                -1
                down vote













                You can share your internet connection on Linux through blueman



                it can be installed on debian based distro through:



                apt-get install blueman


                From the blueman-applet (network-manager on Ubuntu ..) choose Network then Local service then Check Network access Point NAP and Apply






                share|improve this answer























                  up vote
                  -1
                  down vote










                  up vote
                  -1
                  down vote









                  You can share your internet connection on Linux through blueman



                  it can be installed on debian based distro through:



                  apt-get install blueman


                  From the blueman-applet (network-manager on Ubuntu ..) choose Network then Local service then Check Network access Point NAP and Apply






                  share|improve this answer












                  You can share your internet connection on Linux through blueman



                  it can be installed on debian based distro through:



                  apt-get install blueman


                  From the blueman-applet (network-manager on Ubuntu ..) choose Network then Local service then Check Network access Point NAP and Apply







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 2 '16 at 8:37









                  GAD3R

                  25.1k1749106




                  25.1k1749106






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • 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%2funix.stackexchange.com%2fquestions%2f320428%2fhow-can-i-share-my-wifi-connection-through-bluetooth%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

                      Entries order in /etc/network/interfaces

                      新発田市

                      Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)