Skip to main content

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:
code:
sudo ipblock -l ipblock[5421]: error: ipblock not running
if run ipblock via gui or console using ipblock -s start it works, if if manually.

code:
sudo ipblock -v ipblock 0.27 copyright (c) 2009 serkan sakar <uljanow@users.sourceforge.net>
the ipblock script starts ipblock during boot in /etc/init.d/ipblock
/etc/ipblock.conf has autostart set yes:
code:
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="" ...
i have tried starting ipblock via /etc/rc.local adding
code:
/usr/sbin/ipblock -s exit 0
before exit 0 run last thing on boot (99). did not work.
removed /etc/init.d/ipblock script , added own "ipblock-start" test if work.
script:
code:
#!/bin/sh /usr/sbin/ipblock -s exit 0
i ran update-rc make start number 99 still no luck getting ipblock autostart.
code:
sudo update-rc.d -f ipblock-start start 99 2 3 4 5  .
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.

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

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor