thelonelycoder
Part of the Furniture
I've pushed an amtm update to fix this, no version change.After the latest update Yazfi is not listed in AMTM as installed anymore
Use u to update
I've pushed an amtm update to fix this, no version change.After the latest update Yazfi is not listed in AMTM as installed anymore
Thanks. I jumped the gun with my update to be compliant!I've pushed an amtm update to fix this, no version change.
Use u to update
Can you post the full error? The lock files should get removed after any actions. If a background task is running, then there will be a lock file. If it doesn't get removed for some reason, it will get purged as stale after 120s on subsequent action.Hi Jack,
I just updated YazFi today through amtm and saw that YazFi would not perform various actions, because of a lock file which was still present. I manually deleted said file in /tmp and thought the issue would be resolved. But again I got a red message which told me there was a lock file in place and in order to prevent duplicate runs the program would abort.
Then I had a look at the code on Github and saw that compared to the last version from 2 days ago you only had removed a call of the Clear_Lock function today (https://github.com/jackyaz/YazFi/commit/b20b005a8a19c2113ed433af32925ba30e061b5d).
I reverted back to the old version and everything is back to normal.
Would be great if you could have a look into this.
Thanks
YazFi: Lock file found (age: 22 seconds) - stopping to prevent duplicate runs
In this case, updating restarts the firewall. YazFi places a lock file, and then waits 60 seconds for firewall setup to finish. It will then configure things and clear the lock. Long story short, wait 1-2mins after an update. IF you're seeing a lock file warning after 2mins, please check your syslog/post hereSo to reproduce the issue again I launched YazFi from amtm, hit u, the MD5 hash was different, so it said it would update. Then I think the script crashes since I see the amtm screen again. Now if I press 4 to go back into YazFi and then press 1 to apply YazFi settings, this pops up:
The same happens when I try updating again, but showing connected clients on the other hand works fine.Code:YazFi: Lock file found (age: 22 seconds) - stopping to prevent duplicate runs
If I exit YazFi with e and then go back into it with 4 I get the same message for a split second before the main menu appears.
But even after I start YazFi freshly a lock file gets generated.In this case, updating restarts the firewall. YazFi places a lock file, and then waits 60 seconds for firewall setup to finish. It will then configure things and clear the lock. Long story short, wait 1-2mins after an update. IF you're seeing a lock file warning after 2mins, please check your syslog/post here
nvram get wl0.1_ap_isolate
nvram erase
Rename LANACCESS to TWOWAYTOGUEST
Added ONEWAYTOGUEST
Explicitly block WAN interface in firewall when redirecting to VPN
Like your request in general.Is there any way to open up a single device (using its fixed IP) from LAN to a specific guest network?
eg. additional option: EXPOSETOGUEST: 192.168.1.8
Use-case:
I have all IoT devices on isolated a separate subnet using this wonderful plugin. But I would like to have my wired IoT hub (home assistant) talk to devices on the IoT network, while at the same time the hub is accessible on my home LAN.
The new ONEWAYTOGUEST option works great for controlling plugs and switches. But MQTT clients on guest network still cannot connect to the hub, because MQTT client initialise their connection to the broker.
Another use-case:
Expose chromecast and smart speakers, so guests can play media from guest network without access to file server and other home computers.
It's actually the camera that I'd like to use MQTT. Camera detects motion, it sends MQTT topic, which Home Assistant will then record the RSTP feed. Camera feed now works with YazFi thanks to the excellent new ONEWAYTOGUEST. But not MQTT.Could you not just disable internet access for the mqtt devices and place them in the intranet? Possibly flash with a fw that allows you to control them locally to the hub only if they now have internet based fratures as well.
I have some cameras I do not trust. Those I have in the isolated guest network but my hub will now be able to access them thanks to the new feature, but my intranet will be safe since the cameras cannot access the LAN.
Regarding chromecast, don't they have guest access AP support built in (believe I read that somewhere but you need to enable it)
Skickat från min SM-G973F via Tapatalk
So in this setup, is the camera required to contact mqtt on the lan?It's actually the camera that I'd like to use MQTT. Camera detects motion, it sends MQTT topic, which Home Assistant will then record the RSTP feed. Camera feed now works with YazFi thanks to the excellent new ONEWAYTOGUEST. But not MQTT.
I still want to use the camera cloud features because the free tier is still very useful, only downside is don't have any off-camera storage.
I didn't know about the Chromecast guest feature. Thanks for pointing that out!
But as far as I can see, nVidia Shield TV (or any Android TV) can't do guest mode unfortunately. One more (the other being can't be part of speaker group) reason I need to buy a Chromecast puck.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!