On Friday, 22 June 2018 12:33:30 BST Terry Coles wrote:
> Now I can get back to installing NodogSplash....
Well. Not quite. My test setup had the Client as a Raspberry Pi with a fixed
IP address,
whereas the final setup will be a Wi-Fi AP with mobile clients looking for an
IP Address.
When I put my simulated AP back in to the system, none of the clients got an IP
Address.
It's taken pretty much all day, but I think I now have it working (with a Pi
Client at least).
There were several problems, but the main one was the 'bind-interfaces' entry
in
dnsmasq.conf. This prevented the DHCP server from starting properly until
dnsmasq was
restarted.
Also, I found out how to set the METRIC value in the routes. That took me a
while,
because it isn't mentioned in the man pages for route or iptables and the
references in the
man page for ip didn't actually explain it very well (to me it least). I then
found a web page
with a posting that showed how it could be set up in dhcpcd.conf, viz:
interface eth0
static ip_address=192.168.0.1/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1
metric 200
interface eth1
metric 100
The system barfs at the moment, because eth0 does not have a domain name
server, but
it will do :-)
Now I can get back to installing NodogSplash.... :-)
--
Terry Coles
--
Next meeting: Bournemouth, Tuesday, 2018-07-03 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING
Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR