Posts Tagged ‘Networking’

Cisco Catalyst 3550 Fan Mod

Tuesday, August 16th, 2011

First of all, the usual warning: I take no responsibility for any harm done to yourself or your equipment if you decide to take my lead and mod the fan on your switch. It’s your fault for listening to some guy on the Internet you’ve never met.

A little while ago I acquired some old 3550 switches from a friend, and I haven’t used them much because they’re horrifically loud. Recently though, I decided to try and make them quiet enough to leave on in the living room. While I didn’t succeed, I made enough of a difference that I thought it might be worth sharing.

Please note that this mod isn’t going to work if your switch is a) under warranty; b) installed in an equipment rack with hot/cold aisles; or c) you don’t like taking the cover off equipment that has 240v inside.

Basically, the gist is this: The fan inside the switch has a cover on it. By removing half of the cover (the half that isn’t attached to the fan motor) and then mounting the fan upside down, you reduce the vibrations of the fan’s casing. Please also note that the outlet fan is thus turned into an intake fan; it takes cold air from the back of the router and blows it over the power supply unit.

The finished fan installation. Much quieter!

Research on the Internet (#cisco on Freenode and some forums) led me to decide that complete removal of the fan wasn’t an option, due to the switch overheating. I then wanted to replace the fan with a quieter computer fan, but the connector, though the same, is wired differently. Though I own (and can operate) a soldering iron, I’m also quite lazy. Turning the fan upside down (as suggested by a friend) was much easier!

Update 2011-08-17: I initially tried this with my non-PoE switch. Today I tried this with my PoE switch and tested it running a few PoE devices. It quickly overheated, so I don’t recommend this with the PoE (inline power) models.

TP-Link Homeplug AV200 Review

Wednesday, June 15th, 2011

A few months ago I moved in with my girlfriend (yay! :D ), and this necessitated the moving of all my computer equipment to her house. At my old place, I had strung Ethernet cables all down the hallway between the various rooms, and although aesthetically unpleasant, certainly did the trick. Moving in with my girlfriend meant I could no longer have the freedom to string cables everywhere. It looked horrible, somebody was going to trip on something eventually, and being in a rented house meant that we had to keep the place looking half-decent (Ethernet cables, surprisingly enough, are not everybody’s idea of a home decoration). So what to do?

My first thought, naturally enough, was to hook up some wireless adapters. This plan worked very well for one area of the house (where my server rack now sits), but horribly for another (where my desktop is). I read about the new-fangled Homeplug idea, which involves sending Ethernet frames over the AC power network in our home. I was dubious, but intrigued; Homeplug seemed to be the solution to my problems, in theory:

  • Turns existing cables that are in every home into a computer network.
  • Doesn’t use up valuable space in the wireless spectrum.
  • Devices can just plug in via standard Ethernet, without the need for drivers.

Of course I decided to give it a go! I hurried on down to my local computer store and bought myself a pair of Homeplug adapters, these ones made by TP-Link (who, despite being Chinese owned and operated, make some excellent equipment). I plugged one in near my router and cabled it in, and plugged the other end in near my desktop computer. Unfortunately I had to plug it in via the powerboard due to the size of the adapter, but according to the documentation makes no difference. I immediately noticed several problems:

  • The network is slow. Very slow. The theoretical speed of these Homeplug adapters is 200 Mb/s straight out of the box, which should compete with 802.11n very nicely. The real speed I got was 10Mb/s, which is slower than the Internet connection we have. Not good.
  • The whole Homeplug network is a single collision domain. For the un-Ethernet-savvy, this basically means that the 10Mb/s I mentioned above is shared between every device plugged in via Homeplug, instead of standard Ethernet where every device would get 10Mb/s to itself.

Worst of all though, was this:

  • If my desktop was plugged in via Homeplug, every two or three seconds, for no reason other than that Homeplug was plugged in, my computer would freeze. I have no idea why. I reinstalled Windows and used a different Ethernet adapter, and it made no difference at all. On the other hand, Homeplug worked absolutely fine in every other computer I plugged it into.

In the end, I couldn’t stand my computer pausing every three seconds to think, so I gave up on Homeplug (I handed the adapters to my housemate, who is successfully using them to plug a wireless black-hole in his bedroom). I’m now using a top-end wireless adapter and a strong aerial, and it seems to be working.

As an aside, I read that Homeplug does have serious security issues in it’s out-of-the-box configuration. You have to set up something similar to wireless network security in order to prevent your neighbours from connecting to your Homeplug network.

Basically, the short version is this: Homeplug is an awful idea, and avoid it if at all possible. Just use wireless, which is faster and far better tested. But if you are going to buy a Homeplug adapter or two, buying the TP-Link models isn’t a bad idea, they’re pretty decent.

linux.conf.au 2011 – Day 1

Monday, January 24th, 2011

Today was the first proper day of linux.conf.au, which is being held this year in Brisbane. This morning we were treated to a welcoming speech by conference organiser Dr Shaun Nykvist, and a presentation on the Google Summer of Code happening this year. In the welcoming speech, Shaun detailed how the organisers and volunteers had to work against water and time to get the conference ready despite Brisbane’s horrific flooding:

“I’ve got some lovely photos of our old venue with sandbags against the flood zones. It’s a shame the sandbags were about three metres lower than the water.”

After morning tea (some very lovely cakes and biscuits were provided) it was time for the Miniconfs. During the morning session I attended the Open Programming Miniconf, organised by my friend Chris Neugebauer. The first talk was about perl5i, which is a package of library modules for perl that makes it an almost usable language (almost, I don’t think that there is anything can truly save it). It was very interesting stuff, seeing how the syntax and semantics of a language can change. The speaker (Michael Schwern) was brilliant as well, which is always nice.

The next talk was about the F# programming language, designed by Microsoft. Brian McKenna’s speaking wasn’t great (but it was his first big talk, so that can be forgiven). Although I dislike the idea of languages that run on top of runtimes (such as JVM and .NET), F# looks like a good invention. Indeed, it’s basically where Microsoft develops and tests features that might be useful to put into C#.

After that was a talk by Brianna Laugher on generating English-language text using software tools, from a set of data. She was using it as part of her job at the Bureau of Meteorology to automate the generation of weather reports from their models. The idea was hugely interesting, and something that I want to implement. However, I didn’t really understand how the generation itself worked… quite a few arcane symbols seemed to be in use. I think I got the general gist though.

The final talk before lunch was about Go, the programming language developed at Google. I originally thought Go was a programming language for children, but I’ve now been set straight. It looks like something to test out… which is being added to my very long list of stuff to try now.

After lunch I went to see two talks from the Haecksen Miniconf. The first was about how open source software can help save the world, mostly by developing open source software to fix natural disaster problems, and doing it really really quickly and cheaply. The second was about setting up an overly-complicated home network, an area with which I am well acquainted.

Then it was back to the Open Programming Miniconf, where I learned about the demise of Java (basically, the Java community is dead, but Java itself will probably survive, and the JVM will definitely survive). The final talk before afternoon tea was about how to create compilers for the JVM using a parser written in Scala. Unfortunately due to the use of Scala I lost most of the detail of the talk, it went straight over my head. Which is a pity, because I was really looking forward to that talk. Ah well, guess you can’t win them all. After all this though, I was really interested in designing programming languages and compilers. I might have to give it a go.

During the final session of the day I was treated to a brilliant talk by Adam Harvey, who is a PHP developer (i.e. actually develops the PHP interpreter) telling us about the state of the PHP language. It seems Debian Stable is hugely out of date… but this is nothing new. He’s a great speaker, and I look forward to hearing his talk tomorrow, even though I don’t know what it’s about.

Last up was Jethro Carr, a hacker from NZ I know from attempting to complete his 30 Days of Geek challenge. He talked about the software revision control management tool thing he wrote, and talked about the benefits of using such software. Personally I quite enjoy using Redmine, but it’s requirement for Ruby means that I might be looking for an alternative when I get around to setting up my own installation. Currently I use the Quokforge service, run by one of my friends on OSDev.org.

So that was day 1. Or rather, the official day 1. Since then I’ve bought a printer and been to an Irish pub. More LCA news coming tomorrow, I hope.

30 Days of Geek #5: Quick nifty hacks you’re proud of.

Friday, November 5th, 2010

I’ve decided to partake in Jethro Carr’s 30 Days of Geek challenge, so I’ll be writing a post a day on my geekiness for an entire month! You can find all the posts in one spot here.

Today’s post is in a very similar vein to yesterday’s post, so I’ll keep it short and sweet:

  • The very short C program that I wrote to remove all the spaces out of one of my teacher’s spreadsheets and turn them into tabs. I think I probably saved her hours of tedium.
  • The script I wrote that stored all my Microsoft product keys within itself. The bash script would accept a search pattern for a product name, and spit out a product key. Much easier than going looking for a physical box.
  • The numerous abuses of iproute2 I’ve made in the last few months, in the quest to make computer networking make sense. My favourite networking hack is this one (in /etc/network/interfaces):

    iface lo:0 inet static
    address 172.24.16.1
    netmask 255.255.255.255

    What it does is add in a second loopback address, not within the 127.0.0.0/8 block. Not original perhaps, but very useful for BGP routing.

Back at University

Wednesday, March 10th, 2010

Today, seeing that I haven’t done so for a while now, comes an update on my life.

I’ve just started my second year at university. My degree is supposed to be three years long, but I’ll stretch it out to three and a half because I failed stuff bigger is better. I’m still doing computing. This year comes one of the units I’ve eagerly anticipated: Algorithms. It’s programming in C, finally, after a year of Java. Also comes a not-so anticipated unit, ICT Project Management. It’s as dull as it sounds.

I’m not really sure why I’m at university. Mostly just because I can’t figure out anything else worth doing. I could go get a job, but having done that before, university seems much easier. I enjoy playing around with computers and programming, but I’m not quite confident that I really want a job as a programmer… I should probably figure that out soonish.

After resigning from Principal Computers again before I left to move to Berlin in July last year (which I ended up not doing, sadly enough), I’m now back there working Saturdays again. And I still jump every time the phone rings. Talk about Pavlov’s dog.

I’ve started playing around with Cisco networking gear again. This time I’ve got a 3550 switch, which strangely enough is more of a 24-port router than a switch. It can do some weird and wonderful things. I can’t wait to do the networking unit at university.