k-szuster / luci-access-control-package

OpenWrt internet access scheduler
Apache License 2.0
20 stars 7 forks source link

Can't see firewall/Traffic rules with upgrade to openwrt-19.07 #5

Open ephisr opened 4 years ago

ephisr commented 4 years ago

router: Linksys WRT1200AC architecture: ARMv7 Processor rev 1 (v7l) firmware version: OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c

After upgrading to the 19.07 version and reinstalling this access control package, some issues emerged:

  1. Can no longer within Luci go to the Network > Firewall > Traffic rules tab, I get this error:

image

  1. The form to enter the times has changed and cuts off the hour start stop:

image

I really like this tool and hope it has a fix. thanks

k-szuster commented 4 years ago

Unfortunately I cannot check with 19.7 now. Could you see the /etc/config/firewall file or post it here? I'm, curious about this "property 2" thing and the time format.

Gipipi commented 4 years ago

Hi,

Model TP-Link Archer C7 v2 Architecture Qualcomm Atheros QCA9558 ver 1 rev 0 Firmware Version OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.057.55219-13dd17f Kernel Version 4.14.171

Same issue for me since upgrade to OpenWRT 19.07 with a different error message

Capture

Thanks in advance for your help ans happy easter eggs !!!

Gipipi commented 4 years ago

it' seems to have an issue with the start_time and stop_time , it misses at the end :00

I have also an alert on this part: ! Exception: time: option "--kerneltz" can only be used once. ! Skipping due to previous exception (code 2)

And also this warning: Warning: Option @rule[17].ac_enabled is unknown

an example of Rule: config rule option ac_enabled '1' option src '*' option dest 'wan' option extra '--kerneltz' option proto '0' option target 'REJECT' option enabled '1' option name 'PC-Maxime_Nuit' option src_mac '00:00:00:00:00:00' option start_time '00:00' option stop_time '07:59'

k-szuster commented 4 years ago

I cannot check on 19.07 at the moment. I could, however suggest installing luci-compat package. Many people report problems with older luci packages on 19.07, and the compatibility package helped.

Gipipi commented 4 years ago

Thanks but not better even after a reboot !

k-szuster commented 4 years ago

Please try newer version of the package in my luci-access-control repository. Still, a few users encountered problems after migrating to 19.07, but they managed to solve them.

Gipipi commented 4 years ago

This one ? https://github.com/k-szuster/luci-access-control/releases/download/0.4.3sk/luci-app-access-control_0.4.3_all.ipk no better luck :[