I wasn't kidding when I created my forum name. You a guys are just so much more knowledgeable than I. Learning a lot building this little thing. Thank you for letting me participate and responding to my silly comments.
This one kmod-usb-net-asix rings a bell but silly me didn't take a screenshot when I installed it....
if anyone is running homeassistant or some other mqqt based iot api there is a sample openwrt toggle service based on this if you are interested
you can use it to turn on or off stuff like firewall rules or wifi... ( any uci section that supports 'name' and 'enabled' ) from your automation server...
would also be pretty easy to make an ESP based 'wifi remote' based on this...
suppose would be best to move most of the discission to the linked thread above... it's pretty generic so the only thing that is build specific ( in future builds ) is the;
if it crashed after some time... could be some sort of memleak or something.... you can comment out some or all of the includes at the top of /etc/snort/rules/local.rules
I think mine also had issues after several hours... the other thing to try is adding different interfaces to the initscript where is disables gro with ethtool...
instead of;
ethtool -K ${SIFACE} gro off 2>/dev/null; ethtool -K ${SIFACE} lro off 2>/dev/null
(br-lan)
should probably be
ethtool -K eth0 gro off 2>/dev/null; ethtool -K eth0 lro off 2>/dev/null
A little overdue, but update from attempting the change to the official image:
The backup feature and the steps outlined in your guide were perfect to get things up and running, but as @Thebroughfamily said, the official build still lacked a few features that were necessary for me. Luci gui did come preinstalled, but I don't believe it came ready to use with the usb adapters (there was an error about a missing eth interface), and it wasn't ready to use with my network WG interfaces without additional package installation/config. With those issues, I've jumped back onto your community build for now - unfortunately I just can't really afford to fiddle around with the official and keep the internet down for an undefined period of time.
I imagine for someone without the need for a WG interface and is willing to load some packages for usb adapters, the official build should be working well, but I'll be sticking around here until it really is as easy as flashing a new image over and restoring a backup. Thanks again for your help wulfy23, and to Thebroughfamily for the heads up!
thanks for the report... I probably should have mentioned in the steps I gave you;
pre download the network kmod ipk from the 21.02 downloads... ( to your pc )
post config restore... you can then proceed to install the above ipk get online and start adding the packages you desire on top of a vanilla official image...
edit: Just to add, the update notifications are excellent, and the one click flash has saved me a bunch of time. These little UX details are really adding up! - Maybe an idea to check if there's a new eeprom and prompt for an update similar to the build?
i'm no expert on snort... but we are just trying to eliminate this being a factor in the crashes so duplicating the line...
and having additonal lines for eth1 and eth2 wont hurt... short term... ( at a low level capture perspective )...
actually there is also a section in /etc/snort/snort.lua about 'appid'... of the two things above.... this would actually be the most likely if time is a factor in the crashes... so that would be the third thing to try with it off...
Ah yes I do believe those would have helped! I'll give these a try sometime when I am actually able to experiment a bit..
With regard to your original questions (I received a few questions from email notification) in order asked:
may I ask which guide?
The short write up you wrote me on post 764.
by backup... did you use the 'top-bar' update check -> backup link?
I used the generate backup archive button in luci>system>backup. Are these two links going to generate a different backup archive?
then you restored that backup into a booted-factory-official(21.02)?
yes, specifically into the ext 4 factory image (dunno if that's important)
did you need to / reboot to apply all those settings? (or did you just restart services manually?)
yes, the whole thing needed a reboot (but I believe this may have been mostly due to my configs making the router at a different ip (192.168.0.1 instead of 192.168.1.1)
And finally,
when you went back to the community build... did you flash a factory and restore using the same .tar.gz by any chance? (if so did you reboot to apply or just manually restart services?)
I had an older snapshot of yours (specifically rpi4.64-snapshot-25261-2.7.15-2-r15599-ext4-sys.img.gz) that I flashed first. After flashing this old snapshot, I restored configs then rebooted to get the ip updated to 192.168.0.1 and everything working again. This version was the first version where everything I needed was working properly, so didn't want to take any chances on the first restore.
After I was sure everything worked on the r15599 version, I downloaded the latest community build (rpi-4_snapshot_3.1.9-25_r16595_extra/rpi4.64-snapshot-26226-3.1.9-25-r16595-ext4-sys.img.gz) and used the sysupgrade button in luci>system>backup. Upgrade worked perfectly and network back up pleasing the family haha.. although I did notice sqm was enabled after sysupgrade without that being in my old configs. Easy fix there for me, just uncheck box and everything's working as expected.
slightly... mine excludes cmdline.txt and a few other less critical files...
in principle... the chef image builder site should allow you to create official-ish iimages realatovy easily that include wireguard and your wan network driver...