TOCPCs – The Elite Geeks Blog

Technology and Entertainment, at its finest.

TOCPCs – The Elite Geeks Blog header image 4

Entries Tagged as 'Linux'

Hardware Failures

December 5th, 2009 · No Comments

After travelling 460KM today, I’ve discovered how annoying a hardware failure can be.
My colocation box is a HP DL360, G3, so it’s not exactly bleeding edge, but it’s a fantastic server, does it’s job and does it reliably.
Last night, we had a planned outage for just a short time to move the box to a [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

Squid: Intercept traffic

September 27th, 2009 · No Comments

I was bored this weekend, so after finding some YouTube traffic occurring from one of the PCs on the network, I decided that I’d play with Squid, which is a very powerful, and flexible proxy server.
It has many different methods of operation, and can be used in different ways, such as a simple proxy, where [...]

[Read more →]

Tags: Linux · Networking

What I say, and what I do may not be in a 1:1 ratio

August 30th, 2009 · No Comments

I usually state the importance of backup, and reply to those who lose something ’should have backed up’.
Since the change from Windows to Ubuntu, my email backup has been pretty lax – as in, it’s not a job for cron. I’ll have to work on this soon.
I find the subject to be somewhat true. I’ll [...]

[Read more →]

Tags: Linux · Random

Spammers? Where are you..

January 16th, 2009 · No Comments

Ooops.. Apache was configured wrong.
You can resume spamming now, apologies for the misconfiguration.
(Comments are fixed now).

[Read more →]

Tags: Linux · Random

It’s gone!! Gone-diddly-gone.

January 10th, 2009 · No Comments

It’s a bit late – but, hopefully everyone had a Merry Christmas, and also is enjoying the new year.
For years I was glued to it, and couldn’t find enough drive to get rid of a really bad problem of mine. But, just as last year was coming to an end, I managed to get rid [...]

[Read more →]

Tags: Linux · Random

Asterisk Debug Gotcha

October 8th, 2008 · No Comments

I was working on an issue being experienced by someone remotely attached to my asterisk machine, and found an abnormality.
I use a realtime implementation to allow for easy addition of users and to have the data I want in MySQL (makes it easier to monitor activity in CDR, etc). The problem recently was as a [...]

[Read more →]

Tags: Linux · Programming · Random

Asterisk Reinvite Improved

October 6th, 2008 · No Comments

Looking into the docs for Asterisk 1.6.0 for a solution to a NAT issue, you can find that asterisk reinvite has improved significantly in the later versions.
Previously, you had to turn it off for peers stuck behind NAT, this is resolved in newer versions of Asterisk which attempt to determine if a peer is behind [...]

[Read more →]

Tags: Linux · Programming · Random

Asterisk Context Control

October 5th, 2008 · No Comments

Recently, I have been toying with Asterisk 1.6.0 to work in some new internal features that I want to leverage.
One of the key features I took advantage of is the context option for each SIP peer. It is possible to exclude one group of users from calling another group by using contexts.
Let’s say I want [...]

[Read more →]

Tags: Linux · Programming · Random

Virtual Disk Space fixed!

January 31st, 2008 · No Comments

I fixed my virtual hard drive . Now has a brillant (yet imaginary) 116GB of Free Space. Fantastic.
The fix was to simply run resize2fs with it mounted in read/write mode, I kept assuming it’d need them not mounted, so was trying to resize it, when it wasn’t existing.
I got some sweet speeds on the Exetel [...]

[Read more →]

Tags: Linux · Programming · Random

LVM: Lucky Volume Management

January 30th, 2008 · No Comments

I’m in the process of resizing a virtual machines hard drive to get some updates on it (hasn’t been updated in oh… several months), the issue is when I set many virtual machines up, I used to enter a limit for its dynamically expanding disk.
Not considering the consequences of doing so, I figure it’ll be [...]

[Read more →]

Tags: Linux · Random

Virtual Machines – Lowering the rise.

January 24th, 2008 · No Comments

Virtual Machines are a great way at hosting multiple services, and keeping your overall costs low.
Computers have become very much so beefed up that the grunt they have spends a lot of time idle, and only peak loads when you are doing intensive tasks, even then, they generally keep within 50% of the processors full [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

What a fun day!

January 5th, 2008 · No Comments

This morning I woke up intent on a lot more progress with my work on a server.
And, it happened. I set out to complete something, and for the most part, it is completed.
I started today from yesterday, working on fattening a linux partition.
The process was pretty much where my thoughts were yesterday.
dd the drive (so [...]

[Read more →]

Tags: Linux · Networking · Random

Sucker for entertainment

January 4th, 2008 · No Comments

There’s a few ways to do things.
The first is the right way, the second is the wrong way, and the third, is perhaps a combination of both in a more interesting combination.
When the right way doesn’t (or can’t) work, and the wrong way is not an option, you then need to figure out a way [...]

[Read more →]

Tags: Linux · Programming · Random

RAIDed the Internet for RAID info, and came up light.

December 29th, 2007 · No Comments

I spent a bit of today RAIDing through the internets and digging for RAID info.
Specifically what I want to do is upgrade the physical disks on my RAID array.
Unfortunately, I can only have 2 physical disks, and both are used by my RAID setup, which mirrors data.
So I sorted through some Google posts on RAID. [...]

[Read more →]

Tags: Linux · Programming · Random

Why do I code?

December 19th, 2007 · No Comments

That was a question put to me today. Well not exactly that, but a version of it.
I got thinking.
Do I code simply because its ’something to do’? Nah. Not really. There’s plenty of other stuff I could do. Locally, I could do more and earn more, surely.
So it’s not “something to do”.
Maybe it’s because I [...]

[Read more →]

Tags: Linux · Programming · Random

Flawless system changeover

November 20th, 2007 · No Comments

The excellent part of having identical (or near identical) hardware is when something cops a nice drink of Sprite, you can simply swap the components over, and power it up and your good to go again.
You can’t generally do that when swapping between say an Intel 865PE chipset, and an Intel P35 chipset, simply because [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

OzVoIPStatus: Update Delayed

November 19th, 2007 · No Comments

Unfortunately (and its very unfortunate), the update I planned to release tonight isn’t going to go ahead as planned due to an issue with a particular provider.
The particular provider issue wasn’t determined until just recently, but has been fixed.
The reason for the delay? Well, I was investigating that issue and the time it took to [...]

[Read more →]

Tags: Linux · Networking · Programming · Random · VoIP

Server Hardware “Failure” causes delays

November 17th, 2007 · No Comments

Recently, we had a item of hardware fail in my internal server (my in house server).
Essentially that was just my older 2 year old machine, which unfortunately, had an accident. It wasn’t the servers fault however.
Unfortunately, a Pop Top bottle filled with a bit of Sprite came into contact with the Zalman fan after being [...]

[Read more →]

Tags: Linux · Networking · Programming · Random · VoIP

Expensive Shopping

August 21st, 2007 · No Comments

It’s not every so often you go shopping for higher priced items, such as new servers, or cars, but well, both of our new purchases are both coming together at around the same time!
1. A new machine
I’ve got myself my new machine up and running in the last 2 weeks, and I’m still loving it!
It [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

Partition Resize = Bad

August 13th, 2007 · No Comments

I was working with someone else on a system today that had an issue with a lack of disk space.
This machine was loaded with a fair bit of software, and I don’t think the user was keen on dropping all the software to save on space, and I imagine rightly so too. You install items [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

Spam Prevention – A different view

July 23rd, 2007 · 2 Comments

I was recently tackling a spam issue today.
A domain I have (no, its not this one, and its not the other popular one), has been getting spam sent to it at a not so low rate.
The domain doesn’t have a link in the search engines, and hasn’t been published anywhere.
But the spammers still have a [...]

[Read more →]

Tags: Linux · Networking · Programming · Random

Server Moves – Time Consuming!

July 2nd, 2007 · No Comments

I’ve recently moved server (again).
I’ve had to move between servers for a little while now because of a few issues that were causing software issues.
Those issues have been focused on and solved, however, each time I move server, and begin reconfiguring, I always consider each one could be done a little differently.
Each different software item [...]

[Read more →]

Tags: Linux · Random · VoIP

Setting up ChilliSpot with FreeRadius on Tomato Part IV

June 14th, 2007 · 1 Comment

This is part four of the series on setting up ChilliSpot with FreeRadius, using MySQL, on Tomato.
The final part is to get ChilliSpot running on the Tomato router, which includes modifying its firewall to block packets.
The first step tonight is to modify the firewall script. Tomato is a bit different in how the firewall is [...]

[Read more →]

Tags: Linux · Networking · Random

Setting up ChilliSpot with FreeRadius on Tomato Part III

June 13th, 2007 · No Comments

With the previous two completed, that is, setting up FreeRadius, MySQL, and sourcing the ChilliSpot package, and having this on your now setup CIFS network share.
What we need to do now is look at the configuration, and make it suit our requirements.
Open your network share, and edit the file ‘chilli.conf’ in your favourite (or not) [...]

[Read more →]

Tags: Linux · Networking · Random

Setting up ChilliSpot with FreeRadius on Tomato Part II

June 12th, 2007 · No Comments

This is the continuation of last nights entry on how to set up ChilliSpot with FreeRadius, on a Tomato firmware based router.
With the mysql database created, and setup, and the configuration done for FreeRadius, we must of course, test that FreeRadius is working as expected.
First, we need to create a shared secret for us to [...]

[Read more →]

Tags: Linux · Networking · Random

Setting up ChilliSpot with FreeRadius on Tomato

June 11th, 2007 · No Comments

I’ve decided to share how to setup Chillispot with Free Radius, using MySQL for the user database, and running ChilliSpot on the tomato firmware.
I don’t want to make this too long, but also want to be detailed, so don’t be surprised if this spreads over a few posts.
The first step in setting up is to [...]

[Read more →]

Tags: Linux · Networking · Random

Yum Install CentOS-5 (Upgrade from CentOS 4.4 to CentOS 5)

June 8th, 2007 · 8 Comments

As many might know already, CentOS 5 has been released (for some time).
However, the issue for some (or many) will likely be the huge, mammoth, overly large upgrade to CentOS 4.4’s replacement, CentOS 5.
The good news is, its done, and you don’t need to reformat, you can simply put yum to even more yummy goodness [...]

[Read more →]

Tags: Linux · Random

Server Crashes solved?

June 7th, 2007 · No Comments

Today, we upgraded the crash server to a new BIOS version.
This new BIOS version quotes that it Improves Memory Compatibility. And so far, the results seem to be promising.
We moved (backwards) from Fedora Development to Trixbox 2.0.
The previous server we know would crash when any interaction with yum, or any compilation was done, on MOST [...]

[Read more →]

Tags: Linux · Networking · Random · VoIP

A dedicated server, that doesn’t like data centres

May 17th, 2007 · No Comments

Before I start, Now We Are Talking have censored every post I have made in response to any other post, even when I go with a simple reply with facts, pointing out where someone else, or the editor, has got it wrong. For example, claiming the G9 would see all our infrastructure foreign owned, which [...]

[Read more →]

Tags: Linux · Random

QoS implementation in the DD-WRT

April 29th, 2007 · No Comments

I’ve spent a few hours working on editing the QoS this afternoon for the DD-WRT.
I tried a few different tricks to getting the script edited, but you can’t do that in read only firmware, and I don’t really feel OK with editing firmware and loading it on right now. I could do it, and I [...]

[Read more →]

Tags: Linux · Networking · Random