Posted by
Grommish on
Jun 15, 2019; 4:42pm
URL: https://itus.accessinnov.com/FIRMWARE-Itus-Networks-Shield-Firmware-Upgrade-WIP-tp1726p1760.html
Snort is already loaded, but while it's called, I need to tweak the command line (--daq-dir /usr/lib/daq for instance). Also, I've not really loaded any rulesets or baked in update scripts for the rules. This is where I really, really could use assistance from folks like user8446 and the rest of the really smart folks to make this work well.
Anything I bake into the main image will be available in all three modes. Differences can be handled down the line, like network setups, configurations, etc.
I've gotten full mode detection by the front switch (the system reads the front switch setting to figure out what mode it SHOULD be in during boot), and the system will do a half-assed initial setup on the mmcblk partition used by the mode (it copies the rootfs from the image to the block device and sets a /extroot/.gribbits text file to show it's been done). I'm thinking of making "setup packages" to include with the image that are .tgz'd for a given mode (one for router.tgz, bridge,tgz, gateway.tgz) that self-contain any configuration settings and whatnot and just extracting them as an overlay to the extroot. Anyone have any thoughts on it? Or anyone have any suggestions on the best way to get what we want? With the base about done, everything we do is on us and we aren't restrained by OpenWrt or the Itus images. I am also thinking about trying to update uboot, since it's 5 years old, but I don't know if it's worth the hassle since its works. It would allow a wider range of things, but, eh, maybe for down the line.
I should mention that full opkg support is already in the system, so people CAN add extras as they see fit (and will be saved now in the extroot). I will look for the bandwidth throttle you were talking about, but if you find a name, let me know since it makes it easier.
As for non-standard OpenWrt packages, that's alright too, since I can just compile whatever from source to include it. That shouldn't be an issue.
I find it comical that this image will probably never be seen by more than a dozen people, if that. People got rid of their Shields or stopped using them. Maybe once we get things settles, I can convince user8446 to see if there is a way to send out a site announcement email to the registered users inviting them to take a look.
Running Itus Shield v2 Firmware