f5a527fb0a
When the POSBox boots without a network cable attached it will automatically launch a wireless AP that people can connect to. This allows them to configure what wireless network the POSBox should connect to. This wireless AP was configured to use the 10.10.0.0/24 subnet. The AP itself was on 10.10.0.1. Although this is fine if used as intended it is a quick way to take down an existing network if you where to plug in an ethernet cable after the wireless AP has started. 10.10.0.1 is commonly used by routers all over the world and plugging in a booted POSBox into their networks will cause serious issues because the POSBox will share the same IP as the router. This moves the POSBox AP to the 10.11.12.0/24 subnet, with the AP on 10.11.12.1. This also makes the DHCP server listen only on wlan0 because otherwise you can end up with two DHCP servers on the same network which would still break stuff. |
||
---|---|---|
.. | ||
dhcpd.conf |