test5m warnings.

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

test5m warnings.

Post by ConligWX » Sat Dec 08, 2018 6:09 pm

looking at meteobridhe nano messages I see this:

test5m (08.12.2018 13:36:26): Disconnected from the Internet, try to connect again.
test5m (08.12.2018 13:41:26): Disconnected from the Internet, try to connect again.
test5m (08.12.2018 14:01:22): Disconnected from the Internet, try to connect again.

my internet connection has not dropped, so why am I seeing them? is this a buggy script?
Last edited by ConligWX on Sun Dec 09, 2018 1:54 am, edited 1 time in total.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

Re: test5m warnings.

Post by admin » Sat Dec 08, 2018 9:50 pm

I added a feature that tests every 5 minutes if the Meteobridge can still reach the Internet. If that fails, your router does not reach out to the Internet or the Meteobridge WiFi connection to your router is not responding as expected. Having detected this situation Meteobridge rebuilds the WLAN connection and drops a message in the messages log.

bardek
Senior Boarder
Senior Boarder
Posts: 40
Joined: Fri Jan 16, 2015 7:49 pm
Contact:

Re: test5m warnings. **solved**

Post by bardek » Sat Dec 08, 2018 11:12 pm

does it solve problem when Nano SD loose WLAN (temporal Access Point failure or so) connection and does not reconnect?
In such situation only reboot fixed the problem.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Sun Dec 09, 2018 12:40 am

admin wrote:
Sat Dec 08, 2018 9:50 pm
I added a feature that tests every 5 minutes if the Meteobridge can still reach the Internet. If that fails, your router does not reach out to the Internet or the Meteobridge WiFi connection to your router is not responding as expected. Having detected this situation Meteobridge rebuilds the WLAN connection and drops a message in the messages log.
think I may have found an issue. One of my my Ubiquiti AC-Pro's is on is the same as the Meteobridge-xxxxxx broadcast (Channel 6). is there anyway of turning this SSID off from transmitting? or is it on forever even though it is not joined to my local network.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings. **solved**

Post by ConligWX » Sun Dec 09, 2018 1:50 am

Just looking at a Wifi Analyzer.

Meteorbidge is transmitting on a 40Mhz band. is there anyway I can reduce this to a 20mhz along with its power output?
Screenshot_20181208-235014.jpg
Screenshot_20181208-235014.jpg (43.42 KiB) Viewed 812 times
as you see Meteobridge Nano is crossing multiple bands with 40mhz and transmitting near max power too. I'd like to turn this off (factory reset would enable it again) or at least lower its power output and down to 20mhz band and be able to slect a channel if possible

this will be interfering with wifi throughput and possible loss of connection.

Mattk
Platinum Boarder
Platinum Boarder
Posts: 752
Joined: Mon Sep 22, 2014 3:24 am

Re: test5m warnings.

Post by Mattk » Sun Dec 09, 2018 10:53 am

I am happy with the setup SSID showing, disconnected and password changed, this does serve a purpose and the last thing I would want to be doing is a default reset just to get to the initial setup page.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Sun Dec 09, 2018 12:02 pm

There are a number of nano resets all listed in the manual
When NANO is stuck at blinking fast or LED is steady on you can do some reset operations by pressing
the small blue button on the NANO board next to the pin header. Which operation is triggered by pressing
the button is determined by how long you keep the button pressed. When pressing down the button the
LED will go off and will then start blinking slowly. You can now select a special reset operation by
keeping the button pressed until a specific number of blinks is done. These are the reset options to choose
from:
• Release button before first blink: NANO will indicate its IP by blink sequences. Please read
www.meteobridge.com “getting started” section to learn how to read the blinks.
• Release button at first blink: Resets password of WiFi access point that the NANO provides for
initial login. Password is set to “meteobridge” und NANO is rebooted.
• Release button at second blink: Resets HTTP password to “meteobridge” and reboots.
• Release button at fifth blink: Reset NANO to factory defaults (all settings are lost) and reboot.
I'm sure a reset could be created to return the initial WiFi logon page if needed.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

Re: test5m warnings.

Post by admin » Sun Dec 09, 2018 1:31 pm

I get your point, but I am more concerned that many users have severe problems making use of these complicated reset procedures. I don't find it complicated, but the amount of support requests I get on it indicate the opposite.

Therefore, there is actual no plan to cut-off the ability to login to the WiFi of the NANO to change WiFi client settings.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Sun Dec 09, 2018 2:22 pm

ok no worries, is there anyway of changing the ssid not to broadcast a 40mhz range, and use 20mhz instead?

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

Re: test5m warnings.

Post by admin » Sun Dec 09, 2018 3:13 pm

If that is to special importance for you, you can change the line "HT_BW=1" in file /etc/wireless/mt7628/mt7628.dat" to "HT_BW=0". But be aware that your NANO will render useless when you mess up this file.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Mon Jan 14, 2019 11:32 pm

ok, I am at a loss with this and thought I would share some info with you.

I am still seeing connect logs on my nano showing the following:

Code: Select all

system (14.01.2019 08:26:32): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 09:26:22): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 09:31:27): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 10:36:27): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 10:45:47): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 11:25:56): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 11:30:50): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 11:36:24): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 12:20:58): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 12:31:28): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 13:40:54): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 14:01:00): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 14:06:11): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 14:35:25): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 14:51:38): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 15:06:36): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 15:31:20): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 15:36:10): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 15:40:32): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 15:46:48): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 17:20:31): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 17:41:12): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 18:06:30): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 18:21:54): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 19:11:27): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 20:31:24): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 20:50:21): Disconnected from WLAN or Internet, reconnect issued.
system (14.01.2019 20:55:20): Disconnected from WLAN or Internet, reconnect issued.
none of my other wireless devices see any connectivity issues. when I login to the nano, I never ever see nothing I always log into the nano without any lag waiting 5 minutes of anything like this, so why is the nano complaining it has no WLAN or internet.

what is this batch file trying to do? does it need to ping something on the internet? I cannot understand why this device and no other is logging something that is not actually existing.

I can ping anything on the internet from an ssh session on the nano, so what is this check actually doing.

Looking at my Unifi Cloud Key I see the following.

WPA Authentication Timeout/Failure 49

this would suggest one of my devices is not correctly authenticating itself.

on research from unifi forums one of the admins said this:
WPA Authentication Timeout/Failure counts the number of times the WPA authentication process did not complete with a successful authentication of the client device, for any of a number of reasons, this can include a client device supplied an incorrect WPA security key.

With DHCP timeouts/failures, this counts number of times a client tried to acquire a DHCP lease, but the process did not complete. If a client sends a DHCP discover or request and no offer or ack is received on that AP it is counted as a DHCP timeout.

In general, I wouldn't be overly concerned with values in these fields unless they are extreme- and in any case, I would focus on practical symptoms/network issues and if you find a case of a client who can't connect to Wi-Fi and you see the WPA Authentication failures ticking up as they attempt- this may give us a better idea of what is going on
now, I have never seen there timeouts until I owned a nano, so something is amiss with the connectivity.

My password for my wifi is 23 characters long, perhaps this is the issue? not sure but non of my other wifi devices have this issue.

I am also seeing ICMP error messages from my Nano to DNS servers outside of my network.

I have attached a log_view file of the errors seen on my Sophos Firewall.

no other internal device shows this behavior at this alarming rate.

more info, My DHcp server and firewall is behind another router, just passing through all data. (double NAT'd) does this make any difference?
Attachments
Log_Viewer.rar
(471 Bytes) Downloaded 13 times
Last edited by ConligWX on Mon Jan 14, 2019 11:42 pm, edited 2 times in total.

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Mon Jan 14, 2019 11:39 pm

Also my DHCP lease time is set for 1440 (1 day) yet the nano is constantly requesting ip addresses throughout the day (4 times usually) is this normal for a device to "request" it IP some many times even though lease time is 24 hours since the last request?

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Tue Jan 15, 2019 12:27 am

ok have ran the ping test that test5m used for VCORE2

when I use: ping -q -c 1 "www.google.de"

every now and then it fails. when it fails, my Sophos Firewall logs the ICMP error message. need to find why ping from the NANO is shwing as an ICMP error. is the ping command application buggy?

Might be dns, as if I ping the ipaddress with the commandline about constantly it works for more of the time but using the domain name constantly it will fail every now and then. 1 or 2 in 5 attempts.

my dns is set to Cloudfare. 1.1.1.1 and 1.0.0.1 and using the ping command exactly as the test5m.sh command line shows it works in varous other linux boxes without issue.

can anyone else run in a commandline the following.

Code: Select all

ping -q -c 1 "www.google.de"
over and over again and see if it fails?

User avatar
ConligWX
Gold Boarder
Gold Boarder
Posts: 215
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: test5m warnings.

Post by ConligWX » Tue Jan 15, 2019 1:48 pm

ok been on the Sophos XG forums today, one expert has suggested the problem maybe with timing of dns request and response from the DNS server. this maybe due to some weird configuration of Sophos, or just the way my Setup is. I have now tried in an ssh session using the command ping -q -c 1 "www.google.de" and it failed again (yet I have internet access from meteobridge.

I have changed the google.de to my ipaddress of the loacl ISP DNS server which is 5 hops away. it just works.
root@MeteoBridge:~# ping -q -c 1 "194.168.4.100"
PING 194.168.4.100 (194.168.4.100): 56 data bytes

--- 194.168.4.100 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 32.484/32.484/32.484 ms
root@MeteoBridge:~# ping -q -c 1 "194.168.4.100"
PING 194.168.4.100 (194.168.4.100): 56 data bytes

--- 194.168.4.100 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 28.603/28.603/28.603 ms
root@MeteoBridge:~# ping -q -c 1 "www.google.de"
PING www.google.de (216.58.213.99): 56 data bytes

--- www.google.de ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

root@MeteoBridge:~# ping -q -c 1 "194.168.4.100"
PING 194.168.4.100 (194.168.4.100): 56 data bytes

--- 194.168.4.100 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 41.492/41.492/41.492 ms
I have edited the test5m.sh to ping my local ISP DNS server for now.

hope this helps anyone in a similar situation.

Snapper
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Tue Nov 18, 2014 10:49 pm

Re: test5m warnings.

Post by Snapper » Tue Jan 29, 2019 12:21 am

admin wrote:
Sun Dec 09, 2018 1:31 pm
Therefore, there is actual no plan to cut-off the ability to login to the WiFi of the NANO to change WiFi client settings.
Can disabling broadcast of setup SSID be a feature request?

In my environment, the 2.4ghz spectrum is very very congested with other SSIDs and this just adds another that is effectively useless after setup.
Increasing the number of beacon frames will degrade throughput for everyone as it reduces available air-time for other packets.

So perhaps have an (advanced) option to disable the setup SSID after initial setup, along with warning text to make it clear what the setting does...

Post Reply