Sunday, January 7, 2024

Web-based free Unix tools

If you are wondering where to find a lot of free online Unix tools, like base64 enconde/decode, URL encode/decode, SFP, MX and nslookup tools, traceroute and so on, look no further:


Happy New Year folks!

Sunday, March 13, 2016

Fiverr - The Ugly, the Bad and the Good

So, news is, after being active on some freelancer sites for a while, I've ended up on Fiverr as well. I won't just moan about their features, but try to go through the experiences with the site as an IT/networking guy.

The primary concern that people have with the site is the fee they charge: 20% from the freelancer, and another ~10% from the client, which is less publicized. Now, it doesn't quite add up to 30%, as folks like to quote it, as strictly speaking they charge the client $5.5 for the job (gig), and you get $4, so they keep $1.5. Now, calculator says, $1.5 is 27.27% of $5.5, but details. Anyway, it's a fair bit higher as the 10% on Upwork or the 8.some% of Elance (soon to be gone). As Upwork charges flat fees for taking your money out, I expected Fiverr to be at least free on that part, which it is not, but at least it's cheaper.

Fiverr was designed with two things in mind: tiny ($5) jobs and creative professions. This is proving to be a major restraint on their growth to other sectors, and they're adding exceptions to the $5 base price as well.

Designing a -not necessarily good, original or legally safe- logo for a fiver seems like a reasonable job (I've used it, I've received an okay logo, which I don't think is a copyright timebomb), but for IT it's kinda hard to come up with a unit of work for this amount. With my average freelance rate, that's about 12 minutes of my time. And it's not timed, paid after-the-fact, like Upwork, but you have to give an offer for a final value. So you'd either tell the client that 'This will take 2 hours, please but 10 of my gigs as 12 mins is the timing unit', which sounds a bit funny, and you can't refund if you ended up doing it quicker, or you try to give a quote for the full work and hope it'll cover it. Trouble is, most clients don't even know exactly what they want (not news to us), so you can only hope you won't work a lot more for the agreed price, or overcharge them, or just give a too high offer and they bail.

Also, during the offer phase, there's potentially a lot of back-and-forth, typically consulting-level discussion while scoping out the project. Now, lots of messages/emails are nothing new, but it can be hard not to start asking for money for the level of support provided before even an offer is made, let alone accepted.

Extras can increase the price to a point, but in some parts it can feel like you're taking the client as a hostage during the upsell process: "Sure, you've paid $5 for the logo design. Oh, you actually want to receive it (in vector format)? That's another $10 please!" It was written in the terms of the guy, but still feels a bit weird.

Communication: Fiverr explicitly forbids direct communication between client and freelancer, and the messaging system displays a red warning on words like 'phone', 'mail', 'skype' or the @ symbol. Okay, we got it, revenue protection. For creatives, this may work, but I simply can't work on the device of the client without some communication tool like skype, teamviewer, remote desktop or anything. Basically it's impossible to do these tasks with this constraint, so it just gets disregarded.

To sum it up so far, I've worked a fair number of hours for a fairly low amount of $, due to unforeseen issues with projects, client jumping the gun and ordering the base gig and wanting me to save the world, but we live and learn.

The good: okay, so why am I still on the site? For a ridiculously simple thing, that's not even a feature, but the basic concept of the site: the clients are looking for a gig to buy. Yes, that is a big difference. Consider the daily routine on Upwork: check new job postings, filter interesting ones, filter out jokers, filter out too low priced ones, filter out cheap buyers, research remaining jobs, write an original proposal to each. Massive time-sink. Potentially worth it if you find good, stable, paying clients, but still. On Fiverr, the buyer will contact you if he/she wants something. You might not get contacted, but no time wasted. The buyer might buy from somebody else still, but at least you have a foot in the door, and so far it was fairly rare that somebody requested an offer and bought from someone else. And you don't need shiny 'cover letters', just to stand out, you can immediately concentrate on the actual details of the gig, give an offer and see if it works for the buyer.

I don't think the 'Gig economy changed his life and bought a yacht from Fiverr money' will apply to me, I work for a lot less than usual on the platform, but at least it's not wasting too much of my time, for which I'll stay for a while.

Saturday, May 9, 2015

iStock keywording rant

A few months ago I've decided to start contributing to iStock. I'm not much of a photographer, but the thinking was: I can get to some places which might be interesting for others.

So I've started uploading pics of pretty datacenters, 10Gig switches and the likes. And keywording these accurately for what they are, being as specific as I can.

One thing I've noticed from the most downloaded photos is that they have all the keywords in the world, which have nothing to do with the photo, kinda like websites in the early 2000's having everything up to and including 'sex' and 'mp3', because they were popular search term.

The title pic is a very nice patchpanel, from the Signature collection of iStock.
Now let's check out its keywords:

Computer Network, Node, Cable, Fiber Optic, Router, Computer Cable, Communication, Wireless Technology, Business, Telecommunications Equipment, LED, Network Connection Plug, CPU, Control Panel, rj45, Control Room, isp, Power Line, Internet, data center, Computer Part, access point, Equipment, Light - Natural Phenomenon, Close-up, Wired, Network Security, Network Server, Modem, Rack, Midsection, Number, Connection, Support, Concepts, White, Blue, Black Color, Ideas, Technology, Macro, Computer

Most of them are far fetches, the weirdest are in highlight. Is this any use to anybody at all, from the buyers side? Buyers really never search for specific terms and they never know anything about the brands/devices they're looking for? I'm not that convinced, but I'm a novice on the platform, so maybe so. Comments are most welcome.

In the meantime, I've started to collect brand-specific lightboxes, maybe they'll be some use to some folks:

Cisco switches lightbox
HP switches lightbox

Wednesday, March 4, 2015

How to deny Postfix SMTP authentication from non-US clients

As the war on spam continues, one of my clients wanted to only provide SMTP AUTH capabilities to IP addresses in the states, as their employees are only located there anyway.

Postfix has a facility for this, called smtpd_sasl_exceptions_networks. It basically denies SASL auth to IP's from the specified ranges. Disregarding IPv6 for now, here's a list of IP ranges from IANA that are non-US (ARIN) allocations:

smtpd_sasl_exceptions_networks = 0.0.0.0/7
  2.0.0.0/8
  5.0.0.0/8
  10.0.0.0/8
  14.0.0.0/8
  25.0.0.0/8
  27.0.0.0/8
  31.0.0.0/8
  36.0.0.0/8
  37.0.0.0/8
  39.0.0.0/8
  41.0.0.0/8
  42.0.0.0/7
  46.0.0.0/8
  49.0.0.0/8
  51.0.0.0/8
  53.0.0.0/8
  57.0.0.0/8
  58.0.0.0/7
  60.0.0.0/7
  62.0.0.0/8
  77.0.0.0/8
  78.0.0.0/7
  80.0.0.0/4
  101.0.0.0/8
  102.0.0.0/7
  105.0.0.0/8
  106.0.0.0/8
  109.0.0.0/8
  110.0.0.0/7
  112.0.0.0/4
  133.0.0.0/8
  141.0.0.0/8
  145.0.0.0/8
  150.0.0.0/7
  153.0.0.0/8
  154.0.0.0/8
  163.0.0.0/8
  171.0.0.0/8
  175.0.0.0/8
  176.0.0.0/4
  193.0.0.0/8
  194.0.0.0/7
  196.0.0.0/7
  200.0.0.0/6
  210.0.0.0/7
  212.0.0.0/7
  217.0.0.0/8
  218.0.0.0/7
  220.0.0.0/6

Tuesday, December 30, 2014

ARCH Linux on a WM8850-based mini laptop

One of my purchases earlier this year was a mini laptop, powered by a Wondermedia WM8850 chip.



It's kinda handy: runs Android/Linux selectively, has a HDMI interface, wired Ethernet and fullsize USB 2.0 ports. Also, it can be charged from USB, tablet style.

Quirks include no HDMI on Linux (yet), and it takes a bit of effort to turn on the wireless. Missing the gpio binary, you can get there by using the sysfs interface:

echo 6 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio6/direction
echo 1 > /sys/class/gpio/gpio6/value


Just echo 0 there to turn it off again.

Compiling a kernel needed some scraping on the web, but can be done like this:

cd linux-3.16
nice make ARCH=arm menuconfig
nice make ARCH=arm zImage
cat arch/arm/boot/zImage arch/arm/boot/dts/wm8850-w70v2.dtb > arch/arm/boot/zImage_w_dtb
mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "My Linux" -d arch/arm/boot/zImage_w_dtb ~/uzImage.bin
make ARCH=arm modules
sudo make ARCH=arm modules_install


The kernel config is online here.

It works happy with a 8GB SD card and adding a bit of swap can't hurt as the 512MB of RAM is not that much.

Thanks for the vt8500 developers!

Monday, December 29, 2014

HTML5 video live streaming with ffmpeg and mediaelement.js, Round 2

Follow-up from this summer to the original post.

So, after not rolling out our HTML5 player last year, we've decided to give it a go again this year.
What we've learned: things have changed in Internet-land.

IE no longer requests or supports WMV anymore, which is weird but actually correct. It takes mp4 now as default.

Chrome was still ticking along happy.

Firefox was a big surprise: between version 19 and 20 they've reworked the HTTP engine, so it's a bit quirky now:
  • It fetches the first 8k for metadata in a request
  • It uses HTTP 206 Partial content requests now
  • If it doesn't get an X-Content-Duration, it'll send a new partial request for the end of the file. As it's transcoded on the fly, this is bad for us.
So, we need to give it:
  • HTTP 206 headers
  • Range headers
  • X-Content-Duration headers (in seconds)
This can be done with something like this:

$ua=$_SERVER['HTTP_USER_AGENT'];
$useragent='generic';
# match Firefox 1-19
if ( preg_match('/Gecko.20.*Firefox.(1){0,1}[0-9]\./', $ua) ) {
    $firefox19=true;
}
# match all Firefox
if ( preg_match('/Gecko\/.*Firefox.[1-9]/', $ua) ) {
    $firefox=true;
}
# if Firefox 20-
if ($firefox && !$firefox19) {
    $useragent='ff20';
}

# generic headers
if ($useragent=='generic') {
#header("HTTP/1.1 200 OK");
#header('Content-Disposition: attachment; filename=' . basename($file));
}

# firefox 20+ headers
#   firefox 20 wants partial content with code 206, and likes X-Content-Duration
if ($useragent=='ff20') {
header("HTTP/1.1 206 Partial Content");
header("Range: bytes=0-");
header("X-Content-Duration: $totduration");
}

I couldn't get the Flash fallback of mediaelement.js working and Silverlight was killed by Microsoft, so mediaelement.js was taken out from our setup, with a manual Flash fallback link.
We've also noticed A-V sync issues with ffmpeg, so deployment was pulled again, but we're making progress.

Thanks to Browserstack, for making life easier while testing.

Sunday, December 28, 2014

Linux, Network and Datacenter contractor/freelance engineer in Dublin

New year, new-old adventures:

I'm moving back to the contract/freelance market, this time in Ireland. I'll be available as a Linux, networking and datacenter engineer in Dublin and Shannon (as necessary).

Certified to work on the following kit (the list is not exhaustive):
- Cisco
- Juniper
- Brocade
- HP
- D-Link
- Zyxel

For the full list and to contact, please check out my LinkedIn profile.
I'm happy to work through Elance, as it provides protection to all parties.
I have a nice Experts-Exchange profile as well.

Edit:

Now we do Facebook as well!

Edit2:

The website is live: d8ns.com.

Friday, March 28, 2014

JavaScript hype, code ninjas and why does it hurt

After watching some young IT guys in the office, spending the last weeks in jQuery hell, and reading Lincoln Baxter III's article on JS vs Perl and talking to some similar-aged guys, I think I'm starting to understand that this is a generational thing really. Mind you, I'll only turn 31 in a few weeks...

The problem is, JavaScript ain't bad, it's just not good. And it fully supports making it worse. It's been almost 20 years that it popped up us a good idea, needing a lot of refinement, but it managed to stick around. It would be okay to write some small functions in it, but writing full-blown applications like Google Docs or Facebook in a high-level script language? There's a reason we never did that in .bat files either...

On the other hand, as Lincoln points out, JavaScript is superior to any other clientside languages by the virtue of existence. There's nothing else out there: VBScript died, Flash is going away fast, the new things are in development. Normally, high level languages don't really survive 20+ years, or at least not without major refactoring.

It doesn't really help that our new startup-hype culture now worships programmers as code ninjas and other ridiculous names: it's getting into the heads of these cool kids. It seems like a good idea to name their function a dollar sign, or their method an underscore, because it's short and cool. I'm kinda thankful that the full UTF32 set or Wingdings is not permitted for use...

Why might this be a problem? I'm a sysadmin and as such, I'm trying my best to make things work: debug stuff, help developers deploy their apps, the works. I need to debug all kinds of languages, which isn't really a problem, as there's a few control structures and functions to any language, mostly in English. Debug PHP, Perl, Python, even Ruby? Sure, can do, worst case I read the manual a bit. Enter JavaScript: with vanilla, it's actually pretty okay:

var myElement = getElementById("navdiv");

I expect that it'll get, an element, by its ID. See, I know this, a bit of html: things will be fine.
Cool kid notation:

tmpl: _.template($('a').html()),

Say what...? There's more special characters in there than letters... I'm used to that if I read kernel C code, or a Perl regex, but not on some little validation function or something. If I don't have a fairly intimate knowledge about underscore.js and jQuery, which I won't necessarily have, don't expect me to help you out there if it breaks during deployment...

Or declaring a function inside a function call, that in turn calls a function, just because we can:

Todos.each(function (todo) { todo.save({'done': done}); })

Sure, we've saved 2-4 newlines. Who's going to maintain this code 5 years later? Or startup-land really only thinks in the first 3 years and 2 whiz-kids and they don't believe in this enterprise scale thing? If you really are the next Zuckerberg: he needs to maintain stuff after the IPO too.

The moral of the story? No such thing this time, we'll see what'll happen with the new tech bubble, the code ninjas and JavaScript. I still don't really like them and possibly never will.

Wednesday, March 5, 2014

Using an Android tablet as a desktop workstation - the diary of a day

I'm considering to replace my 10" work netbook with a tablet, to increase portability and decrease weight. Normally I'm using my netbook with a 21" TFT, keyboard and mouse, with wired networking.

After ordering all the necessary gadgets for my 7" Nextbook tablet, today I tested a full day with it:

The tab has a mini-HDMI output, in the office we only have DVI monitors. The ordered miniHDMI-HDMI and HDMI-DVI cables didn't work with my usual Dell monitor, but did with a Samsung I borrowed. USB OTG connectivity to a USB-PS2 adapter to my keyboard/mouse works perfect. Happy so far, let's start the day. Output is actually 720p, and not perfectly full screen on the Samsung. Displays are cloned, so I pretty much waste the 7" extra realestate there, but that's okay for now.

The stock Android email client could be better, I might install K9 on the tablet too. Still, an issue: not sure if I can move emails between my 3 accounts. As I receive ebay/paypal stuff for company purchases in my Gmail, this is a problem for me, but we'll see.

Chrome and Firefox work as expected, OTRS and the UniFi controller interface are just fine, with the exception of Flash parts. LinkedIn doesn't want to present me the desktop site, even if I request it.

Linux commandline: I'm spoiled with options. Connectbot works okay, I still prefer the Android terminal emulator. SSH would work okay, but it lags on the public wifi, so I set up a temporary wifi for it. Few character issues with a remote MC session, but nothing I can't live with. Trying to SCP a file locally is a problem: SCP segfaults and dies with permission issues. No root on the tab, no fixing that for now. Workaround with some SSH tricks, but this could be a problem.

Remote desktop: official Microsoft RDP client, connects to 2003 and 2008 fine, but can't set the resolution. I get some 1400x1200 desktop, zoomed down so I can barely make out the fonts. Took me 5 mins to find the zoom button, which blows it up to 200%, so the scrolling game begins. This'll need some work, possibly another client.

Just as I was trying to size up the internal storage (5GB free, okay for now), the next package from China arrives: the powered USB hub. This would be for connectivity with pendrives and HDDs. Plug, plug, no joy: nothing's working through the hub. Tested the hub with a Linux PC, works perfect. Tested 2 unpowered hubs with the tablet, same thing: no support at all.

Next up: I'll need to print an Excel sheet. Let's not even go there, 15 minutes with the netbook as a break...

Editing an XLS from Dropbox with Quickoffice has some issues, it can't save transparently back to Dropbox, I'll need to download-edit-upload. It would be seemless with Google Drive. Copy-pasting from a Word dock in Quickoffice into Google Drive fails bad: copy-paste doesn't work and I can't go back to the docx, I'll have to open it again every time.

Wrapping up the day with emails and light browsing works fine, no issues.

Verdict: I won't be taking the laptop to holiday in the future, but Android is not desktop ready just yet. Emails are kinda okay, the hub is a problem, rooting might make things better, printing might be a brave adventure, window switching can be painful. I might actually try a Win8 tablet if I have a chance.

Monday, February 24, 2014

Privacy and service: Dropbox vs. your NAS (OwnCloud)

Just some rambling after reading through the comments on the Dropbox blog, after the change in the Terms of service:

I don't really like the idea of the NSA/CIA/ABC peeking at my family photos, but I decided that I can live with it. A good point in the posts was that it's everybody's own decision if this is something they can live with, or it's too much for them, in which case they should just stop using the service.

But I think two things were mixed together in the conversation, which are actually separate: the 'important' and the 'private' part. Both of these are up for individual choice, but they might (based on decision, again) get different treatment.
Example: my family photos are important to me; those moments can't be re-created. I want them to be safe. But they aren't really private (no nude shots of me, etc.), so no need to encrypt them, Uncle Sam can watch them for all I care. On the other hand, my bank/tax statements: they are decidedly less important to me, on a nice-to-have level, but I do consider them private: I encrypt them before storing them in the cloud.
Classifying every piece of your data is up to you: everything can be important and everything can be considered private. It's up to you how you deal with these cases technologically.

One of the arguments is that instead of using Dropbox/Google Drive/SkyDrive, people fire up their own NAS at home (there's this nice new product called OwnCloud, or you can go with good ol' FreeNAS). That's perfectly fine, we've loved NAS systems for the past 20 years, just 2 tiny issues:
- Just because it's your own computer on the Net, it's not a 100% secure. If Big Brother wants to, they'll find a way to break it;
- A NAS at home is not cloud. You are doing apples and oranges here, when you compare the services provided by them.

A bit detail on the second one:
If you go with the actual meaning of Cloud computing, not just calling everything cloud that's connected to the Net, you have a few important characteristics:
- Reliability: If it's your NAS box in your home with a one or two ISP uplinks, with or without a UPS to power it, it might not provide 99.999% uptime. Also, do you have an enterprise grade point-in-time backup system for it? Harddrives will fail, be ready. Somebody might break into your house (not a conspiracy, just a regular Joe) and take it.
- Maintenance: Don't forget to keep the firmware up to date, keep it dust free, replace harddrives as they fail.
- Security: let's not even go there.
- Scalability: you'll have a nice up front cost, and you might have to pay up to replace the harddrives with bigger ones again.
- Cost: economy of scale. Although storage is the worst use for cloud in this sense. With European energy prices, it costs a conservative $5 a month to run 30W of electric load. If harddrives fail every 5 years and they cost $120, that's $2.4 a month. I assume your NAS has at least 2 of them (you really don't want to run without RAID mirroring at least), that's $4.8. That's $9.8 a month total, with very basic maths, not calculating with time-value of money, ISP costs, etc.
- Device and location independence: with the new generation NAS software on the market, this is doable.
- Performance: minor issue, you might not want to host your NAS on a dialup or DSL connection, but otherwise it's okay.
- Agility: you most likely won't ever reprovision your NAS, so it's okay.

Bottom line: your data should be yours, classify it as you wish, choose the technology accordingly, but know what you're getting in each case.

Saturday, February 8, 2014

Contacts from Android to Nokia Symbian

After getting a bit fed up with Android again on my secondary phone, I decided to move back to my trusty old Nokia 3110c, as it just f--_finely works. So I had to copy my contacts back.
The online Google Contacts page lets you export in CSV or vCard. CSV doesn't work with Nokia PC Suite (it might with some Excel magic), so I went with vCard. Problem is, PC Suite only imports 1 vCard/file, and Google exports all-in-one. After a quick unhappy Google, I came up with the following PHP commandline script to chop it up. It's ugly, but works... It takes the input from STDIN, and outputs to the folder specified in the code.

#!/usr/bin/php
<?php
$filenum=1;
while ($SOR=fgets(STDIN)) {
 if (strstr($SOR,"BEGIN:VCARD")) {
     $filep=fopen("/home/tamas/temp/".$filenum.".vcf","w");
     echo $filenum."\n";
 }
 fwrite($filep,$SOR);
 if (strstr($SOR,"END:VCARD")) {
     fclose($filep);
     $filenum++;
 }
}
?>
Usage:
$ cat downloaded.csv | php vcardchop.php

Wednesday, January 29, 2014

Installing a new Windows 2000 box in 2014

Sometimes, you just have to do it. You know that upstanding citizens would frown upon you. Your friends tell you it's not worth the risk. Your spouse looks at you in horror. But you still can't escape, you have to do it. You have to do a fresh install of Windows 2000, even in 2014.

In my case, it was a legacy printing system which doesn't even play ball with XP. The SP4 installation went fine onto a HP dc5100 SFF, drivers loaded okay, the printers and the print software installed without problems. Test pages were printed, but Windows 7 clients couldn't access the box. My guess was the lack of NTLMv2 support, or possibly outdated CA certs. No problem, Windows Update to the rescue.

Or not, as Windows Update does not work on a fresh install of Windows 2000, which comes with IE 5.0. Explorer 5 only supports DES encryption, which is kinda obsolete, I'm not sure if you can even access the Windows Update website with it anymore. The order of the day was the following:

Google for a full installer of IE 6.0 (not SP1); I found one on oldapps.com:
-rw-r--r-- 1 user staff  77M 2014-01-15 11:25 ie60.exe



The small web installer on the MS download site will fail, so you'll need the full installer. It should install fine, reboot.
The downloads from now on mostly came from download.microsoft.com. First off a root CA pack from 2009:
-rw-r--r-- 1 user staff 312K 2014-01-15 11:25 rootsupd.exe

Next off was an update rollup, just to cut back on the downloads:
-rw-r--r-- 1 user staff  32M 2014-01-15 11:25 Windows2000-KB891861-v2-x86-ENU.EXE

And finally the Windows Update client 3.0 update:
-rw-r--r-- 1 user staff 5.9M 2014-01-15 11:25 Windowsupdateagent30-x86.exe

A few reboots later you should be able to access the Windows Update site and download about a 100 updates, more if you installed .net and/or Office.

As for modern browsers: IE6 SP1 is the max, forget Chrome, and Firefox can go up to version 12.
On the bright side: Windows 2000 is seriously fast on modern hardware...

Friday, August 16, 2013

Web page screenshot with Javascript, based on html2canvas

Last week I had to do some screenshots in javascript. I don't really know javascript, so I went with Google. It really can't be that hard... After an hour of copy-pasting non-working examples, I finally managed to come up with the following, that actually works in Firefox and Chrome, and it should work in Explorer 9 or newer.

Note: this is not my original work, just the result of an hour of Google. Most parts from html2canvas.

Full page html:

<html>
<head>
<title>
ScreenShot
</title></head>
<body>

<script language="javascript" src="http://html2canvas.hertzen.com/build/html2canvas.js"></script>
<script language="javascript">
function ScreenShot() {

html2canvas(document.body, {
  onrendered: function(canvas) {
    var img = canvas.toDataURL()
    window.open(img);
  }
});

}
</script>

<input onclick="ScreenShot();" type="submit" value="ScreenShot" />
</body>
</html>



The important stuff (that worked in a Moodle HTML block):

<script language="javascript" src="http://html2canvas.hertzen.com/build/html2canvas.js"></script>
<script language="javascript">
function ScreenShot() {

html2canvas(document.body, {
  onrendered: function(canvas) {
    var img = canvas.toDataURL()
    window.open(img);
  }
});

}
</script>

<input onclick="ScreenShot();" type="submit" value="ScreenShot" />




Saturday, May 25, 2013

Ubiquiti Unifi POE (update for UAP-AC)

As Ubiquiti released the UAP-AC, here is a quick update to the older post:
  • The UAP-Pro does support standard 802.3af POE;
  • The UAP-AC supports 802.3at POE+. According to the datasheet, this AP uses 22W of power, and since standard POE can only supply 15.4W (at best), this baby really needs the max. 30W from POE+.
While the POE+ requirement might be a show-stopper for us, standard POE implementations are definitely the way to go for Ubiquiti.

Tuesday, May 21, 2013

Fun factsheet for HP Procurve 2524 and 2512 switches

To celebrate the release of the 5.77 software and our undying love for the Procurve 2500 series, here is a handy factsheet for the 2512 and 2524 switches:

  • These are layer 2 switches;
  • So they don't have DHCP snooping capabilities;
  • Nor any ARP inspection (DAI).
  • They can't do IP routing, or NAT.
  • Only 1 trunk interface is supported.
  • LACP is supported.
  • Traffic distribution over a trunk is based on MAC addresses.
  • No layer3 ACLs for switching. (Just for the control plane).
  • They have 2 hardware priority queues.
  • They only support L2 COS, not DSCP or TOS.
  • They support voice vlans, but only for QoS purposes, not signaled in LLDP/CDP.
  • They support RSTP, not MSTP.
  • They do support LLDP, but no LLDP-MED.
  • They support CDP in receive-only mode.
  • They support GVRP.
  • They do not support POE.
  • They use the same software as the unmanaged 2300 series.
  • They use the same expansion modules as the 2300 series.
  • There is a proprietary gigabit stacking module for these switches.
  • They can be "stacked" in a master-member fashion, but don't expect much.
The next possible feature of the series might be the 2600 series, which also received new software in December.

Sunday, May 19, 2013

Cheap certifications to help start your IT career - episode 1

Okay, I know the title sounds dodgy, but I'm not going to sell you anything. Not cheap exam PDFs, not braindumps, nothing.

Getting a BSc or MSc takes years (and money), and sitting exams for major certificaions (MCSE, CCNP, etc.) also takes time and also costs decent money.

The following is a list of fairly easy and cheap entry-level IT certificaions, to get you started. The list is not comprehensive, so look out for follow-ups.

Microsoft
If you want an MS certification, the MCSA is not your only option. Gettign a single MCTS (Technology Specialist) is better than nothing, and the new MTA (Technology Associate) certifications -while aimed mostly for students- ain't too bad either. They are around $120 in developed countries, and around $75 in developing countries (including East-Europe). MTA topics include server OS, networking, security, .net development, etc.

Servers: HP
HP offers free web-based training and non-free exams for its servers and networking tracks. Look for the ATA and ATP levels, where "HP2-" exams are needed on ExpertOne. One exam costs around $20, but this information is a bit old.

Networking:
Brocade
I do admit, I'm a bit biased towards Brocade at the moment, as I'm getting ready for my BCLP. Still,they offer free training material and $20 exams for their accreditations, which is nice. For details, see this previous post.

Zyxel
While not the most recognized networking vendor in Europe, they do some serious stuff, and you can get several ZCNP certifications (training+exams) for free at their education website. Certification tracks include switching, security, FTTx, xDSL, VoIP, WiMax, etc., so it's fairly diverse.

Juniper
Now Juniper is a recognized player in the networking field, and with their fast-track program, they offer free web-based training and 50% vouchers for some exams, so they are below $100.

So even if you're coming from the east, with not a lot of cash to spare for exams, you can still make do. Also, look out for offers from anybody, so check their facebook, linkedin, website and whatever else they have.
If you have more recommendations or recent experience with these, comments are always welcome.

Thursday, May 9, 2013

Brocade BCLE and BCLP news

To celebrate my achievement of getting the BCLE, Brocade decided to retire the certification and also refresh the BCLP 2010 to BCLP 2013. The BCLE will be incorporated into the BCLP 2013 and the Internetworking Track will be re-designed a bit with a possible new certification.

If you're interested in getting BCLP certified, be sure to visit the Brocade communities in the near future.

Recommended study materials include:

ServerIron ADX 12.5 Administration Guide 53-1002682-01
ServerIron ADX 12.5 Advanced Server Load Balancing Guide 53-1002683-01
ServerIron ADX 12.5 Firewall Load Balancing Guide 53-1002684-01
ServerIron ADX 12.5 Global Server Load Balancing Guide 53-1002685-01
ServerIron ADX 12.5 Multitenancy Guide 53-1002693-01
ServerIron ADX 12.5 NAT64 Configuration Guide 53-1002690-01
ServerIron ADX 12.5 Security Guide 53-1002686-01
ServerIron ADX 12.5 Server Load Balancing Guide 53-1002687-01
ServerIron ADX v2.0 ARB Admin Guide 53-1002509-01
ServerIron ADX OpenScript Programmer's Guide 53-1002691-01
Best Practices for High Availability Deployment for the Brocade ADX Switch GA-BP-453-00
CLE 202 Course
CLP 240 Course
ADX-TS 300 Course

Tuesday, April 23, 2013

Brocade certifications, with spotlight on the BCNE and BCNP

If you are coming from the wild east, chances are you have problems with paying loads for certification exams: a CCNP can easily cost 3 times $150. And if your company doesn't pay for it, but instead it comes out of your lunch money, this can hurt. Been there, done that, wasn't funny.

Good news is, more networking vendors are starting on the "fast-track" course, providing you with short and cheap options to migrate your CCNA to their gear. Brocade is no exception, and they are still running the course, where you get BCNE training+exam for $100. I even blogged about this a while back.

Brocade has two levels of certifications: Accreditation and Certification.
Accreditation exams include the IP Specialis (BAIS), the Campus Networking Specialist (BACNS), WLAN Specialist and my new favorite, the Physical Security Specialist, which I consider a fresh, new and actually useful thing. These are basically web-based exams for $20. Fair enough.

Certification exams are the usual drill: proctored by Pearson VUE, multiple choice and they cost $150. Here comes the good part again: once you have a few of accreditations, you could join the various Brocade certification groups on LinkedIn; I assume you're already a member and all. Now this is where things happen: sometimes you can get deals on certification exams. So far I managed to get all 3 of my certs for free (with 4th possibly on the way), which I consider fairly cheap. Also, the guys are fairly helpful if you need help with your exams.

Training material: Brocade University runs some free web courses, and free assessment tests for the certification exams. Other goodies include "Nutshell" study guide PDFs and documents on the MyBrocade pages. Also recommended is the old Foundry mailing list, and possibly picking up an old FWS24 on eBay, as they are dirt cheap and decent boxes.

Disclaimer: yes, this has been a partially sponsored post, but it's good for you, so it's okay.

Sunday, April 14, 2013

Resilient backbone with stacked 3Com 4050 and D-Link DGS-3324SR

As part of our network resiliency project, we decided to deploy a redundant trunk connection between the main and secondary server rooms. The main room houses our core 3Com 4050 cluster, and the secondary has a pair of D-Link DGS-3324SR boxes. Both of them support multi-chassis trunking, which is very nice of them.

3Com 4050 clustering

The 40x0 series supports the 3Com XRN stack technology, which can be implemented for long-distance on a GBIC, or short-distance with an XRN fabric module (which we use). Here comes the XRN fabric FAQ:

  • The fabric bandwidth is 8Gbps;
  • Link aggregation (trunking) uses IP-based hashing, or falls back to MAC-based hashing. It's not configurable;
  • Distributed link aggregation has "Intelligent Local Forwarding": it tries to avoid using the fabric link if possible. If a frame was received on switch1, it'll use a link aggregation member link on switch1, not on switch2. This can lead to some asymmetric traffic flows.
When building the stack, you're best off with the new member reset to factory defaults. I actually had to reset both members, as I had some issues when entering the Bridge/Vlan menu, and it crashed both CLI and GUI. I had the same issue with some 3Com 4400 stacks.

D-Link DGS-3324SR cluster

This platform supports clustering more than 2 switches, using HDMI-like stacking cables. You can use linear or loop topology. Stack bandwidth is 10Gbps.
Multi-chassis aggregation is supported, I just had some issues with the 'traffic segmentation' feature. The GUI only reported "error", the CLI was more helpful. Traffic distribution can be configured system-wide for a combination of MAC/IP, source/destination/source+destination. No such thing as the 'ILF' on the 3Com, traffic will leave the ports based on the hash.

Plugging in the wires

Both switches support LACP and static, I went with static. I had some RSTP issues earlier between them, so vlan1 untagged on both sides is a must, even if you use something else as the management vlan. I even managed to achieve extra redundancy by not using the same 8 core fiber for both connections, but routed one of them through another building.

Monitoring

The 3Com provides an SNMP object for the XRN fabric interfaces, so you can monitor the bandwidth of the stack link (no such thing on the DGS), but it won't provide an SNMP object for the aggregated AL1-13 interfaces. MRTG can be configured to do basic arithmetic, so you can measure the bandwidth of multiple aggregated links together.

Sunday, February 10, 2013

HP MASE (and ASE) Networking practice exams

While still working on my ASE and MASE certifications, HP sent some good news into my inbox a few weeks ago: online practice exams!

Not free, but not too expensive: $50 for "developed markets" and $20 for "emerging markets", based on your login IP; you can take them 5 times within 1 year.

At the moment they only have 2 exams for the MASE level, but I'd guess if you ace your MASE practice, chances are you'll manage your real ASE exam just fine.