Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Unable to turn off emergency WiFi #13

Closed
kolicheng opened this issue Apr 10, 2022 · 4 comments
Closed

Unable to turn off emergency WiFi #13

kolicheng opened this issue Apr 10, 2022 · 4 comments

Comments

@kolicheng
Copy link

Does anyone have the same problem? The ethernet can actually connect, but it shows disconnection.

@depuits
Copy link

depuits commented Apr 12, 2022

I'm having the same issue. I've tried to disable emergency mode (AP) and setting a static ip in the network options but it keeps going to Emergency mode even though I am talking to it over ethernet.

@xyzroe
Copy link
Owner

xyzroe commented Apr 15, 2022

First of all, let's understand why your device thinks that there is no wired network?
Because your default gateway is not responding to ping requests from ZigStar.
Fix it first.

About disabling emergency mode - to properly disable this mode your device must be NOT in emergency mode while setting this checkbox and saving config.

You can try to fix ping answers on default gateway, than remove this checkbox, save config, reboot device, set checkbox again.. After that emergency mode must not turning on.

@depuits
Copy link

depuits commented Apr 15, 2022

Fixing the ping from the device did indeed fix it. As in mercenaruss/zigstar_gateways#14 I had the device on an internet limited network which had no specified allow rule to the gateway and thus blocking the ping. I don't know if it is possible to just check if the device is connected using the ethernet port and if so just never to enable the emergency mode. That way the emergency mode would only enable when there is no physical link and no ap access. Currently its confusing that the checkbox only works when you would probably not feel the need to use the checkbox.

@xyzroe
Copy link
Owner

xyzroe commented Apr 21, 2022

Unfortunately, the LAN chip (LAN8720A) used in ZigStar, does not always correctly return the state of the physical connection to the port, therefore, an additional gateway ping is used.
It was supposed to check the box at the time of the first device setup, and not at the time of the problem.
But your idea has been adopted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants