IDS on Voyage linux Tuesday, Oct 30 2012 

Configuring PC Engine running Voyage Linux as IDS

====install from linux

running ubuntu live

find proper /dev/sda  by using (ubuntu>Preferences>Disk Utility)
This disk is currently in use – repartitioning is probably a bad idea.

! may have to unmount volume first

solve: $sudo passwd root
logout, login as root

—add additional programs using apt

>apt-get update
>apt-get install nano

—change hostname


—change IPs by editing the


#auto eth2
#iface eth2 inet dhcp
#auto eth3
#iface eth3 inet static
# address
# netmask
# broadcast

After changes you will need:
/etc/init.d/networking restart


#var RULE_PATH /etc/snort/rules
#output alert_syslog: host=, LOG_AUTH LOG_ALERT
#include $RULE_PATH/unicast.rules


# Ignore traffic from the following hosts
#pass ip [,] any -> any any
# Alert on ICMP traffic
#alert icmp any any -> any any (sid:500;)


#restart syslog
/etc/init.d/sysklogd restart


yes – the command Friday, Jul 24 2009 

Found this while searching for how to copy files and choose ‘No to all’ in linux (no overwrite).

 >yes n | cp -R -i /sourcedir/* /destdir

yes simply repeats a phrase (y by default) ad infinitum.
So here we just use a copy statment, forcing it to prompt before overwriting and (via yes) say no.

Thanks Glenn Arndt from Indianapolis!

(not realated, but also of interest: How to find – Size of a directory & Free disk space)
     >du – Finding the size of a directory
     >df’ – finding the disk free space / disk usage

How to reset the nagiosadmin password Friday, Jan 2 2009 

How to reset the nagiosadmin password

 sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

don’t forget the sudo.


[edit: originally published Thursday, Apr 17 2008 – moved after restructure]

Next Page »