Actions
Bug #662
closedimwww's base address doesn't match dhcpd.conf.uap0
Start date:
12 Aug 2018
Due date:
% Done:
100%
Estimated time:
Severity:
01 - Critical
Description
The /etc/network/dhcpd.conf.uap0 configuration has the following for the network to manage.
subnet 172.21.0.0 netmask 255.255.255.0 {When the users sets a base address using imwww we need to change this to use the network portion of the address. Since this is point-to-point (Iot device to monitor) we can always uses 24/8 for the network portion. So to fix this problem:
- Move /etc/network/dhcpd.conf.uap0 to /etc/network/dhcpd.conf.uap0.template
- Change the subnet IP from 172.21.0.0 to [BASENET]
- Make php/settings-write.php:saveAccessPoint()
- copy the template to /etc/network/dhcpd.conf.uap0
- Swap the [BASENET] tag with the base address, sans host octet.
That way the dhcpd daemon can properly assign IPs to the sensor network.
Actions