Category Archives: OS

irc.diff.05142011.1.txt


Index: irc.php
===================================================================
--- irc.php (revision 2317)
+++ irc.php (working copy)
@@ -1,11 +1,5 @@
#!/usr/bin/env php

-# status
-# reboot
-# log
-# help
-# down
-

# Disable annoying messages... well... all messages actually :)
@@ -23,14 +17,33 @@
# Redirect to /dev/null if you aren't using screen to keep tabs
echo "Observer Bot Starting ...\n";
echo "\n";
-echo "COMMAND\t\tHOST\t\t\tDEVICE\n";
-echo "-------\t\t----\t\t\t------\n";
+echo "Timestamp Command\n";
+echo "----------------- ------- \n";

class observiumbot

{

irc.diff.05142011.txt


Index: irc.php
===================================================================
--- irc.php (revision 2284)
+++ irc.php (working copy)
@@ -1,37 +1,122 @@
#!/usr/bin/env php
+
+# status
+# reboot
+# log
+# help
+# down
+

-include("includes/defaults.inc.php");
-include("config.php");
-include("includes/functions.php");
-include("includes/discovery/functions.inc.php");
+# Disable annoying messages... well... all messages actually :)
+error_reporting(0);

+include_once("includes/defaults.inc.php");
+include_once("config.php");
+include_once("includes/functions.php");
+include_once("includes/discovery/functions.inc.php");
+
include_once('Net/SmartIRC.php');

Black Prophecy Beta

Greetings!

Congratulations! High Command has accepted Your pilot license application.

Dismissed!

High Command

stop.

Welcome back, pilot!

Your pilot license application has been processed successfully. You are now authorized to begin your pilot training. Please keep a backup copy of this e-mail for future reference.

Detailed instructions on how to operate your training software can be found in the quickstart manual located in the software’s installation folder.

In order to improve the quality of the software, we require feedback from you on any issues or bugs you encounter while using the software. Please report these issues and bugs to the Beta Forum.

Seagate ST32000542AS 2TB Setup

A lot of ST32000542AS drives come with the CC34 firmware. Apparently it has various known problems, one of which is an annoying click (click of death). The first thing you’ll want to do is upgrade the firmware to CC35. A Link to the instructions is in the references section below.

Once that is done, the next step, if it exists, is removing HPA from the drive.
You’ll know it has HPA enabled by running hparm. HPA results in less capacity and so it’s not a good thing in an array.

We’ll be using Debian 6.0 (squeeze).

hparm -N /dev/sdb

Debian Squeeze iscsitarget

Since Debian squeeze doesn’t appear to include pre-built iscsitarget kernel modules, the iscsitartget-dkms must be installed. This is a source package and will install gcc etc to compile. It should compile automatically.

apt-get install iscsitarget-dkms

Here is a list of iscsi related packages I installed on my secondary NAS:
iscsitarget 1.4.20.2-1 iSCSI Enterprise Target userland tools
iscsitarget-dkms 1.4.20.2-1 iSCSI Enterprise Target kernel module source – dkms version
open-iscsi 2.0.871.3-2squeeze1 High performance, transport independent iSCSI implementation

I found this info in a bug report through google after I received a module not found error when issuing a /etc/init.d/iscsitarget restart