Complex wifi hotspot configuration in 18.04












0














I'm running Ubuntu 18.04.1 LTS on an Orange Pi zero which has an ethernet port and wifi. using nmtui I was able to get the basic funcionality working.



The lan has static configuration for my network and i'm trying to set up the access point to behave in a more integrated fashion than as a basic hotspot.



At the moment the wifi access point setup is as follows



wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
inet6 fe80::1042:65ff:fea4:81c9 prefixlen 64 scopeid 0x20<link>
ether 12:42:65:a4:81:c9 txqueuelen 1000 (Ethernet)


In nmtui it is simply setup as "shared" because attempts to set it up any other way resulted in a non functioning access point.



My network is router controlled and has a dhcp range of 192.168.2.100 to 192.168.2.200



with the router ip address as 192.168.2.1 and a 255.255.255.0 subnet.



What I want is the access point client connections to be on the same network as the lan (192.168.2.x) instead of 10.42.0.x range that they're issued in.



Secondary to that i'm flexible as to how the ip addresses are allocated. Either (depending on what is possible) get ip addresses allocated by the router or set up to allocate ip addresses in the range above 192.168.2.200



Google hasn't given me any useful information on this. nmtui does not appear to be well documented.



network manager documentation for ubuntu has pretty much nothing on access point configurations see: https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections



So basically i'm struggling to determine what is even possible let alone how to do it.



Other info that might help...



Device supports AP-side u-APSD.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CCMP-256 (00-0f-ac:10)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO


Thanks










share|improve this question



























    0














    I'm running Ubuntu 18.04.1 LTS on an Orange Pi zero which has an ethernet port and wifi. using nmtui I was able to get the basic funcionality working.



    The lan has static configuration for my network and i'm trying to set up the access point to behave in a more integrated fashion than as a basic hotspot.



    At the moment the wifi access point setup is as follows



    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
    inet6 fe80::1042:65ff:fea4:81c9 prefixlen 64 scopeid 0x20<link>
    ether 12:42:65:a4:81:c9 txqueuelen 1000 (Ethernet)


    In nmtui it is simply setup as "shared" because attempts to set it up any other way resulted in a non functioning access point.



    My network is router controlled and has a dhcp range of 192.168.2.100 to 192.168.2.200



    with the router ip address as 192.168.2.1 and a 255.255.255.0 subnet.



    What I want is the access point client connections to be on the same network as the lan (192.168.2.x) instead of 10.42.0.x range that they're issued in.



    Secondary to that i'm flexible as to how the ip addresses are allocated. Either (depending on what is possible) get ip addresses allocated by the router or set up to allocate ip addresses in the range above 192.168.2.200



    Google hasn't given me any useful information on this. nmtui does not appear to be well documented.



    network manager documentation for ubuntu has pretty much nothing on access point configurations see: https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections



    So basically i'm struggling to determine what is even possible let alone how to do it.



    Other info that might help...



    Device supports AP-side u-APSD.
    Supported Ciphers:
    * WEP40 (00-0f-ac:1)
    * WEP104 (00-0f-ac:5)
    * TKIP (00-0f-ac:2)
    * CCMP-128 (00-0f-ac:4)
    * CCMP-256 (00-0f-ac:10)
    * GCMP-128 (00-0f-ac:8)
    * GCMP-256 (00-0f-ac:9)
    Available Antennas: TX 0 RX 0
    Supported interface modes:
    * IBSS
    * managed
    * AP
    * AP/VLAN
    * monitor
    * mesh point
    * P2P-client
    * P2P-GO


    Thanks










    share|improve this question

























      0












      0








      0







      I'm running Ubuntu 18.04.1 LTS on an Orange Pi zero which has an ethernet port and wifi. using nmtui I was able to get the basic funcionality working.



      The lan has static configuration for my network and i'm trying to set up the access point to behave in a more integrated fashion than as a basic hotspot.



      At the moment the wifi access point setup is as follows



      wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
      inet6 fe80::1042:65ff:fea4:81c9 prefixlen 64 scopeid 0x20<link>
      ether 12:42:65:a4:81:c9 txqueuelen 1000 (Ethernet)


      In nmtui it is simply setup as "shared" because attempts to set it up any other way resulted in a non functioning access point.



      My network is router controlled and has a dhcp range of 192.168.2.100 to 192.168.2.200



      with the router ip address as 192.168.2.1 and a 255.255.255.0 subnet.



      What I want is the access point client connections to be on the same network as the lan (192.168.2.x) instead of 10.42.0.x range that they're issued in.



      Secondary to that i'm flexible as to how the ip addresses are allocated. Either (depending on what is possible) get ip addresses allocated by the router or set up to allocate ip addresses in the range above 192.168.2.200



      Google hasn't given me any useful information on this. nmtui does not appear to be well documented.



      network manager documentation for ubuntu has pretty much nothing on access point configurations see: https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections



      So basically i'm struggling to determine what is even possible let alone how to do it.



      Other info that might help...



      Device supports AP-side u-APSD.
      Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP-128 (00-0f-ac:4)
      * CCMP-256 (00-0f-ac:10)
      * GCMP-128 (00-0f-ac:8)
      * GCMP-256 (00-0f-ac:9)
      Available Antennas: TX 0 RX 0
      Supported interface modes:
      * IBSS
      * managed
      * AP
      * AP/VLAN
      * monitor
      * mesh point
      * P2P-client
      * P2P-GO


      Thanks










      share|improve this question













      I'm running Ubuntu 18.04.1 LTS on an Orange Pi zero which has an ethernet port and wifi. using nmtui I was able to get the basic funcionality working.



      The lan has static configuration for my network and i'm trying to set up the access point to behave in a more integrated fashion than as a basic hotspot.



      At the moment the wifi access point setup is as follows



      wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
      inet6 fe80::1042:65ff:fea4:81c9 prefixlen 64 scopeid 0x20<link>
      ether 12:42:65:a4:81:c9 txqueuelen 1000 (Ethernet)


      In nmtui it is simply setup as "shared" because attempts to set it up any other way resulted in a non functioning access point.



      My network is router controlled and has a dhcp range of 192.168.2.100 to 192.168.2.200



      with the router ip address as 192.168.2.1 and a 255.255.255.0 subnet.



      What I want is the access point client connections to be on the same network as the lan (192.168.2.x) instead of 10.42.0.x range that they're issued in.



      Secondary to that i'm flexible as to how the ip addresses are allocated. Either (depending on what is possible) get ip addresses allocated by the router or set up to allocate ip addresses in the range above 192.168.2.200



      Google hasn't given me any useful information on this. nmtui does not appear to be well documented.



      network manager documentation for ubuntu has pretty much nothing on access point configurations see: https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections



      So basically i'm struggling to determine what is even possible let alone how to do it.



      Other info that might help...



      Device supports AP-side u-APSD.
      Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP-128 (00-0f-ac:4)
      * CCMP-256 (00-0f-ac:10)
      * GCMP-128 (00-0f-ac:8)
      * GCMP-256 (00-0f-ac:9)
      Available Antennas: TX 0 RX 0
      Supported interface modes:
      * IBSS
      * managed
      * AP
      * AP/VLAN
      * monitor
      * mesh point
      * P2P-client
      * P2P-GO


      Thanks







      network-manager dhcp wireless-access-point






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      m12lrpvm12lrpv

      1112




      1112






















          0






          active

          oldest

          votes











          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%2f1107120%2fcomplex-wifi-hotspot-configuration-in-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1107120%2fcomplex-wifi-hotspot-configuration-in-18-04%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

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀