mattlongman / Hassio-Access-Point

Hass.io addon to let you create a WiFi access point, perfect for using WiFi devices on off-grid installations.
MIT License
81 stars 63 forks source link

Dumb AP? #8

Open eduperez opened 2 years ago

eduperez commented 2 years ago

Would it be possible to add an option to just bridge WLAN0 to LAN0, without any DHCP or routing, so the device becomes a "dumb access point", please?

mattlongman commented 2 years ago

Hi @eduperez - I'm looking into this.

G2G2G2G commented 2 years ago

Yea this would be amazing @mattlongman should be able to disable dhcpd, create a bridge device and add it to both interfaces? eth0 and wlan0 I am guessing for 99% of people https://www.raspberrypi.com/documentation/computers/configuration.html#bridging

technically be possible with 2 wifi dongles as well if you want the pi to be an extender I guess (would save that for later)

edit (this is for wifi repeater only, using the same exact network.. so not really a eth0 to wlan0 bridge anymore): I found a tutorial here. If you scroll down in the answer to the section "♦ Setup wifi repeater" https://raspberrypi.stackexchange.com/questions/89803/access-point-as-wifi-router-repeater-optional-with-bridge has all the steps

stegno commented 1 year ago

I am also looking for way to do a bridged dumb AP, since its done, AP could be a part of wifi coverage within home (if same SSID and security) with normal roaming between other APs. Now clients have to reinit wifi connection to change IPs and gateways, so data transmitting stops for a much more time..

HLFCode commented 1 year ago

A wifi/ethernet bridge would solve my problems too. Can you share progress? Happy to collaborate. I can get a pi to bridge but still on steep learning curve with Docker... Thanks @mattlongman for a great addon

G2G2G2G commented 1 year ago

@HLFCode agreed, the docker nightmare that HA imposes made me just rewrite my own home automation with uglier UI

xonestonex commented 1 year ago

My PR https://github.com/home-assistant/operating-system/pull/2304 got merged. With HAOS 10 it will be possible to create a hotspot and bridge it with the ethernet interface directly within NetworkManager. Some nmcli commands and one iptables rule in the addin will be enough to create such dumb AP.

HLFCode commented 1 year ago

Fantastic @xonestonex . Do I have to upgrade from HAOS 9.4 to 10 before I can use it?

voed commented 7 months ago

Can someone explain how to configure it as "Dumb AP"? @xonestonex @eduperez maybe you have an example how to make the bridge?

SpeeterYT commented 2 weeks ago

I would also need that

HLFCode commented 2 weeks ago

Yes please