Gateway webinterface becoming unresponive

classic Classic list List threaded Threaded
47 messages Options
123
Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

J.sim

Just a thought about the email alerts. How does OHS resolve address for smtp2go? I may have a different DNS setup (somehow I don’t know what you are running but my place is using dnsmasq from r-pi  and then I connect to mates place via a ubiquiti wireless bridge down the hill for internet).

 

I just had the sudden thought that you may have made the default gateway the DNS service which in my case it is not.

 

Im trying to figure it out by looking through the librarys. About time I learnt some more about it all…

Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

J.sim
In reply to this post by vysocan

I think the bit I circled in red is meant to be the DNS Server address? Which you have presumed would be the same as the gateway?? Fair enough of course. Its just blokes like me that like to get the internet free from my mate that mucks it up…

Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

vysocan
Administrator
Hello,

you are right the function is: Ethernet.begin(mac, ip, dns, gateway, subnet);

And usually your NAT device, be it router or rpi(dnsmasq), also serves as local DSN. I'm pretty sure your dnsmasq is doing so, unless you configured it otherwise. Or do you have it setup differently? I mean the gateway is not at your place, but only at your mate place?
Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

J.sim

Yes I have made the wireless bridge client my gateway and I set up a separate dns on a pi with the mqtt on it. The idea was because the wireless bridge unit  wasn’t able to do ntp – something I hadn’t managed to get work properly yet.

 

I will change that tonight as I think the bridge can act as a dns unit. Typically it is usually set up to assign the the isp’s DNS servers to dhcp requests.

Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

vysocan
Administrator
Hello,

just a question, why do you need a local NTP server? For the GW or there is different reason?
Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

J.sim

Nope, there is no need for local ntp server, I was just not getting to pick up the ntp time earlier. However since I changed my network around to suit OHS better it seems to be working fine from the NZ ntp.org servers.

 

Interestingly on the note of emails I notice that in checking logs I found that it wasn’t logging in correctly so I double checked and found I had a mistake on the password. Then after that I was getting another error about the body of the email failing to load

 

Also sms or page doesn’t seem to work but it may because of my sim card plan running out. Im not sure just yet I have had time to follow that up.

 

Other than that all works well now and I will get started into the documentation soon.

Reply | Threaded
Open this post in threaded view
|

RE: Gateway webinterface becoming unresponive

vysocan
Administrator
If I add DNS into setup, I would need to move to next major version, as this require EEPROM structure change. This I would like to avoid, since there was release just recently.

Body rejected, it means the actual message has some mistake in it. Which is not likely, do you have a correct email in some of your contacts? Is the contact enabled and has proper group or is it global?

Sim card has to have no pin set up. Maybe this?

Great
123