That's normal to stop multiple runs, e.g. during boot when firewall-start gets called multiple times. If it still won't let you run the script after 1-2 mins then something isn't right and the script has errored out in an unexpected way.@Jack Yaz
I noticed something I had not seen before, which was
Code:YazFi : Lock Found - stopping
Would this signify it is already running? I am going to assume yes, or maybe the update was still ongoing ? I had just re ran the update command and attempted to, manually run the script.
I'll update the install function to check for presence of a config, or at least back up the existing (as config file may change over time)Ok looks like YazFi is just looking for a config file, seems if that config file is in place the lock file is created. If I remove the "YazFi.lock" file, the install proceeds and then stops. (see below)
It however removes the existing user config file. I would suggest leaving the users config in place and placing the new file as a place holder like YazFi.config.original or something.
Next it started up and I had disabled 2 radios from my original config. It says those radios failed validation. The last radio passed validation. But the script proceeded no further. It give no notice or failure or success.
I removed the lock file again and received the same results
Dummy me I grabbed a way earlier copy of my config file, all good when it is replaced by the correct version, and then YazFi starts just fine.
This time the lock file did not pose an issue, I ran the script 3 more times. ALL good now.
- Make sure permission set on updated script
- Purge old locks
- Ensure lock file is removed on failed validation
- Keep existing config if re-installing
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/YazFi/master/YazFi" -o "/jffs/scripts/YazFi" && chmod 0755 /jffs/scripts/YazFi && /jffs/scripts/YazFi
/jffs/scripts/YazFi update
Re. LAN access, what are people looking for? e.g.
I'm trying to gauge how I should be approaching the solution
- Access to specific devices
- Access to subnet(s)
- Access to specific ports on specific devices?
- Access to FTP/SMB/NFS resources on the router itself?
Good spot - fixed. I changed the name and missed the first post reference.@Jack Yaz - this link in Post # 1 is returning 404 Error on Chrome. Thought you might like to know...
Code:For ease of reference, a sample configuration file is available here: https://raw.githubusercontent.com/jackyaz/YazFi/master/YazFi.sample.config
Re. LAN access, what are people looking for? e.g.
I'm trying to gauge how I should be approaching the solution
- Access to specific devices
- Access to subnet(s)
- Access to specific ports on specific devices?
- Access to FTP/SMB/NFS resources on the router itself?
Re. LAN access, what are people looking for? e.g.
I'm trying to gauge how I should be approaching the solution
- Access to specific devices
- Access to subnet(s)
- Access to specific ports on specific devices?
- Access to FTP/SMB/NFS resources on the router itself?
Re. LAN access, what are people looking for? e.g.
I'm trying to gauge how I should be approaching the solution
- Access to specific devices
- Access to subnet(s)
- Access to specific ports on specific devices?
- Access to FTP/SMB/NFS resources on the router itself?
- Move firewall rules to dedicated chains
- Improve positioning of rules in INPUT and FORWARD chains
- Also remove Port 68 on INPUT, not used by DHCP server, 67 only
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/YazFi/master/YazFi" -o "/jffs/scripts/YazFi" && chmod 0755 /jffs/scripts/YazFi && /jffs/scripts/YazFi
/jffs/scripts/YazFi update
I'm very excited about this! It seems to be my only hope for getting Guest wifi access to the Pixelserv IP! Separate IP ranges for the Guest networks is just gravy.LAN access is coming, I just need to learn more about ipsets first!
Pixelserv IP in theory i can patch in quite readily as I won't need to account for user input. I'll see if I can get something on the testing branch working tonight.I'm very excited about this! It seems to be my only hope for getting Guest wifi access to the Pixelserv IP! Separate IP ranges for the Guest networks is just gravy.
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!