?

Log in

No account? Create an account
The fith wheels journal [entries|archive|friends|userinfo]
the_5th_weel

[ website | Zr5tux's homepage ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Blog has moved [Oct. 8th, 2007|11:30 am]
the_5th_weel
hi
I have moved my blog to iglob.za.net
Link1 comment|Leave a comment

New Happenings [Oct. 3rd, 2007|07:12 am]
the_5th_weel
Greetings all.
I know i havent blogged lately, but its been hecticly busy.

One of the major things which happend was my matric dance.
We went to Camelot. I went up in a 1938 ford.
For photos look at my facebook.
It was fairly uneventfull, and as per usual, they confsed me and the schools idiot/nusance (edrich and Elrich)
We had good food, we went to joes for the after party and got bounced, and then we went to eanbag for some drinks.

The other even more major thing which happend is i got a better half. It was truely blissfull. Sarah said she hasnt seen me so happy ever. I was wonderfull. But alas due to unfortunate circimstances, mainly because i was hasty. but oh well, it was fun, even tho it only lasted like three days. Oh well. She was friendly, pretty and fun. tired of everyone giving me a speech about this tho.

then a few other things will come.
I have my last school going day firday, even tho i will be coming in constantly to fix. so oh well.
Life sucks and then you die....
Link3 comments|Leave a comment

(no subject) [Sep. 15th, 2007|07:30 am]
the_5th_weel
http://hs.facebook.com/album.php?aid=14857&l=2bc95&id=541365702
My cleaning and shining proccess of my horn.
Includes relacqeuring.
LinkLeave a comment

zabbix jabber message sending [Jul. 8th, 2007|11:47 pm]
the_5th_weel
[Current Mood |busy]
[Current Music |Violin Sonata in A - 1st movement - Franck]

well, today seems like write the friggin manual day.

I needed to get zabbix, a monitoring system, to send me a jabber message when there is an issue
the built in jabber doesnt work

I found a perl script to send messages from the command line here :
http://mailman.jabber.org/pipermail/jadmin/2002-October/081380.html


I modified it abit to take in arguments as they come from the zabbix server.
and also to make it send messages in chat form

here fillows the script(well, at the end)
save it as jab.pl
put it in the directory defined by AlertScriptsPath

run the following commands on the file
You probably need to be root to do this

chown zabbix jab.pl
chgrp zabbix jab.pl
chmod 777 jab.pl
and change the values of
<server>
<user>
and
<password>

then you go to the zabbix webinterface, and go to media types
change the existing jabber media type, to a script
and where it says script name type jab.pl

thats it.
then you can configure your users contact info.
and tell zabbis what you want it to send to that user
and bob is your aunt.

anyhow here follows the script
(everything below the hashes

Ifyou find it usefull, please post a message below
if you have an issue, post a message below and ill see if i can help
Cheers

Edd
######################3

#!/usr/bin/perl
use strict;
use Net::Jabber qw( Client );
use constant SERVER => '<server>';
use constant PORT => 5222; # Port to connect to
use constant USER => '<user>';
use constant PASSWORD => '<password>';
use constant RESOURCE => 'perlscript';

my $connection = Net::Jabber::Client->new();
$connection->Connect( "hostname" => SERVER,
"port" => PORT )
or die "Cannot connect ($!)\n";

my @result = $connection->AuthSend( "username" => USER,
"password" => PASSWORD,
"resource" => RESOURCE );
if ($result[0] ne "ok") {
die "Ident/Auth with server failed: $result[0] - $result[1]\n";
}

my $date = dtg(time);
my $bbmessage = $ARGV[2];
my $bbsubject = $ARGV[1];
my $bbrecipient = $ARGV[0];
my $msg = Net::Jabber::Message->new();
$msg->SetMessage( "to" => $bbrecipient,
"body" => join("\n","$bbsubject","$bbmessage") );
$msg->SetType("chat");

$connection->Send($msg);
$connection->Disconnect();
exit;

sub dtg {
my ($string) = @_;
my ($time_str);
$time_str = localtime($string);
return substr($time_str,4,15);
}
Link2 comments|Leave a comment

ubuntu LTSP terminals with sys chipset fix for PS2 issue [Jul. 8th, 2007|03:11 pm]
the_5th_weel
[Tags|, ]
[Current Location |Etux workshop]
[Current Music |none unfortunately]

One of the projects im working on is a etux ( http://etux.osrn.org.za ) .
we do labs at disadvantaged schools.
now, we've been having issues with terminals on feisty.
all the boxes using sis chipsets don't want to play along.
some via's aswell
their mice just didn't want to work, the PS2 ones atleast

we had problems with it and saw other people did aswell, but all on a desktop pc but, i couldn't find a fix for this on the terminals, every one else's solution fixes the server/desktop, but not the terminals.So, i Decided to WTFM (Variant on RTFM)

I do most things from console, so open up a console =)

So after of a day or two of trying to shoot the trouble,and learning Ubuntu (i use Gentoo at home so it was a bit of a learning curve)

firstly, i looked for a kernel with the fixed issue.
this is the latest one i found. as of the time of writing
just replace it if there is a later one avaliable

# wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.20/linux-image-2.6.20-16-386_2.6.20-16.29_i386.deb

then copy that file to the following directory:
/opt/ltsp/i386/

# sudo cp linux-image-2.6.20-16-386_2.6.20-16.29_i386.deb /opt/ltsp/i386/

(it will probably ask for a password)

then we need to get into the root of the terminal system

# sudo chroot /opt/ltsp/i386

(it will probably ask for a password again)

then its fairly simple to to install it.

# dpkg -i linux-image-2.6.20-16-386_2.6.20-16.29_i386.deb

you should get a message saying its installed the kernel and copied it to the right place.

then exit the chroot by pressing ctrl-D

and just for safe measure run ltsp-update-kernels

# sudo ltsp-update-kernels

just make sure your kernels are pointing to hte right place

# ls -lh /var/lib/tftpboot/ltsp/i386/vmlinuz

you should see somthing that looks like this

#root@etux-ls:~# ls -lh /var/lib/tftpboot/ltsp/i386/vmlinuz
lrwxrwxrwx 1 root root 21 2007-07-08 15:44 /var/lib/tftpboot/ltsp/i386/vmlinuz -> vmlinuz-2.6.20-16-386
#root@etux-ls:~#

the last bit is most important. make sure that its the same

and reboot your terminals
and it should work

I am by no means an *buntu expert, i just thought it might be handy for someone else with the same issue.
If you need further help, you can contact me on my jabber or msn

jabber edrichdel@jabber.org
msn edd (atsighn) edd za net

This also fixed the issue on some of our VIA terminals, but a fair amount of them didnt work

Please if you found this usefull just leave a message. im interested to see if it helped anyone.

standard disclaimer applies.
if you break something, its not my fault
well, it probably would be, but you cant hold me accountable.
Nor may you complain about my Bad Language either =)
Link2 comments|Leave a comment

strikings, and others [Jun. 12th, 2007|10:06 am]
the_5th_weel
[Current Mood |thoughtfulthoughtful]

Hi all

As most of you know teachers across south africa have been striking.
Now, our school isn't part of the striking unions, so we went on as per usual.
Then last week Wednesday we were told to go home due to the police worring about our safety

so we were off.
phone a teacher that evening
and got told no, stay at home till Monday
so i went into school yesterday, and low and behold we got sent home again.
i have been told we have off until Friday now

so now our exams have been postponed, maybe even cancelled.

I have no problem with the strikers,
As i am a firm believer that teachers should be payed more.
But they shouldn't start bugging the non striking people.

And the strikers at the hospitals make quite good entertainment.
when the police chucked flashbangs into the crowd.
was classic.

so whilst i was at school Monday for a while, i needed to cut something.
So i didn't want to pull out my opiniel knife, since its quite large and many people are already afraid of me...
so i ask the people around me if anyone has a knife.
One little bloke pulls out a knife, one of these swiss army knife specials.

i tried to cut a bit of plastic shielding and i couldn't.
I turned around and told the bloke his knife is blunt.
he said no, its sharp.
so i quite casually slit it across my wrist. to prove to him its blunt.
it didn't make a real mark. just a minor scratch, like if a twig scratched you.
Now the people who was there think i am a manic masochist.
oh well. their loss. Im probably going to get told i need to get help when i get back to school again...
Its not my fault i grew up in a house where we have sharp knives.
and the fact that i am literally and figuratively thick skinned, thanks to my afrikaner heritage :-)

something else that was quite interesting happened the other day.
I don't like speaking on the phone for long. It really bores me.
wanted to speak to me, and i phoned her.
we ended up speaking for like 1hour 46 minutes. I found that quite odd.oh well.

I am also looking for sponsors for the DCO.
We need things like a ringbinder, stationary, paper, and other odds and ends, monetary sponsors would be nice as well.


And as so many people have joined facebook, if i don't have you as a friend there, and you are on it, please add me.
And if you aren't on facebook,
join it, its fun.


Anyhow, I have some work to do

Cheers

Edd
LinkLeave a comment

Spammers [Apr. 27th, 2007|07:38 pm]
the_5th_weel
[Current Mood |pissed offpissed off]

Hi all

not too long ago, Jerith complained of a involuntarily being put on mailing lists
http://jerith.livejournal.com/33126.html



and today someone spammed a mailing list im on (lead)

so i thought , what the hell, lets see what we can dig out on this anthon du toit.
and i look in the headers, and i see the line

Message-ID: <74072325283C41F993237F4BB7AA5444@NicoPC>

and i wondered if this had to do with this niconet.

so i look at jeriths page,
and i grab the link,
and low and behold
what do i see on http://niconet.za.net/
an add where they advertise host with us and you could win a free ipod.

i replied to the bloke, and he sent me to a afrihost link
http://www.afrihost.com/host.php?ID=coertzenza&L=4
for those who didn't notice, the owner of niconet is nico coertzen


Once could be a coincidence

twice,
/me thinks he needs to needs to be reported.
What say you?
Join me and mail the zanic registrar and request the deletion of his domain?
mail afrihost and request the termination of his reseller contract?

cheers

Edd
LinkLeave a comment

homeaffairs == useless [Apr. 24th, 2007|05:55 pm]
the_5th_weel
[Current Mood |irritatedirritated]

we got a phonecall this afternoon from homeaffairs, saying no, the fingerprints they took werent clear enough.
now this pissed us off subbstancially.
Since My brother now works.
and my mother has finished her sabaticle.
So now we need to go back there to redo out fingerprints.
and they're not open on a saturday


/me looks for a shotgun.

Though on a better note, i actually got good service from telkom.
A telkom technitian, called terence(i cant remember his surname, but he is a a decent bloke, was friendly, and explained what was wrong and everything.
He was there withing 1 hour of the school reporting the fault.
He is even helping to to unsplit our telephone line(its duplexed)

anyhow

Cheers

Edd
LinkLeave a comment

Week from hell [Apr. 22nd, 2007|09:41 am]
the_5th_weel
[Current Mood |Fucked]
[Current Music |Schubert - Franz - Symphony No 4 in C-minor - Tragic - D-417 - Allegro]

Hi all.

ugh. that is the best way to describe this last week.
I honestly felt like a real fool.

it started off fine.
Save that my best friend was struggling with life,
Then I got excited. I received news which i had been waiting for for months on Tuesday . Waiting since September to be exact,
I was floating on a cloud.
I was jolly. Some people said my happiness was scary.
the Thursday came along.
I was besieged by hardware with issues.
Teachers breaking things and blaming me.
But still I was happy.
Till the afternoon.
I find out i had misinterpreted the news.
misread two letters. which changed the meaning of the entire sentence
My mood sank down.
I felt like kak.
And it just got worse.

The headmaster made me stand up in assembly period and he thanked me in front of everything i apparently do for the school. I almost swore at him.
And i ended up editing the netball and hockey tour DVD. yuck.

I haven't abused Stravinsky this much in years.
But such is life.
Geeks are doomed to eternal loneliness.
And i guess i can also blame it on my bad karma.
then this morning i think, hey, lets go for a jog.
and i take the wrong turn.
end up jogging for far too long a distance for my liking.
Oh Well.
Jerith will probably complain my blog is going in the direction of angsty teen again.
but hey.

Life sucks
Then you die
as the Bash.org quote says :
#414593 +(12303)- [X]
A woman has a close male friend. This means that he is probably interested in her, which is why he hangs around so much. She sees him strictly as a friend. This always starts out with, you're a great guy, but I don't like you in that way. This is roughly the equivalent for the guy of going to a job interview and the company saying, You have a great resume, you have all the qualifications we are looking for, but we're not going to hire you. We will, however, use your resume as the basis for comparison for all other applicants. But, we're going to hire somebody who is far less qualified and is probably an alcoholic. And if he doesn't work out, we'll hire somebody else, but still not you. In fact, we will never hire you. But we will call you from time to time to complain about the person that we hired.
LinkLeave a comment

shaking hands [Apr. 7th, 2007|06:05 pm]
the_5th_weel
well, ive beein doing some work today around the shack
and tho whole bloody time it seems to have been, when i put my hand down, it shivers.
now its shaking
making it hardish to type

should i maybe cut down on caffinated hot black stuff?

rather scrap that thought. id rather have shaking hands.

oh well....
LinkLeave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]