Thread: 9.10 ipblock 0.27 does not autostart during boot? help plz
i cant ipblock autostart during boot on ubuntu 9.10 (64bit). have checked autostart checkbox in ipblock gui settings, has no effect.
read somewhere ipblock has start after firewall (or iptables? ) works, tried using /etc/rc.local , other things described below. everytime this:
if run ipblock via gui or console using ipblock -s start it works, if if manually.code:sudo ipblock -l ipblock[5421]: error: ipblock not running
the ipblock script starts ipblock during boot in /etc/init.d/ipblockcode:sudo ipblock -v ipblock 0.27 copyright (c) 2009 serkan sakar <uljanow@users.sourceforge.net>
/etc/ipblock.conf has autostart set yes:
i have tried starting ipblock via /etc/rc.local addingcode:cat /etc/ipblock.conf autostart="yes" iptables_chain_block="input output forward " iptables_chain_allow="input output" less_memory="no" block_list="level1.gz ads-trackers-and-bad-pr0n.gz edu.gz spyware.gz bogon.gz " block_list_input="" block_list_output="" ...
before exit 0 run last thing on boot (99). did not work.code:/usr/sbin/ipblock -s exit 0
removed /etc/init.d/ipblock script , added own "ipblock-start" test if work.
script:
i ran update-rc make start number 99 still no luck getting ipblock autostart.code:#!/bin/sh /usr/sbin/ipblock -s exit 0
i have no idea how run automatically, suggestions welcome. in case works adding script preferences->startup applications , welcome suggestions on how not have type in sudo password everytime boot ubuntu.code:sudo update-rc.d -f ipblock-start start 99 2 3 4 5 .
if need anymore info please ask , in advance help.
nevermind.... did clean install of 9.10 , works.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] 9.10 ipblock 0.27 does not autostart during boot? help plz
Ubuntu
Comments
Post a Comment