Welcome To MadPsy's Place

This is my little corner of the interwebs which I use to share any new nifty tips, tricks, news, instructables and random tech I come across.

The site is divided into general areas of interest. I try to post articles to the relevant categories along the top but I'd suggest have a click about (or use the Tag Cloud down on the right) to find something you might think is useful.

Although I make original content I often borrow images from other people as quite frankly I don't have the patience to create complex diagrams. This site is completely free and is not supported by adverts or anything nasty like that so you should enjoy a clean experience here.

Why buy something when you can build it yourself? Have fun!

Calculating performance of outdoor wireless network links

Reading Time: 11 minutes

This article contains information on how to calculate the operating margin of a wireless 802.11 network using a known distance between the two points.

fresnel

I wrote this quite a while ago and although the throughput of wireless links has dramatically increased the basic theory still applies. Of course we now have 5GHz available, which is very useful for this application. You should be able to substitute ‘f’ for 5000MHz and the maths will still work.

You can now get a 150mbps PTP link over 15km using equipment that costs £160 for both ends – that’s the entire cost of the system (minus a couple of poles and brackets). Crazy value for money when you think about it. The Ubiquiti NSM5 NanoStation is one such example. The Ubiquiti product range is pretty impressive to say the least. The NSM5 seen below is the big brother of the LOCOM5, which at £125 can still do 10km at the same rate and are around half the size.

nsm5-kit

 

If you are considering an outdoor wireless link, give this article a read so you understand how high above objects you need to mount your shiny new kit!

Read More »

JSON Parsing Nagios Script

Reading Time: 2 minutes

Parsing JSON in Bash is never usually the best idea but sometimes it may be necessary or preferred. Here’s a nice easy script which uses the ‘jq’ command to perform JSON parsing in Bash.

imgres

Let’s imagine you have the following JSON which is outputted by a stats gathering process:

{"web_rate":1,"db_rate":2,"php_rate":2}

Parsing that in Bash by writing some regex’s etc is perfecting possible but there’s an infinitely easier way. Welcome to ‘jq’. Let’s see it in action.

Read More »

That’s not a server, THIS is a server!

Reading Time: 13 minutes

I thought a wee article on what a server is and why they are expensive compared to your average PC might be interesting. When you hear someone say they have built a server for the house what they usually mean to say is they’ve built a PC and have it running various applications which serves ‘stuff’. A real server is a different beast all together.

bullion26_profi_reduced607x350

So what makes a server a server? It boils down to the hardware feature set. Sure, you can get low-end servers which are nothing more than a PC in a fancy rack mount chassis, but lets take a look at higher end goodness.

Read More »

Apple Macbook Logic Board Schematics

Reading Time: 1

Following on from my post about ASD versions I’m going to add a couple of board schematics to this post. Anyone who has tried to fix a laptop will know getting a free copy of the schematics is half the battle. I have loads of these but this is a good start.

M87 PS

Included in PDF format are Macbook Air A1304 (MLB M96), Macbook Pro A1278 (K24, 820-2530), Macbook M42B,

Read More »

The nonsense that is ‘Reballing’ dead GPUs

Reading Time: 5 minutes

Reballing GPUs seems to be what all the cool kids are into these days. They make the claim that a dead GPU can be repaired by reballing it. What they aren’t telling you, or don’t realise themselves, is neither did it need reballed nor is it now repaired. Maybe it’s the easy money or maybe they just like the temporary smile on the customer’s face. Lets not beat about the bush though – it’s bollocks and don’t pay for it.

bga

When a high performance chip, such as a GPU, is working hard it heats up. It heats up because it’s drawing high current and the energy dissipates as heat. When it’s off or idle it cools down. Over time this constant change in temperature causes its internal circuitry to start decaying. At high temperatures the tracks (or ‘bumps’) in a flip-chip design BGA chip physically deform and you end up with a dead chip.

Read More »