Captive Portal not working



  • The captive portal was working fine for a while, but suddenly the users could access the internet without having to enter a login and when I check the log I always see this message:

    php[33003]: /services_captiveportal_ip.php: The command '/sbin/ipfw table 9 delete 10.100.78.254/32' returned exit code '71', the output was 'ipfw: setsockopt(IP_FW_TABLE_DEL): No such process'

    I have now tried to change settings and to deactivate the portal and then start it again but there is just always this error message. I would prefer if I would not have to delete the config for the simple reason that I have already entered many MAC-addresses manually.

    Thank you so much for your input concerning this problem.



  • That usually means you are missing the ipfw kernel module.
    What version is this in?



  • @ermal:

    That usually means you are missing the ipfw kernel module.
    What version is this in?

    It's the 2.0.1-RELEASE (i386)



  • Can you show your system log?



  • @ermal:

    Can you show your system log?

    Yes, of course, but there is nothing interesting in there as fas as I can tell:

    Sep 3 23:06:19 kernel: arp: 10.100.79.13 moved from 00:26:4a:08:07:96 to 24๐Ÿ†Ž81:b9:56:c6 on rl0
    Sep 3 21:06:08 check_reload_status: Reloading filter
    Sep 3 23:06:01 kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding enabled, default to accept, logging disabled
    Sep 3 21:06:00 check_reload_status: Syncing firewall
    Sep 3 23:04:26 kernel: arp: 10.100.79.12 moved from 58:b0:35:b3:d0:8e to 00:16:cb:c3:60:99 on rl0
    Sep 3 23:04:12 php[32837]: /index.php: Successful webConfigurator login for user 'admin' from 10.100.78.254
    Sep 3 23:04:12 php[32837]: /index.php: Successful webConfigurator login for user 'admin' from 10.100.78.254
    Sep 3 23:02:45 kernel: arp: 10.100.79.42 moved from 00:17:f2:c9:3b:f1 to 24๐Ÿ†Ž81:b7:b6:06 on rl0
    Sep 3 22:52:09 kernel: arp: 10.100.79.149 moved from 00:26:08:0e:b6:00 to 24๐Ÿ†Ž81:b9:57:9f on rl0
    Sep 3 22:51:03 kernel: arp: 10.100.79.155 moved from 00:26:08:0e:b6:66 to 24๐Ÿ†Ž81:b7:b6:06 on rl0
    Sep 3 22:46:00 kernel: arp: 10.100.79.16 moved from 00:22:41:3b:e0:16 to 24๐Ÿ†Ž81:b9:58:15 on rl0
    Sep 3 22:45:24 kernel: arp: 10.100.79.63 moved from 00:1b:63:a2:df:29 to 00:16:cb:c3:60:99 on rl0
    Sep 3 22:44:51 kernel: arp: 10.100.79.63 moved from 24๐Ÿ†Ž81:b9:57:8c to 00:1b:63:a2:df:29 on rl0
    Sep 3 22:43:23 kernel: arp: 10.100.79.23 moved from 00:26:4a:08:0c:fa to 00:16:cb:c3:60:99 on rl0
    Sep 3 22:42:59 kernel: arp: 10.100.79.15 moved from 58:b0:35:b3:27:d2 to 00:16:cb:c3:60:99 on rl0


Locked