Community discussions

MikroTik App
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 1:09 pm

Anyone know what this means in the interface log? private-5g is the name of the 5GHz master interface.
private-5g detect LAN
Also, does this page need some work although I guess it's about the wireless topic, not interface?

https://wiki.mikrotik.com/wiki/Manual:W ... Debug_Logs
Last edited by robmaltsystems on Wed Jan 31, 2024 4:06 pm, edited 1 time in total.
 
Guntis
MikroTik Support
MikroTik Support
Posts: 172
Joined: Fri Jul 20, 2018 1:40 pm

Re: Wireless interface detect message in log

Wed Jan 31, 2024 1:14 pm

Detect LAN, is from Detect Internet feature https://help.mikrotik.com/docs/display/ ... t+Internet
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Re: Wireless interface detect message in log

Wed Jan 31, 2024 3:15 pm

Thanks for that. Another bit of idle curiosity opens up more questions! I've read the page you've referenced and I'm intrigued why ether2 is showing as WAN. I assume this means "wide area network". ether2 is connected to a unmanaged switch on the LAN into which my PC, server etc are connected. ether3 and ether4 are connected directly to devices. I would expected ether2 to say LAN? Unless my understanding of wide area network is wrong.
Columns: NAME, STATE, STATE-CHANGE-TIME, CLOUD-RTT
 #  NAME        STATE     STATE-CHANGE-TIME    CLOUD-RTT
 0  ether1      internet  2024-01-29 10:46:31  65ms     
 1  ether2      wan       2024-01-31 12:56:16           
 2  ether3      lan       2024-01-31 13:04:23           
 3  ether4      lan       2024-01-31 13:02:36           
 4  ether5      no-link   2024-01-29 10:46:22           
 5  private-5g  lan       2024-01-31 11:15:19           
 6  private-2g  lan       2024-01-31 13:02:52           
 7  bridge      wan       2024-01-29 10:46:34           
 8  guest-2g    lan       2024-01-29 10:46:32           
 9  guest-5g    lan       2024-01-31 11:18:29           
10  guest-vlan  wan       2024-01-29 10:46:22           
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Re: Wireless interface detect message in log

Wed Jan 31, 2024 3:16 pm

Also, should I be worried about this? I'm not aware that I enabled this service and can't see where it is enabled.
Note that Detect Internet can install DHCP clients, default routes, DNS servers and affect other facilities.
Use with precaution, and after enabling the service, check how it interferes with your other configuration.
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Re: Wireless interface detect message in log

Wed Jan 31, 2024 4:02 pm

Also, should I be worried about this? I'm not aware that I enabled this service and can't see where it is enabled.
Answering my own question here, it's configured via "Detect Internet" on the Interface List:

Image

My new ax2 (ROS 7) had "Detect Interface" set to all and none in the rest. A client's RB4011iGS had it turned off (ROS 6). Just to confuse me even more, I've enabled it at the client site and ether2 and ether3 are showing LAN as I expected. These two ports are, like my home set-up, connected to (many) more switches.

Image
 
holvoetn
Forum Guru
Forum Guru
Posts: 5553
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 4:13 pm

Most people simply disable that function.
 
jaclaz
Forum Veteran
Forum Veteran
Posts: 741
Joined: Tue Oct 03, 2023 4:21 pm

Re: Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 5:55 pm

Reading the help page here:
https://help.mikrotik.com/docs/display/ ... t+Internet
Note that Detect Internet can install DHCP clients, default routes, DNS servers and affect other facilities.
Use with precaution, and after enabling the service, check how it interferes with your other configuration.
it seems like a sort of auto-magical, non-deterministic gizmo without a declared real-world utility/usage, not surprised that is mostly disabled by the users.

I cannot seem to find a possible use case for it, except maybe some scripts, but there must be more (untold on the help page) to it, to only categorize (rightly or wrongly) the interfaces by type of connection there is no need to change DHCP, routes or DNS settings. :-?
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Re: Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 6:14 pm

It was off on that older client router and when I reset on my hAP ax2 to default, it was also off. I'm very anal about recording individual changes to main router configurations and considering I had no idea where the configuration was, I doubt I'd turned it on. Therefore I assume that Mikrotik have changed the default configuration from on (circa November 2023) from on and the current version (default off).
 
User avatar
robmaltsystems
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jun 21, 2019 12:04 pm

Re: Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 6:18 pm

Most people simply disable that function.
Not surprised as it's clearly confusing me at home ;-) I'm guessing that it's been off in default configuration like forever but somehow got enabled recently. As this ax2 is my experimentation device, I'm regularly backing up the configuration. The following line appeared in January:

/interface detect-internet
set detect-interface-list=all
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3616
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Wireless interface detect message in log (Detect Internet)

Wed Jan 31, 2024 6:52 pm

Note that Detect Internet can install DHCP clients, default routes, DNS servers and affect other facilities.
Use with precaution, and after enabling the service, check how it interferes with your other configuration.
it seems like a sort of auto-magical, non-deterministic gizmo without a declared real-world utility/usage, not surprised that is mostly disabled by the users.
:-?
The only real-world use case is the smartphone apps. With it enabled, you can get a nice graph of internet usage in the app. That's about it.

Worse, in the iOS app, the Home Screen has a yellow warning "Internet Detect Not Active" – so seems like something you'd want to enable, right? And in the app, you just tap it & say "Yes" to enable Detect Internet...

But since it works on all interfaces by default, not just the WAN interface-list... wacky things can happen if you have a non-default configuration. The main offender is one of it's actions (in something that purports to "just" detect internet), is adding a DHCP client on an interface (if it doesn't have internet and no dhcp-client configured).

Basically I think someone at Mikrotik thought it was a good idea for the apps, but then no every come back to clean it up to make it more useful. e.g. it could be useful in script/firewall, but there are no events for on-change & you can't customize it's detection methods (e.g. disable the nasty dhcp-client test).

Who is online

Users browsing this forum: No registered users and 3 guests