There seems to be a problem with Hotspot and would like to put together a script that will resolve this automaticly until i can find out what is causing the issue.
Essentially a hotspot client is being given the same IP as our core router, this is not being handed out by the DHP server and its not staticly assigned anywhere in the network. I can see no reason for this to happen but it does and not only on this one client.
What I have decided to do in the interum is to look at the hosts table every 5 mins and see if our gateway IP has been assigned to anyone. If so then it removes that record frmo the hosts. Curently if i do this manually evryting works OK and the client can get back on the net.
However for some reason when I run..
/ip hotspot host find address=192.168.0.1
no value is returned, from what i have read this should return the index item then i can use that to delete the record similar to this....
:foreach i in=[/ip hotspot host find address=192.168.0.1]\
do={[/ip hotspot host remove $i]}
Can anyone cast any light on what i should be doing?
Regards
Andrew