Spanning Tree Protocol

This is a quick note to help me understand STP with trunks.

Suppose you have two switches, switchA and switchB. They both have two trunks between each other. Say I connect nodeA and nodeB to switchA and switchB. I then send a packet from nodeA to nodeB on switchA. SwitchA …

more ...

Contact form 1

Your Name (required)
[text* your-name]
Your Email (required)
[email* your-email]
[text your-subject]
Your Message
[textarea your-message]


[submit "Send"]

[your-name] <[your-email]>
From: [your-name] <[your-email]>
Subject: [your-subject]
Message Body:
This mail is sent via contact form on Mike Pietruszka
[your-name …
more ...

Editing posts

Started reading through some of my old posts and noticed how many times I've eaten a letter or something didn't sound grammatically correct. Fixing all mistakes ASAP.

EDIT: I even managed to make a mistake in this post. I've spent too much time on the Internet today.

more ...

Automount logging on Solaris

Setting the Automounter daemon options has changed greatly in Solaris 11 (what hasn't?) and no longer requires editing /etc/default/autofs. It is all done in SMF, just like the network configuration.

Solaris 10:

chmod 644 /etc/default/autofs
vi /etc/default/autofs

Add the following:

# temporary …
more ...

"unreachable - admin prohibited" message in SNMP/tcpdump

Just a small, helpful tidbit:

If you ever see the following in your tcpdump while resolving SNMP issues (when isn't SNMP having issues?):

ICMP host HOSTNAME unreachable - admin prohibited, length 76

It basically means that your iptables is blocking SNMP. This one has bit me on multiple occasions on boxes …

more ...

Manually installing DBD::Oracle on Solaris 10

This was a major pain. Not only is DBD::Oracle a PITA to install in general, doing it on Solaris 10 will cause you to rage uncontrollably. In this post we'll install the module manually as there can be numerous instances when you don't have the Sun/Oracle Studio compiler …

more ...

SNMPv3 Trap EngineID

SNMPv3 traps are far superior to the SNMPv1 and v2c traps, as long as your network devices support it. SNMPv3 provides us with security that the previous SNMP versions do not offer (remember that SNMPv1 and v2c only use clear-text community names which can be easily intercepted).

Version 3 protocol …

more ...

NFS hanging on RHEL5

This is something I've noticed a few times lately on Red Hat Enterprise Linux 5 and I figured I'd post for future reference.

When mounting an nfs mount on a clean build of RHEL5, eg:

[code]sudo mount nfsserver:/home /nfsimports/nfsserver/home[/code]

You might notice that the client …

more ...

Resizing HFS+/Mac OS X volumes

This is just a quick snippet that I spent quite a bit of time researching.  It is easily possible to resize an HFS+/Mac OS X volume without using any other tools such as GParted or whatever.  Just open up the from /Applications/Utilities folder and run the …

more ...