Posts By: jonny

Solaris: Change IP Address

When changing the IP address on a Solaris 10 box edit the hostname and IP address settings in the following files (if present): /etc/hosts /etc/defaultdomain /etc/defaultrouter /etc/hostname.[interface] /etc/inet/hosts /etc/inet/netmasks /etc/inet/ipnodes /etc/nodename After making changes to these files restart networking with: svcadm restart network/physical

WooThemes Artificer Home Button

The Artificer theme from WooThemes by default adds a home icon to the main navigation menu. To remove the icon edit the file: ./includes/theme-functions.php Find the new_nav_menu_items function and comment out the lines that add the home icon button as follows: function new_nav_menu_items($items, $args) { $homelink = ”; if( $args->theme_location == ‘primary-menu’ ) //$homelink =… Read more »

Command Line Wireless Trouble-shooting

I wanted to compare the command line output of a working Wifi connection versus a connection at a location that was giving us trouble. To do so I used Ubuntu (12.10) on a laptop and used the following commands – in a script if necessary. First a configuration file to use with the wpa-supplicant –… Read more »

Replacing Google Reader with Tiny Tiny RSS

I followed the installation instructions on the Tiny Tiny RSS website – downloading and extracting the tar file, importing the SQL into MySQL mysql -u root -pTopSecret –database reader < ./schema/ttrss_schema_mysql.sql Copy the dist config file to config.php and edited it with the database details then visited the URL. I then allowed writing to the… Read more »

DNS Benchmarking

I was trying to check performance on some local DNS servers in comparison to some public DNS servers so I started with using Dig to check  the response times between a local DNS server (blurred out below) and one of the Google DNS servers. I first checked a popular domain name and I noticed that… Read more »

Fail2Ban Custom Action

I decided to experiment with creating a central database to hold the IP addresses banned by various servers / honeypots running Fail2Ban – so that the information could be used as a source for IPtables or TCPWrappers to protect other servers. I created the file /etc/fail2ban/action.d/qshield.conf and in it placed the following: [Definition] actionstart =… Read more »

Minecraft Server on CentOS 6

I downloaded the minecraft server package and extracted it to /opt/minecraft I installed screen and Java (OpenJDK) using yum as follows: yum install java-1.7.0-openjdk screen The SysV init startup scripts provided on the Wiki didn’t work for me so I cobbled the following together which works for me. Anyone else wishing to use this should… Read more »

Google Takeout

Google Take away

My Google Drive (Google Docs) was a mess with outdated documents and a poor folder structure so I decided to start afresh by deleting everything and building a tidier folder structure. Deleting everything presents a little problem and in steps Google Takeout – part of the Google Data Liberation Front. Google actually make it easy… Read more »

Nintendo DS R4

Bought an R4 card from r4ibuy.com and added the software following the instructions here http://www.r4isdhc.com/r4-download/  Happy gaming!