Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters...

Do I have an "anti-research" personality?

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

Do I have to worry about players making “bad” choices on level up?

Pulling the rope with one hand is as heavy as with two hands?

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Rivers without rain

How to have a sharp product image?

How to reduce LED flash rate (frequency)

Apply MapThread to all but one variable

What language was spoken in East Asia before Proto-Turkic?

Can someone publish a story that happened to you?

how to sum variables from file in bash

How to solve constants out of the internal energy equation?

What is the difference between `command a[bc]d` and `command `a{b,c}d`

Stop and Take a Breath!

How did Captain America manage to do this?

Combinable filters

How do I reattach a shelf to the wall when it ripped out of the wall?

Phrase for the opposite of "foolproof"

What makes accurate emulation of old systems a difficult task?

Why does processed meat contain preservatives, while canned fish needs not?

Sci fi novel series with instant travel between planets through gates. A river runs through the gates

Why was Germany not as successful as other Europeans in establishing overseas colonies?

A Strange Latex Symbol



Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters (bridge-utils)


no network on domU in network-bridge configuration for Xen-4.0Losing wifi connection to access point after a few minutes (hostapd, dnsmasq, iptables)Setup static IP in redhat 6Debian network disappearingHow do I configure a network interface bridge from WiFi to Ethernet with Debian?How shoud my AP or network be configured?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















My Android phone is trying to get DHCP address through WiFi connection, but fails.



Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let me do everything in one go, thus I had to combine multiple guides, but I still feel a bit new to network configuration on Linux.



What I want to achieve:



- create a WiFi access point and DHCP server where all devices receive IP adresses in the same network. Internet access not required, so no routing needed - just a local network where my server acts as a switch (bridge) providing IP adresses for all devices connected to it through WiFi or Ethernet.



Here's what I have:




  • a Linux machine (actually, Raspberry Pi with Raspbian) with Ralink RT5370 WiFi dongle (which claims to support Access Point) and two Ethernet ports - one is RPi's built-in port and the other is Trendnet TU2-ET100 (chip AX88772)


  • I have installed bridge-utils and dnsmasq and everything works fine with Ethernet connections - all devices connected to RPi Ethernet ports receive their IP addresses from RPi through dnsmasq


  • I have installed hostapd and configured it to be open AP, for starters. I tried to use WPA, but on my Android phone that also failed with "Authentication failure", so I disabled auth. And now my Android device gets stuck while acquiring IP address and then fails.



Here are my config files:



/etc/default/hostapd:



interface=wlan0
hw_mode=g
bridge=br0
channel=1
ssid=FakeTestServer_AP
auth_algs=1
wmm_enabled=0


/etc/default/hostapd:



DAEMON_CONF="/etc/hostapd/hostapd.conf"


/etc/network/interfaces:



auto lo

iface lo inet loopback

auto br0
iface eth0 inet manual
iface eth1 inet manual

iface br0 inet static
bridge_ports eth0 eth1 wlan0
bridge_stp off
bridge_fd 0
bridge_waitport 0
bridge_maxwait 0
address 10.0.0.1
netmask 255.255.255.0


/etc/dnsmasq.conf:



interface=br0
dhcp-range=10.0.0.2,10.0.0.254,255.255.255.0,12h


Here is what ifconfig shows:



br0       Link encap:Ethernet  HWaddr 00:14:d1:da:c7:dc
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::214:d1ff:feda:c7dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1343 errors:0 dropped:0 overruns:0 frame:0
TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:83674 (81.7 KiB) TX bytes:16750 (16.3 KiB)

eth0 Link encap:Ethernet HWaddr b8:27:eb:74:1f:8c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5824 errors:0 dropped:0 overruns:0 frame:0
TX packets:2800 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1448587 (1.3 MiB) TX bytes:1057796 (1.0 MiB)

eth1 Link encap:Ethernet HWaddr 00:14:d1:da:c7:dc
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5353 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1145578 (1.0 MiB) TX bytes:414153 (404.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3744 (3.6 KiB) TX bytes:3744 (3.6 KiB)

mon.wlan0 Link encap:UNSPEC HWaddr 00-C1-40-95-0D-43-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7417 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2107086 (2.0 MiB) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:c1:40:95:0d:43
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:182 errors:0 dropped:0 overruns:0 frame:0
TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31498 (30.7 KiB) TX bytes:21682 (21.1 KiB)


To make it clear, I repeat - the bridge and both Ethernet connections work fine, and there are no any errors when I run:



sudo service hostapd restart
sudo service dnsmasq restart
sudo service networking restart


At the very beginning bridge-utils failed with a message



can't add wlan0 to bridge br0: Operation not supported


but after I added bridge=br0 to hostapd settings, bridge-utils did not complain anymore, so I guess, wlan0 got added to the bridge but I'm not sure what's going on there.



How do I get my WiFi working in Access Point mode and be part of the same bridge as both eth0 and eth1 are?










share|improve this question































    2















    My Android phone is trying to get DHCP address through WiFi connection, but fails.



    Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let me do everything in one go, thus I had to combine multiple guides, but I still feel a bit new to network configuration on Linux.



    What I want to achieve:



    - create a WiFi access point and DHCP server where all devices receive IP adresses in the same network. Internet access not required, so no routing needed - just a local network where my server acts as a switch (bridge) providing IP adresses for all devices connected to it through WiFi or Ethernet.



    Here's what I have:




    • a Linux machine (actually, Raspberry Pi with Raspbian) with Ralink RT5370 WiFi dongle (which claims to support Access Point) and two Ethernet ports - one is RPi's built-in port and the other is Trendnet TU2-ET100 (chip AX88772)


    • I have installed bridge-utils and dnsmasq and everything works fine with Ethernet connections - all devices connected to RPi Ethernet ports receive their IP addresses from RPi through dnsmasq


    • I have installed hostapd and configured it to be open AP, for starters. I tried to use WPA, but on my Android phone that also failed with "Authentication failure", so I disabled auth. And now my Android device gets stuck while acquiring IP address and then fails.



    Here are my config files:



    /etc/default/hostapd:



    interface=wlan0
    hw_mode=g
    bridge=br0
    channel=1
    ssid=FakeTestServer_AP
    auth_algs=1
    wmm_enabled=0


    /etc/default/hostapd:



    DAEMON_CONF="/etc/hostapd/hostapd.conf"


    /etc/network/interfaces:



    auto lo

    iface lo inet loopback

    auto br0
    iface eth0 inet manual
    iface eth1 inet manual

    iface br0 inet static
    bridge_ports eth0 eth1 wlan0
    bridge_stp off
    bridge_fd 0
    bridge_waitport 0
    bridge_maxwait 0
    address 10.0.0.1
    netmask 255.255.255.0


    /etc/dnsmasq.conf:



    interface=br0
    dhcp-range=10.0.0.2,10.0.0.254,255.255.255.0,12h


    Here is what ifconfig shows:



    br0       Link encap:Ethernet  HWaddr 00:14:d1:da:c7:dc
    inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
    inet6 addr: fe80::214:d1ff:feda:c7dc/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1343 errors:0 dropped:0 overruns:0 frame:0
    TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:83674 (81.7 KiB) TX bytes:16750 (16.3 KiB)

    eth0 Link encap:Ethernet HWaddr b8:27:eb:74:1f:8c
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:5824 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2800 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1448587 (1.3 MiB) TX bytes:1057796 (1.0 MiB)

    eth1 Link encap:Ethernet HWaddr 00:14:d1:da:c7:dc
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:5353 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1145578 (1.0 MiB) TX bytes:414153 (404.4 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:52 errors:0 dropped:0 overruns:0 frame:0
    TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3744 (3.6 KiB) TX bytes:3744 (3.6 KiB)

    mon.wlan0 Link encap:UNSPEC HWaddr 00-C1-40-95-0D-43-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7417 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2107086 (2.0 MiB) TX bytes:0 (0.0 B)

    wlan0 Link encap:Ethernet HWaddr 00:c1:40:95:0d:43
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:182 errors:0 dropped:0 overruns:0 frame:0
    TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:31498 (30.7 KiB) TX bytes:21682 (21.1 KiB)


    To make it clear, I repeat - the bridge and both Ethernet connections work fine, and there are no any errors when I run:



    sudo service hostapd restart
    sudo service dnsmasq restart
    sudo service networking restart


    At the very beginning bridge-utils failed with a message



    can't add wlan0 to bridge br0: Operation not supported


    but after I added bridge=br0 to hostapd settings, bridge-utils did not complain anymore, so I guess, wlan0 got added to the bridge but I'm not sure what's going on there.



    How do I get my WiFi working in Access Point mode and be part of the same bridge as both eth0 and eth1 are?










    share|improve this question



























      2












      2








      2


      2






      My Android phone is trying to get DHCP address through WiFi connection, but fails.



      Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let me do everything in one go, thus I had to combine multiple guides, but I still feel a bit new to network configuration on Linux.



      What I want to achieve:



      - create a WiFi access point and DHCP server where all devices receive IP adresses in the same network. Internet access not required, so no routing needed - just a local network where my server acts as a switch (bridge) providing IP adresses for all devices connected to it through WiFi or Ethernet.



      Here's what I have:




      • a Linux machine (actually, Raspberry Pi with Raspbian) with Ralink RT5370 WiFi dongle (which claims to support Access Point) and two Ethernet ports - one is RPi's built-in port and the other is Trendnet TU2-ET100 (chip AX88772)


      • I have installed bridge-utils and dnsmasq and everything works fine with Ethernet connections - all devices connected to RPi Ethernet ports receive their IP addresses from RPi through dnsmasq


      • I have installed hostapd and configured it to be open AP, for starters. I tried to use WPA, but on my Android phone that also failed with "Authentication failure", so I disabled auth. And now my Android device gets stuck while acquiring IP address and then fails.



      Here are my config files:



      /etc/default/hostapd:



      interface=wlan0
      hw_mode=g
      bridge=br0
      channel=1
      ssid=FakeTestServer_AP
      auth_algs=1
      wmm_enabled=0


      /etc/default/hostapd:



      DAEMON_CONF="/etc/hostapd/hostapd.conf"


      /etc/network/interfaces:



      auto lo

      iface lo inet loopback

      auto br0
      iface eth0 inet manual
      iface eth1 inet manual

      iface br0 inet static
      bridge_ports eth0 eth1 wlan0
      bridge_stp off
      bridge_fd 0
      bridge_waitport 0
      bridge_maxwait 0
      address 10.0.0.1
      netmask 255.255.255.0


      /etc/dnsmasq.conf:



      interface=br0
      dhcp-range=10.0.0.2,10.0.0.254,255.255.255.0,12h


      Here is what ifconfig shows:



      br0       Link encap:Ethernet  HWaddr 00:14:d1:da:c7:dc
      inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
      inet6 addr: fe80::214:d1ff:feda:c7dc/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:1343 errors:0 dropped:0 overruns:0 frame:0
      TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:83674 (81.7 KiB) TX bytes:16750 (16.3 KiB)

      eth0 Link encap:Ethernet HWaddr b8:27:eb:74:1f:8c
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:5824 errors:0 dropped:0 overruns:0 frame:0
      TX packets:2800 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1448587 (1.3 MiB) TX bytes:1057796 (1.0 MiB)

      eth1 Link encap:Ethernet HWaddr 00:14:d1:da:c7:dc
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:5353 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1145578 (1.0 MiB) TX bytes:414153 (404.4 KiB)

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:65536 Metric:1
      RX packets:52 errors:0 dropped:0 overruns:0 frame:0
      TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:3744 (3.6 KiB) TX bytes:3744 (3.6 KiB)

      mon.wlan0 Link encap:UNSPEC HWaddr 00-C1-40-95-0D-43-00-00-00-00-00-00-00-00-00-00
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:7417 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:2107086 (2.0 MiB) TX bytes:0 (0.0 B)

      wlan0 Link encap:Ethernet HWaddr 00:c1:40:95:0d:43
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:182 errors:0 dropped:0 overruns:0 frame:0
      TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:31498 (30.7 KiB) TX bytes:21682 (21.1 KiB)


      To make it clear, I repeat - the bridge and both Ethernet connections work fine, and there are no any errors when I run:



      sudo service hostapd restart
      sudo service dnsmasq restart
      sudo service networking restart


      At the very beginning bridge-utils failed with a message



      can't add wlan0 to bridge br0: Operation not supported


      but after I added bridge=br0 to hostapd settings, bridge-utils did not complain anymore, so I guess, wlan0 got added to the bridge but I'm not sure what's going on there.



      How do I get my WiFi working in Access Point mode and be part of the same bridge as both eth0 and eth1 are?










      share|improve this question
















      My Android phone is trying to get DHCP address through WiFi connection, but fails.



      Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let me do everything in one go, thus I had to combine multiple guides, but I still feel a bit new to network configuration on Linux.



      What I want to achieve:



      - create a WiFi access point and DHCP server where all devices receive IP adresses in the same network. Internet access not required, so no routing needed - just a local network where my server acts as a switch (bridge) providing IP adresses for all devices connected to it through WiFi or Ethernet.



      Here's what I have:




      • a Linux machine (actually, Raspberry Pi with Raspbian) with Ralink RT5370 WiFi dongle (which claims to support Access Point) and two Ethernet ports - one is RPi's built-in port and the other is Trendnet TU2-ET100 (chip AX88772)


      • I have installed bridge-utils and dnsmasq and everything works fine with Ethernet connections - all devices connected to RPi Ethernet ports receive their IP addresses from RPi through dnsmasq


      • I have installed hostapd and configured it to be open AP, for starters. I tried to use WPA, but on my Android phone that also failed with "Authentication failure", so I disabled auth. And now my Android device gets stuck while acquiring IP address and then fails.



      Here are my config files:



      /etc/default/hostapd:



      interface=wlan0
      hw_mode=g
      bridge=br0
      channel=1
      ssid=FakeTestServer_AP
      auth_algs=1
      wmm_enabled=0


      /etc/default/hostapd:



      DAEMON_CONF="/etc/hostapd/hostapd.conf"


      /etc/network/interfaces:



      auto lo

      iface lo inet loopback

      auto br0
      iface eth0 inet manual
      iface eth1 inet manual

      iface br0 inet static
      bridge_ports eth0 eth1 wlan0
      bridge_stp off
      bridge_fd 0
      bridge_waitport 0
      bridge_maxwait 0
      address 10.0.0.1
      netmask 255.255.255.0


      /etc/dnsmasq.conf:



      interface=br0
      dhcp-range=10.0.0.2,10.0.0.254,255.255.255.0,12h


      Here is what ifconfig shows:



      br0       Link encap:Ethernet  HWaddr 00:14:d1:da:c7:dc
      inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
      inet6 addr: fe80::214:d1ff:feda:c7dc/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:1343 errors:0 dropped:0 overruns:0 frame:0
      TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:83674 (81.7 KiB) TX bytes:16750 (16.3 KiB)

      eth0 Link encap:Ethernet HWaddr b8:27:eb:74:1f:8c
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:5824 errors:0 dropped:0 overruns:0 frame:0
      TX packets:2800 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1448587 (1.3 MiB) TX bytes:1057796 (1.0 MiB)

      eth1 Link encap:Ethernet HWaddr 00:14:d1:da:c7:dc
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:5353 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1145578 (1.0 MiB) TX bytes:414153 (404.4 KiB)

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:65536 Metric:1
      RX packets:52 errors:0 dropped:0 overruns:0 frame:0
      TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:3744 (3.6 KiB) TX bytes:3744 (3.6 KiB)

      mon.wlan0 Link encap:UNSPEC HWaddr 00-C1-40-95-0D-43-00-00-00-00-00-00-00-00-00-00
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:7417 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:2107086 (2.0 MiB) TX bytes:0 (0.0 B)

      wlan0 Link encap:Ethernet HWaddr 00:c1:40:95:0d:43
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:182 errors:0 dropped:0 overruns:0 frame:0
      TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:31498 (30.7 KiB) TX bytes:21682 (21.1 KiB)


      To make it clear, I repeat - the bridge and both Ethernet connections work fine, and there are no any errors when I run:



      sudo service hostapd restart
      sudo service dnsmasq restart
      sudo service networking restart


      At the very beginning bridge-utils failed with a message



      can't add wlan0 to bridge br0: Operation not supported


      but after I added bridge=br0 to hostapd settings, bridge-utils did not complain anymore, so I guess, wlan0 got added to the bridge but I'm not sure what's going on there.



      How do I get my WiFi working in Access Point mode and be part of the same bridge as both eth0 and eth1 are?







      dhcp bridge access-point






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 6 '17 at 7:26







      JustAMartin

















      asked Apr 16 '15 at 8:49









      JustAMartinJustAMartin

      13329




      13329






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Looking at your /etc/network/interfaces, I don't see wlan0 as one of the interfaces included in the bridge. Adding that would be the place to start.






          share|improve this answer








          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

            – Jeff Schaller
            29 mins ago












          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',
          autoActivateHeartbeat: false,
          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%2f196542%2fcannot-get-ip-address-from-wifi-access-point-hostapd-with-dhcp-dnsmasq-bridg%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














          Looking at your /etc/network/interfaces, I don't see wlan0 as one of the interfaces included in the bridge. Adding that would be the place to start.






          share|improve this answer








          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

            – Jeff Schaller
            29 mins ago
















          0














          Looking at your /etc/network/interfaces, I don't see wlan0 as one of the interfaces included in the bridge. Adding that would be the place to start.






          share|improve this answer








          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

            – Jeff Schaller
            29 mins ago














          0












          0








          0







          Looking at your /etc/network/interfaces, I don't see wlan0 as one of the interfaces included in the bridge. Adding that would be the place to start.






          share|improve this answer








          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          Looking at your /etc/network/interfaces, I don't see wlan0 as one of the interfaces included in the bridge. Adding that would be the place to start.







          share|improve this answer








          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 53 mins ago









          NoahNoah

          11




          11




          New contributor




          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Noah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.













          • Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

            – Jeff Schaller
            29 mins ago



















          • Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

            – Jeff Schaller
            29 mins ago

















          Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

          – Jeff Schaller
          29 mins ago





          Isn't it, though, with bridge_ports eth0 eth1 wlan0 ? And there's an explicit error in that direction: can't add wlan0 to bridge br0: Operation not supported ...

          – Jeff Schaller
          29 mins ago


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f196542%2fcannot-get-ip-address-from-wifi-access-point-hostapd-with-dhcp-dnsmasq-bridg%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

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...