Git Product home page Git Product logo

Comments (9)

xyzroe avatar xyzroe commented on June 16, 2024 1

If your home network on which encryption is used is saved in the Wi-Fi settings, then when you turn on emergency mode, you will be connected to this network with encryption.

I see no practical point in creating an access point from ZigStar. Only for configuration, and there is no point in encryption.

You can allow ping from the local network on your gateway, all problems will be solved. There are no security issues with this.

Indeed, as one of the ways - use another device instead of a gateway.
Thanks for your advice to the community.

Perhaps in the future I will add a similar functionality.
Thanks for the ideas and feedback.

from zigstargw-fw.

xyzroe avatar xyzroe commented on June 16, 2024

duplicate #13

from zigstargw-fw.

kubax avatar kubax commented on June 16, 2024

Just wanted to leave a quick workaround for this "bug".

I (very) recently got myself a ZigStar device, and had the exact problem. I did manually configure the network and then had the problem with the emergency wifi enabled.

first of all, it would be better to have a configurable emergency wifi with encryption, but that might not be able on this device.

BUT to fix it until the option you mentioned is implemented, i did just enter a device as the gateway that does not route trafic (because i don't see any need for the zigstar device to reacht the internet) but that is always online. In my case i used a NAS device, but could be anything.

Maybe you could let us manually choose which device to ping to check if the device is up.

Also thanks for your work!

from zigstargw-fw.

korolevskiyhap avatar korolevskiyhap commented on June 16, 2024

I think many people are misunderstand difference between emergency and normal wifi connection mode.

Emergency is WIFI Access point, right?
And if both wifi connection and ethernet is configured and present -- they both will be connected without emergency (in normal mode).

from zigstargw-fw.

xyzroe avatar xyzroe commented on June 16, 2024

ZigStar is not recommended to use wifi in working mode. But it is possible.

Emergency mode turns on wifi in case of loss of wired connection.

If you have saved your network settings, ZigStar will first try to connect to it.
If successful, it will be connected as a client to your network until the wired connection is resumed.

If the wireless network is not available or no settings are saved, then ZigStar raises its access point.
After resuming the wired connection, it turns it off.

from zigstargw-fw.

monster1025 avatar monster1025 commented on June 16, 2024

Okay, so it works really strange now.
My gateway\router is responding to ping requests:

% ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=3.079 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=3.306 ms

Here is my zigstar-gateway status, it connected simultaneously to wifi and ethernet (same network and gateway\router):
https://ibb.co/wMs4JR8

"Disable emergency mode (AP)" is disabled (not checked). Also here is config:

{"enableWiFi":1,"ssid":"****","pass":"*******","dhcpWiFi":1,"ip":"","mask":"","gw":"","disableEmerg":"0"}

According to Home Assistant status of zigstar-gateway "Emergency mode = Off".
But it connected to wifi and ethernet same time.

from zigstargw-fw.

xyzroe avatar xyzroe commented on June 16, 2024

I don't see anything strange.
You have the checkbox Enable Wi-Fi client mode checked
Therefore, there is a connection to the wifi, regardless of the state of the wired connection.

from zigstargw-fw.

monster1025 avatar monster1025 commented on June 16, 2024

Oh, missed it! thanks a lot! Without "Enable Wi-Fi client mode" works as expected - connects to wifi on ethernet failure.

from zigstargw-fw.

xyzroe avatar xyzroe commented on June 16, 2024

7798ec3

from zigstargw-fw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.